Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9516/0.9516, allocations: 173.3 MB / 201.1 MB, free: 8.977 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.342e-05, allocations: 5.969 kB / 268 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009274/0.009308, allocations: 6.577 MB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.01327, allocations: 2.335 MB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.01378, allocations: 24 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.01611, allocations: 1.995 MB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.01752, allocations: 0.7103 MB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.01911, allocations: 1.146 MB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.02034, allocations: 1.163 MB / 282 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.02138, allocations: 0.8214 MB / 282.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.02208, allocations: 0.7054 MB / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.02259, allocations: 490.7 kB / 284 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.0227, allocations: 100 kB / 284.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.02345, allocations: 411.3 kB / 284.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.02359, allocations: 254.9 kB / 284.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.02386, allocations: 391 kB / 285.1 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.02506, allocations: 1.172 MB / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02506, allocations: 0 / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02507, allocations: 0 / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.02508, allocations: 0 / 286.3 MB, free: 3.914 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003632/0.02872, allocations: 2.08 MB / 288.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.02876, allocations: 12.92 kB / 288.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.03081, allocations: 0.7297 MB / 289.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.03103, allocations: 258.9 kB / 289.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.0311, allocations: 94.95 kB / 289.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.03127, allocations: 128.4 kB / 289.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1227/0.1539, allocations: 1.029 MB / 290.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.154, allocations: 6.297 kB / 290.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.1541, allocations: 54.44 kB / 290.7 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.1541, allocations: 30.84 kB / 290.7 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.1554, allocations: 0.6483 MB / 291.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.1598, allocations: 3.225 MB / 294.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.1611, allocations: 0.9759 MB / 295.5 MB, free: 19.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.1616, allocations: 304 kB / 295.8 MB, free: 19.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1617, allocations: 35.94 kB / 295.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1617, allocations: 51.48 kB / 295.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.815e-06/0.1617, allocations: 0 / 295.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004637/0.1664, allocations: 2.406 MB / 298.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1664, allocations: 92.03 kB / 298.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.1668, allocations: 427.1 kB / 298.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1668, allocations: 47.42 kB / 298.9 MB, free: 18.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1671, allocations: 0.5139 MB / 299.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.1673, allocations: 449.3 kB / 299.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.1676, allocations: 245.1 kB / 300.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.1677, allocations: 0.5546 MB / 300.6 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.1681, allocations: 217.8 kB / 300.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.1686, allocations: 0.601 MB / 301.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.1695, allocations: 0.8538 MB / 302.3 MB, free: 16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.1695, allocations: 2.219 kB / 302.3 MB, free: 16 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001419/0.171, allocations: 1.094 MB / 303.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.171, allocations: 8.984 kB / 303.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.171, allocations: 6.562 kB / 303.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.1716, allocations: 264.8 kB / 303.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.1722, allocations: 271.3 kB / 303.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.1743, allocations: 4.845 MB / 308.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.1747, allocations: 64.05 kB / 308.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.1748, allocations: 57.94 kB / 308.9 MB, free: 11.22 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.175, allocations: 233.1 kB / 309.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1751, allocations: 102.5 kB / 309.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1761, allocations: 0.9621 MB / 310.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1761, allocations: 9.906 kB / 310.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1761, allocations: 6.656 kB / 310.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1761, allocations: 11.77 kB / 310.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.1781, allocations: 1.831 MB / 312 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.1781, allocations: 0 / 312 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.1786, allocations: 197.5 kB / 312.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.1791, allocations: 238.6 kB / 312.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.1791, allocations: 34.81 kB / 312.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.1809, allocations: 4.705 MB / 317.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1809, allocations: 5.766 kB / 317.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.1822, allocations: 1.262 MB / 318.5 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1824, allocations: 150.8 kB / 318.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.1824, allocations: 27.77 kB / 318.6 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.1827, allocations: 49.11 kB / 318.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.1829, allocations: 94.31 kB / 318.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.1829, allocations: 35.66 kB / 318.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.183, allocations: 268.6 kB / 319.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.183, allocations: 4.031 kB / 319.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007401/0.1838, allocations: 305.7 kB / 319.4 MB, free: 4.133 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.184, allocations: 171.2 kB / 319.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1851, allocations: 1.173 MB / 320.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1852, allocations: 0 / 320.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.1857, allocations: 0.7927 MB / 321.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1861, allocations: 86.94 kB / 321.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.1883, allocations: 1.812 MB / 323.4 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.1885, allocations: 203 kB / 323.6 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.1888, allocations: 146.7 kB / 323.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.189, allocations: 80.41 kB / 323.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.189, allocations: 0 / 323.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of Templates: time 0.01354/0.2025, allocations: 10.13 MB / 334 MB, free: 5.895 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1882460243068635]