Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108.2 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.145/2.145, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 52.86 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 49.44 MB / 350.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007134/0.1491, allocations: 2.869 MB / 352.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1514, allocations: 0.7556 MB / 353.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.1517, allocations: 4 kB / 353.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.152, allocations: 51.61 kB / 353.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.1526, allocations: 79.44 kB / 353.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.153, allocations: 95.86 kB / 353.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.1535, allocations: 378.4 kB / 354.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.1538, allocations: 111.5 kB / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.1542, allocations: 143.4 kB / 354.5 MB, free: 356 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1545, allocations: 171.2 kB / 354.7 MB, free: 184 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.1545, allocations: 24 kB / 354.7 MB, free: 160 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.1546, allocations: 20 kB / 354.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.1547, allocations: 71.69 kB / 354.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.155, allocations: 167.1 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1554, allocations: 299.5 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.1554, allocations: 4 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1554, allocations: 0 / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.1555, allocations: 0 / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001676/0.1571, allocations: 0.6393 MB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/0.1572, allocations: 8.031 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1574, allocations: 40.47 kB / 355.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.158, allocations: 272.6 kB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.158, allocations: 33.03 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.1581, allocations: 28.38 kB / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008788/0.159, allocations: 298.3 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.159, allocations: 0 / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.1591, allocations: 19.98 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.1591, allocations: 8 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.16, allocations: 250.5 kB / 356.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.1627, allocations: 1.116 MB / 358 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1633, allocations: 160.4 kB / 358.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.1636, allocations: 68.81 kB / 358.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.1636, allocations: 4 kB / 358.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.1637, allocations: 30.56 kB / 358.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.996e-06/0.1637, allocations: 0 / 358.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00328/0.167, allocations: 0.5979 MB / 358.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.1671, allocations: 51.41 kB / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.1676, allocations: 282.5 kB / 359.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1676, allocations: 33.64 kB / 359.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.1679, allocations: 231.5 kB / 359.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.168, allocations: 78.84 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.1682, allocations: 65.61 kB / 359.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1684, allocations: 334.8 kB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.1689, allocations: 95.92 kB / 360 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.1694, allocations: 196 kB / 360.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.1704, allocations: 305.1 kB / 360.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1704, allocations: 0 / 360.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001386/0.1718, allocations: 401.3 kB / 360.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.1719, allocations: 8 kB / 360.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.1719, allocations: 8 kB / 360.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.1723, allocations: 65.66 kB / 360.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.1729, allocations: 71.89 kB / 361 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.1761, allocations: 2.632 MB / 363.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.1766, allocations: 19.97 kB / 363.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.1766, allocations: 20.12 kB / 363.7 MB, free: 6.566 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.1769, allocations: 145.8 kB / 363.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.177, allocations: 27.66 kB / 363.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.1772, allocations: 30.17 kB / 363.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1772, allocations: 7.938 kB / 363.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1772, allocations: 0 / 363.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1772, allocations: 4 kB / 363.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.1779, allocations: 333.5 kB / 364.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1779, allocations: 0 / 364.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.1782, allocations: 39.97 kB / 364.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.1785, allocations: 61.61 kB / 364.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.1786, allocations: 4 kB / 364.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/0.1817, allocations: 2.632 MB / 366.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1817, allocations: 0 / 366.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1828, allocations: 382.2 kB / 367.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1829, allocations: 96.83 kB / 367.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.183, allocations: 4 kB / 367.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.1833, allocations: 19.97 kB / 367.4 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1835, allocations: 23.97 kB / 367.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1835, allocations: 7.938 kB / 367.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.1838, allocations: 194 kB / 367.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1838, allocations: 0 / 367.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007077/0.1846, allocations: 72 kB / 367.7 MB, free: 2.145 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.1848, allocations: 115.1 kB / 367.8 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.1862, allocations: 481.7 kB / 368.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1863, allocations: 3.938 kB / 368.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.187, allocations: 342.9 kB / 368.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.1877, allocations: 28.48 kB / 368.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1897, allocations: 0.7231 MB / 369.4 MB, free: 384 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2594/0.4491, allocations: 0.7706 MB / 370.2 MB, free: 24.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.4494, allocations: 23.12 kB / 370.2 MB, free: 24.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4494, allocations: 0.7188 kB / 370.2 MB, free: 24.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01735/0.4668, allocations: 5.986 MB / 376.2 MB, free: 24.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches