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.0009229/0.0009229, allocations: 87.88 kB / 21.19 MB, free: 3.406 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.000865/0.000865, allocations: 141.1 kB / 24.54 MB, free: 60 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.9612/0.9612, allocations: 173.4 MB / 201.2 MB, free: 9.328 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.633e-06/1.633e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.173e-05, allocations: 5.969 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005723/0.005745, allocations: 6.592 MB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.008968, allocations: 2.331 MB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.009415, allocations: 23.94 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.01176, allocations: 1.991 MB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.01283, allocations: 0.7142 MB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.01411, allocations: 1.136 MB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009835/0.01509, allocations: 1.171 MB / 282 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.01594, allocations: 0.8252 MB / 282.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.01649, allocations: 0.7015 MB / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.01688, allocations: 490.6 kB / 284 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.01698, allocations: 100 kB / 284.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006134/0.01759, allocations: 411.3 kB / 284.5 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01772, allocations: 255 kB / 284.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.0182, allocations: 387 kB / 285.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.01913, allocations: 1.172 MB / 286.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01913, allocations: 0 / 286.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01913, allocations: 4 kB / 286.3 MB, free: 4.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01914, allocations: 0 / 286.3 MB, free: 4.051 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.003168/0.02231, allocations: 2.073 MB / 288.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.02235, allocations: 12.92 kB / 288.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.02421, allocations: 0.7375 MB / 289.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.02439, allocations: 258.9 kB / 289.4 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.02445, allocations: 98.95 kB / 289.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.02457, allocations: 128.3 kB / 289.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1028/0.1274, allocations: 1.031 MB / 290.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.1274, allocations: 3.922 kB / 290.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.1275, allocations: 55.39 kB / 290.7 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.1275, allocations: 32.16 kB / 290.7 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1286, allocations: 0.6405 MB / 291.3 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.1322, allocations: 3.222 MB / 294.6 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1334, allocations: 0.9793 MB / 295.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.1338, allocations: 300.9 kB / 295.8 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.1338, allocations: 39.48 kB / 295.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1339, allocations: 46.36 kB / 295.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.595e-06/0.1339, allocations: 3.594 kB / 295.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004002/0.1379, allocations: 2.407 MB / 298.3 MB, free: 18.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1379, allocations: 92.19 kB / 298.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.1382, allocations: 421 kB / 298.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1383, allocations: 47.33 kB / 298.9 MB, free: 18.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1384, allocations: 0.5079 MB / 299.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.1386, allocations: 451 kB / 299.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.1389, allocations: 245.8 kB / 300.1 MB, free: 17.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.139, allocations: 0.554 MB / 300.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.1393, allocations: 221.6 kB / 300.8 MB, free: 17.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.1398, allocations: 0.6082 MB / 301.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.1406, allocations: 0.8504 MB / 302.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1406, allocations: 2.781 kB / 302.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001311/0.142, allocations: 1.09 MB / 303.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.142, allocations: 10.5 kB / 303.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.142, allocations: 7.562 kB / 303.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.1426, allocations: 260.6 kB / 303.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.1431, allocations: 277.2 kB / 303.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.145, allocations: 4.856 MB / 308.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.1454, allocations: 58.58 kB / 308.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.1454, allocations: 54.36 kB / 308.9 MB, free: 11.26 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.000177/0.1456, allocations: 231.8 kB / 309.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.1457, allocations: 109 kB / 309.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.1467, allocations: 0.9546 MB / 310.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1467, allocations: 13.88 kB / 310.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1467, allocations: 3.812 kB / 310.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1467, allocations: 10.69 kB / 310.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.1487, allocations: 1.827 MB / 312 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1487, allocations: 3.312 kB / 312 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.1491, allocations: 199.8 kB / 312.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/0.1496, allocations: 229.7 kB / 312.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.1497, allocations: 35.41 kB / 312.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.1513, allocations: 4.714 MB / 317.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1513, allocations: 7.531 kB / 317.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1525, allocations: 1.253 MB / 318.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.1527, allocations: 158.7 kB / 318.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.1527, allocations: 23.91 kB / 318.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.153, allocations: 50.03 kB / 318.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.1531, allocations: 98.47 kB / 318.8 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.1532, allocations: 34.95 kB / 318.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1533, allocations: 265.8 kB / 319.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1533, allocations: 0 / 319.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006513/0.154, allocations: 306.4 kB / 319.4 MB, free: 4.164 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.0001934/0.1541, allocations: 172.4 kB / 319.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1552, allocations: 1.168 MB / 320.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1552, allocations: 0 / 320.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.1557, allocations: 0.7983 MB / 321.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.156, allocations: 78.48 kB / 321.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1581, allocations: 1.825 MB / 323.4 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.1582, allocations: 199.1 kB / 323.6 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000371/0.1586, allocations: 146.6 kB / 323.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1588, allocations: 80.45 kB / 323.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1588, allocations: 0 / 323.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Templates: time 0.0139/0.1726, allocations: 10.9 MB / 334.7 MB, free: 5.172 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: 2.897865494713187]