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.0009213/0.0009213, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008803/0.0008803, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 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.9457/0.9457, allocations: 173.4 MB / 201.5 MB, free: 8.75 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 1.653e-06/1.653e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.161e-05, allocations: 5.828 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005509/0.005531, allocations: 6.448 MB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.009995, allocations: 2.416 MB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.01091, allocations: 24 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.01319, allocations: 1.979 MB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.01465, allocations: 0.7063 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.01622, allocations: 1.129 MB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.01748, allocations: 1.171 MB / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.01854, allocations: 0.8877 MB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.0193, allocations: 0.6937 MB / 284 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.01982, allocations: 0.4947 MB / 284.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.01993, allocations: 100 kB / 284.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.02075, allocations: 419.4 kB / 285 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.02088, allocations: 254.9 kB / 285.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.02118, allocations: 391 kB / 285.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.02242, allocations: 1.175 MB / 286.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02243, allocations: 0 / 286.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02243, allocations: 0 / 286.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.02245, allocations: 0 / 286.8 MB, free: 3.594 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.003659/0.02611, allocations: 2.037 MB / 288.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.02615, allocations: 8.922 kB / 288.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.02831, allocations: 0.7848 MB / 289.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.02853, allocations: 252.2 kB / 289.9 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.0286, allocations: 98.94 kB / 290 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.02875, allocations: 124.4 kB / 290.1 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1139/0.1426, allocations: 0.9281 MB / 291 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/0.1427, allocations: 4.797 kB / 291 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.1427, allocations: 54.66 kB / 291.1 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1427, allocations: 30 kB / 291.1 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/0.1435, allocations: 428.6 kB / 291.5 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.1469, allocations: 2.635 MB / 294.2 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.1478, allocations: 0.8029 MB / 295 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.148, allocations: 228.9 kB / 295.2 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.234e-05/0.1481, allocations: 37.73 kB / 295.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1482, allocations: 45.06 kB / 295.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.146e-06/0.1482, allocations: 2.234 kB / 295.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.001997/0.1502, allocations: 1.247 MB / 296.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1502, allocations: 91.28 kB / 296.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1504, allocations: 344.5 kB / 296.9 MB, free: 18.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1504, allocations: 46.98 kB / 297 MB, free: 18.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1506, allocations: 452.2 kB / 297.4 MB, free: 18.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.1508, allocations: 431 kB / 297.8 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.151, allocations: 222.9 kB / 298.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.151, allocations: 377.2 kB / 298.4 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1512, allocations: 135.2 kB / 298.6 MB, free: 17.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1515, allocations: 435.4 kB / 299 MB, free: 17.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.152, allocations: 0.6346 MB / 299.6 MB, free: 17.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.1521, allocations: 2.312 kB / 299.6 MB, free: 17.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0008276/0.1529, allocations: 0.7459 MB / 300.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1529, allocations: 11.52 kB / 300.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.1529, allocations: 6.875 kB / 300.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.1535, allocations: 234.5 kB / 300.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.1541, allocations: 272.7 kB / 300.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.1557, allocations: 3.36 MB / 304.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1561, allocations: 131 kB / 304.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.1561, allocations: 41.11 kB / 304.4 MB, free: 14.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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.0001839/0.1563, allocations: 188.1 kB / 304.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.1564, allocations: 79.39 kB / 304.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006824/0.1571, allocations: 0.6815 MB / 305.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1571, allocations: 12.78 kB / 305.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1571, allocations: 4.531 kB / 305.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1571, allocations: 6.797 kB / 305.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1584, allocations: 1.23 MB / 306.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1584, allocations: 5.125 kB / 306.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.1588, allocations: 188.9 kB / 306.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/0.1592, allocations: 207 kB / 307 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.1593, allocations: 27.19 kB / 307 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.1605, allocations: 3.237 MB / 310.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1605, allocations: 4.062 kB / 310.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.1613, allocations: 0.8621 MB / 311.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1614, allocations: 100.9 kB / 311.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.1615, allocations: 25.41 kB / 311.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1617, allocations: 38.11 kB / 311.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1618, allocations: 85.36 kB / 311.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.1618, allocations: 29.75 kB / 311.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.469e-05/0.1619, allocations: 133.2 kB / 311.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1619, allocations: 0 / 311.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006975/0.1626, allocations: 362.7 kB / 311.9 MB, free: 11.01 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 (103): * Single equations (assignments): 101 * 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.0001961/0.1628, allocations: 153.5 kB / 312 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000801/0.1636, allocations: 0.8947 MB / 312.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.1636, allocations: 6.688 kB / 312.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.164, allocations: 0.5957 MB / 313.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1642, allocations: 74.67 kB / 313.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1661, allocations: 1.742 MB / 315.3 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.1662, allocations: 191.9 kB / 315.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.1665, allocations: 144.6 kB / 315.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.1667, allocations: 158.2 kB / 315.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1667, allocations: 0 / 315.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01205/0.1788, allocations: 10.46 MB / 326.3 MB, free: 14.34 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 -s gbode -gbm=radauIIA3 -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: 2.8090038541704416]