Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002558/0.002558, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003007/0.003007, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.786e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.0077/0.007728, allocations: 4.98 MB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.01181, allocations: 2.074 MB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.0121, allocations: 16 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003634/0.01573, allocations: 1.481 MB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.01691, allocations: 433.1 kB / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.01941, allocations: 1.163 MB / 282.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009922/0.02041, allocations: 0.7703 MB / 283.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.02138, allocations: 0.5714 MB / 283.8 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006793/0.02206, allocations: 494.9 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.02258, allocations: 335.1 kB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.02269, allocations: 68 kB / 284.7 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/0.02352, allocations: 403.3 kB / 285.1 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.02369, allocations: 171.3 kB / 285.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.024, allocations: 259.4 kB / 285.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.0257, allocations: 1.265 MB / 286.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.0257, allocations: 4 kB / 286.8 MB, free: 3.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0257, allocations: 0 / 286.8 MB, free: 3.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.02571, allocations: 0 / 286.8 MB, free: 3.332 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00459/0.0303, allocations: 1.56 MB / 288.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.03035, allocations: 8.031 kB / 288.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.03308, allocations: 0.492 MB / 288.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.03336, allocations: 211.6 kB / 289 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.03343, allocations: 62.38 kB / 289.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.03358, allocations: 84.33 kB / 289.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1199/0.1535, allocations: 0.9271 MB / 290.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/0.1535, allocations: 6.844 kB / 290.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.1536, allocations: 31.94 kB / 290.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.1537, allocations: 21.38 kB / 290.2 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.1554, allocations: 0.7498 MB / 290.9 MB, free: 27.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.1598, allocations: 2.632 MB / 293.5 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1608, allocations: 0.5146 MB / 294 MB, free: 26.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.1612, allocations: 206.6 kB / 294.3 MB, free: 26.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.1613, allocations: 29.39 kB / 294.3 MB, free: 26.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1614, allocations: 43.06 kB / 294.3 MB, free: 26.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.154e-06/0.1614, allocations: 0 / 294.3 MB, free: 26.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005087/0.1664, allocations: 1.817 MB / 296.1 MB, free: 25.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1665, allocations: 89.69 kB / 296.2 MB, free: 25.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.1669, allocations: 431.6 kB / 296.6 MB, free: 25.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1669, allocations: 36.61 kB / 296.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.1671, allocations: 436.3 kB / 297.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.1673, allocations: 225 kB / 297.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.1675, allocations: 182.2 kB / 297.5 MB, free: 24.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1676, allocations: 0.5459 MB / 298.1 MB, free: 23.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.1682, allocations: 235 kB / 298.3 MB, free: 23.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/0.1689, allocations: 0.613 MB / 298.9 MB, free: 23.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1702, allocations: 0.8559 MB / 299.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1702, allocations: 2.375 kB / 299.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00171/0.1719, allocations: 0.8721 MB / 300.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1719, allocations: 11.16 kB / 300.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.1719, allocations: 8.094 kB / 300.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.1726, allocations: 113.5 kB / 300.8 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.1734, allocations: 182.6 kB / 300.9 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.175, allocations: 3.662 MB / 304.6 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.1755, allocations: 44.39 kB / 304.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.1756, allocations: 38.55 kB / 304.7 MB, free: 18.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002682/0.1759, allocations: 264.8 kB / 304.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.176, allocations: 58.02 kB / 305 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.1775, allocations: 0.676 MB / 305.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.1775, allocations: 5.906 kB / 305.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1775, allocations: 1.812 kB / 305.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1775, allocations: 7.266 kB / 305.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.1798, allocations: 1.329 MB / 307 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1798, allocations: 2.094 kB / 307 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.1803, allocations: 110.1 kB / 307.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/0.1809, allocations: 102.4 kB / 307.2 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.181, allocations: 17.86 kB / 307.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.1823, allocations: 3.656 MB / 310.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1823, allocations: 0 / 310.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.1841, allocations: 1.053 MB / 311.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.1842, allocations: 87.98 kB / 312 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.1843, allocations: 14.97 kB / 312 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.1847, allocations: 26.36 kB / 312.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1848, allocations: 54.41 kB / 312.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.1848, allocations: 18.92 kB / 312.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.185, allocations: 262.3 kB / 312.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.185, allocations: 32 / 312.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000715/0.1857, allocations: 188.5 kB / 312.6 MB, free: 12.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.0002745/0.186, allocations: 161.9 kB / 312.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.1875, allocations: 0.9861 MB / 313.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1875, allocations: 0 / 313.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.1882, allocations: 0.6415 MB / 314.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1886, allocations: 58.94 kB / 314.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.1907, allocations: 1.166 MB / 315.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1909, allocations: 281.2 kB / 315.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.1912, allocations: 88.41 kB / 316 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1914, allocations: 52.47 kB / 316 MB, free: 9.727 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1914, allocations: 0 / 316 MB, free: 9.727 MB / 266.7 MB Notification: Performance of Templates: time 0.01838/0.2098, allocations: 6.536 MB / 322.5 MB, free: 3.355 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.831887728068978]