Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008343/0.0008343, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004435/0.004435, allocations: 161.2 kB / 24.7 MB, free: 9.43 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.8457/0.8457, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.992e-05, allocations: 5.234 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.263/0.2631, allocations: 133.3 MB / 0.5632 GB, free: 11.03 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2643, allocations: 1.063 MB / 0.5642 GB, free: 9.965 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.2644, allocations: 0 / 0.5642 GB, free: 9.965 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.2646, allocations: 31.83 kB / 0.5643 GB, free: 9.934 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.809e-05/0.2646, allocations: 31.72 kB / 0.5643 GB, free: 9.902 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.2656, allocations: 440.5 kB / 0.5647 GB, free: 9.473 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2657, allocations: 75.52 kB / 0.5648 GB, free: 9.398 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.2658, allocations: 4 kB / 0.5648 GB, free: 9.395 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2659, allocations: 43.84 kB / 0.5648 GB, free: 9.352 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.2659, allocations: 23.91 kB / 0.5649 GB, free: 9.328 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2659, allocations: 4 kB / 0.5649 GB, free: 9.324 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006923/0.2666, allocations: 474.5 kB / 0.5653 GB, free: 8.859 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.2666, allocations: 3.984 kB / 0.5653 GB, free: 8.855 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.2667, allocations: 27.92 kB / 0.5653 GB, free: 8.828 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.2671, allocations: 335.2 kB / 0.5657 GB, free: 8.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2671, allocations: 3.938 kB / 0.5657 GB, free: 8.496 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2671, allocations: 0 / 0.5657 GB, free: 8.496 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2671, allocations: 0 / 0.5657 GB, free: 8.496 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.0004921/0.2676, allocations: 327.1 kB / 0.566 GB, free: 8.148 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2676, allocations: 11.5 kB / 0.566 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2676, allocations: 12.89 kB / 0.566 GB, free: 8.129 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.272e-05/0.2677, allocations: 116 kB / 0.5661 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2677, allocations: 4 kB / 0.5661 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.2678, allocations: 15.95 kB / 0.5661 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2679, allocations: 73.16 kB / 0.5662 GB, free: 7.898 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2679, allocations: 0 / 0.5662 GB, free: 7.898 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2679, allocations: 0 / 0.5662 GB, free: 7.898 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2679, allocations: 7.938 kB / 0.5662 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.268, allocations: 51.91 kB / 0.5663 GB, free: 7.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.2683, allocations: 244.4 kB / 0.5665 GB, free: 7.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.2684, allocations: 62.5 kB / 0.5666 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.2684, allocations: 20.84 kB / 0.5666 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/0.2691, allocations: 252.7 kB / 0.5668 GB, free: 7.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2691, allocations: 30.56 kB / 0.5668 GB, free: 7.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.2691, allocations: 4 kB / 0.5669 GB, free: 7.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.003206/0.2723, allocations: 0.6606 MB / 0.5675 GB, free: 6.523 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2724, allocations: 59.34 kB / 0.5676 GB, free: 6.453 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.2725, allocations: 105.8 kB / 0.5677 GB, free: 6.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2725, allocations: 25.7 kB / 0.5677 GB, free: 6.309 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.2725, allocations: 92.38 kB / 0.5678 GB, free: 6.215 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.2726, allocations: 49.22 kB / 0.5678 GB, free: 6.168 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.2726, allocations: 41.67 kB / 0.5679 GB, free: 6.121 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.2727, allocations: 322.8 kB / 0.5682 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2729, allocations: 79.94 kB / 0.5682 GB, free: 5.719 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.273, allocations: 106.5 kB / 0.5683 GB, free: 5.605 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.2732, allocations: 202.5 kB / 0.5685 GB, free: 5.398 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2732, allocations: 4 kB / 0.5685 GB, free: 5.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003311/0.2736, allocations: 243.1 kB / 0.5688 GB, free: 5.152 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2736, allocations: 9.656 kB / 0.5688 GB, free: 5.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2736, allocations: 7.984 kB / 0.5688 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2736, allocations: 0 / 0.5688 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.2739, allocations: 51.94 kB / 0.5688 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2739, allocations: 4.062 kB / 0.5688 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2741, allocations: 19.98 kB / 0.5689 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2742, allocations: 13.73 kB / 0.5689 GB, free: 5.051 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.769e-05/0.2742, allocations: 122.9 kB / 0.569 GB, free: 4.922 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2743, allocations: 11.89 kB / 0.569 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.2748, allocations: 349 kB / 0.5693 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2748, allocations: 0 / 0.5693 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2748, allocations: 4 kB / 0.5693 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2748, allocations: 0 / 0.5693 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.2755, allocations: 0.6809 MB / 0.57 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2755, allocations: 0 / 0.57 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.2757, allocations: 47.89 kB / 0.57 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2757, allocations: 4 kB / 0.57 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2757, allocations: 15.17 kB / 0.5701 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2757, allocations: 0 / 0.5701 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2757, allocations: 4 kB / 0.5701 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.2761, allocations: 350.5 kB / 0.5704 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.2761, allocations: 27.91 kB / 0.5704 GB, free: 3.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.2762, allocations: 4 kB / 0.5704 GB, free: 3.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.2764, allocations: 8 kB / 0.5704 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.2764, allocations: 15.97 kB / 0.5705 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.2764, allocations: 15.92 kB / 0.5705 GB, free: 3.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.164e-05/0.2765, allocations: 87.28 kB / 0.5706 GB, free: 3.234 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2765, allocations: 0 / 0.5706 GB, free: 3.234 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.2767, allocations: 103.7 kB / 0.5707 GB, free: 3.133 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.0006089/0.2774, allocations: 235.5 kB / 0.5709 GB, free: 2.895 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.2777, allocations: 199.8 kB / 0.5711 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2777, allocations: 0 / 0.5711 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.2778, allocations: 115.9 kB / 0.5712 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2781, allocations: 34.91 kB / 0.5712 GB, free: 2.555 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.2785, allocations: 273.4 kB / 0.5715 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.2786, allocations: 83.31 kB / 0.5716 GB, free: 2.156 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.2787, allocations: 36.45 kB / 0.5716 GB, free: 2.121 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2787, allocations: 0 / 0.5716 GB, free: 2.121 MB / 474.7 MB Notification: Performance of Templates: time 0.004098/0.2828, allocations: 4.198 MB / 0.5757 GB, free: 13.93 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.767393309623003]