Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.001226/0.001226, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.00724/0.00724, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 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 0.8986/0.8986, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 440.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.868e-05, allocations: 2.281 kB / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2674/0.2674, allocations: 133.3 MB / 0.5607 GB, free: 15.11 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000911/0.2683, allocations: 1.059 MB / 0.5617 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.2683, allocations: 0 / 0.5617 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2685, allocations: 39.69 kB / 0.5617 GB, free: 14.01 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.787e-05/0.2685, allocations: 31.72 kB / 0.5618 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.2694, allocations: 444.5 kB / 0.5622 GB, free: 13.55 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.2695, allocations: 71.53 kB / 0.5623 GB, free: 13.48 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.2696, allocations: 7.922 kB / 0.5623 GB, free: 13.47 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/0.2697, allocations: 43.91 kB / 0.5623 GB, free: 13.43 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.2697, allocations: 19.97 kB / 0.5623 GB, free: 13.41 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2697, allocations: 0 / 0.5623 GB, free: 13.41 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.2704, allocations: 473.7 kB / 0.5628 GB, free: 12.95 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2704, allocations: 11.98 kB / 0.5628 GB, free: 12.93 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.2704, allocations: 19.94 kB / 0.5628 GB, free: 12.91 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.2708, allocations: 339.1 kB / 0.5631 GB, free: 12.58 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2708, allocations: 0 / 0.5631 GB, free: 12.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2708, allocations: 0 / 0.5631 GB, free: 12.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2708, allocations: 0 / 0.5631 GB, free: 12.58 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004462/0.2713, allocations: 335.1 kB / 0.5635 GB, free: 12.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2713, allocations: 8.031 kB / 0.5635 GB, free: 12.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.2713, allocations: 9.078 kB / 0.5635 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.2717, allocations: 112.6 kB / 0.5636 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2717, allocations: 11.98 kB / 0.5636 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2717, allocations: 11.95 kB / 0.5636 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2718, allocations: 77.11 kB / 0.5637 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2718, allocations: 4 kB / 0.5637 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2718, allocations: 0 / 0.5637 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2718, allocations: 0 / 0.5637 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.2719, allocations: 47.97 kB / 0.5637 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2722, allocations: 252.4 kB / 0.564 GB, free: 11.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/0.2723, allocations: 66.48 kB / 0.564 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.2723, allocations: 16.86 kB / 0.564 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/0.273, allocations: 252.7 kB / 0.5643 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.273, allocations: 30.56 kB / 0.5643 GB, free: 11.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.273, allocations: 0 / 0.5643 GB, free: 11.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.003152/0.2762, allocations: 0.6606 MB / 0.565 GB, free: 10.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2762, allocations: 55.41 kB / 0.565 GB, free: 10.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.2763, allocations: 112.8 kB / 0.5651 GB, free: 10.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2763, allocations: 29.7 kB / 0.5651 GB, free: 10.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2763, allocations: 88.31 kB / 0.5652 GB, free: 10.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.2764, allocations: 51.59 kB / 0.5653 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.2764, allocations: 41.67 kB / 0.5653 GB, free: 10.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.2765, allocations: 316.4 kB / 0.5656 GB, free: 9.883 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2766, allocations: 83.94 kB / 0.5657 GB, free: 9.801 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2767, allocations: 111.1 kB / 0.5658 GB, free: 9.684 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.277, allocations: 203.3 kB / 0.566 GB, free: 9.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.277, allocations: 0 / 0.566 GB, free: 9.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003343/0.2773, allocations: 255.6 kB / 0.5662 GB, free: 9.223 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2774, allocations: 7.938 kB / 0.5663 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2774, allocations: 0 / 0.5663 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2774, allocations: 0 / 0.5663 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.2777, allocations: 51.94 kB / 0.5663 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2777, allocations: 15.05 kB / 0.5663 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.2779, allocations: 12 kB / 0.5663 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.2779, allocations: 11.98 kB / 0.5663 GB, free: 9.129 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.278, allocations: 118.9 kB / 0.5665 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.278, allocations: 7.953 kB / 0.5665 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.2785, allocations: 347.5 kB / 0.5668 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2785, allocations: 7.938 kB / 0.5668 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2785, allocations: 0 / 0.5668 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2785, allocations: 3.984 kB / 0.5668 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/0.2792, allocations: 0.679 MB / 0.5675 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2792, allocations: 3.938 kB / 0.5675 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.2794, allocations: 45.78 kB / 0.5675 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2794, allocations: 0 / 0.5675 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2795, allocations: 11.98 kB / 0.5675 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2795, allocations: 0 / 0.5675 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2795, allocations: 0 / 0.5675 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.2798, allocations: 366.2 kB / 0.5679 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.2799, allocations: 27.84 kB / 0.5679 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.2799, allocations: 4 kB / 0.5679 GB, free: 7.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2801, allocations: 11.98 kB / 0.5679 GB, free: 7.422 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.2802, allocations: 15.97 kB / 0.5679 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2802, allocations: 8 kB / 0.5679 GB, free: 7.398 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.989e-05/0.2802, allocations: 86.39 kB / 0.568 GB, free: 7.316 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2802, allocations: 4 kB / 0.568 GB, free: 7.312 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.2805, allocations: 107.7 kB / 0.5681 GB, free: 7.207 MB / 474.7 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.2808, allocations: 222.9 kB / 0.5683 GB, free: 6.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.2811, allocations: 203.8 kB / 0.5685 GB, free: 6.781 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2811, allocations: 0 / 0.5685 GB, free: 6.781 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2813, allocations: 107.9 kB / 0.5686 GB, free: 6.676 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2816, allocations: 37.03 kB / 0.5687 GB, free: 6.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.282, allocations: 281.4 kB / 0.5689 GB, free: 6.336 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.126e-05/0.2821, allocations: 79.31 kB / 0.569 GB, free: 6.238 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2822, allocations: 36.45 kB / 0.5691 GB, free: 6.203 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2822, allocations: 0 / 0.5691 GB, free: 6.203 MB / 474.7 MB Notification: Performance of Templates: time 0.004309/0.2865, allocations: 4.208 MB / 0.5732 GB, free: 2 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.91647803876549]