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.00162/0.00162, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00172/0.00172, allocations: 170.4 kB / 24.82 MB, free: 9.273 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 1.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2531/0.2531, allocations: 32.81 MB / 294.6 MB, free: 1.164 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.693e-06/1.693e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.568e-05, allocations: 9.203 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2634/0.2634, allocations: 144.7 MB / 0.5089 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2644, allocations: 1.171 MB / 0.5101 GB, free: 18.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.2645, allocations: 0 / 0.5101 GB, free: 18.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.2646, allocations: 38.8 kB / 0.5101 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.103e-05/0.2647, allocations: 23.03 kB / 0.5101 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2659, allocations: 445.2 kB / 0.5106 GB, free: 18.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.266, allocations: 69.02 kB / 0.5106 GB, free: 18.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.2661, allocations: 11.31 kB / 0.5106 GB, free: 18.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2662, allocations: 45.88 kB / 0.5107 GB, free: 18.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.2662, allocations: 20.44 kB / 0.5107 GB, free: 18.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2663, allocations: 1.875 kB / 0.5107 GB, free: 18.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.2671, allocations: 482.3 kB / 0.5112 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2671, allocations: 6.438 kB / 0.5112 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2671, allocations: 20.34 kB / 0.5112 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2676, allocations: 334.5 kB / 0.5115 GB, free: 18.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2676, allocations: 3.938 kB / 0.5115 GB, free: 18.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2676, allocations: 0.5156 kB / 0.5115 GB, free: 18.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.2676, allocations: 0 / 0.5115 GB, free: 18.37 MB / 410.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.0003977/0.268, allocations: 434.1 kB / 0.5119 GB, free: 17.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.268, allocations: 10.3 kB / 0.5119 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.268, allocations: 20.22 kB / 0.512 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.298e-05/0.2681, allocations: 118.1 kB / 0.5121 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2681, allocations: 3.562 kB / 0.5121 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2681, allocations: 8.547 kB / 0.5121 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.616e-05/0.2682, allocations: 55.14 kB / 0.5121 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2682, allocations: 0 / 0.5121 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.2682, allocations: 1.312 kB / 0.5121 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2682, allocations: 1.938 kB / 0.5121 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.2683, allocations: 29.34 kB / 0.5122 GB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.2685, allocations: 276.3 kB / 0.5124 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.688e-05/0.2686, allocations: 64.77 kB / 0.5125 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.2686, allocations: 23.95 kB / 0.5125 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/0.2693, allocations: 250.5 kB / 0.5127 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2693, allocations: 44.94 kB / 0.5128 GB, free: 17.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2693, allocations: 7.922 kB / 0.5128 GB, free: 17.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.002972/0.2723, allocations: 0.6636 MB / 0.5134 GB, free: 17.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.2723, allocations: 54.8 kB / 0.5135 GB, free: 17.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/0.2724, allocations: 162.8 kB / 0.5137 GB, free: 17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2724, allocations: 25.7 kB / 0.5137 GB, free: 16.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.2724, allocations: 150.5 kB / 0.5138 GB, free: 16.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2724, allocations: 45.14 kB / 0.5139 GB, free: 16.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.2725, allocations: 52.19 kB / 0.5139 GB, free: 16.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.2725, allocations: 0.4888 MB / 0.5144 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.2726, allocations: 83.52 kB / 0.5145 GB, free: 16.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.2727, allocations: 123.5 kB / 0.5146 GB, free: 16.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.2729, allocations: 212.8 kB / 0.5148 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2729, allocations: 0 / 0.5148 GB, free: 16.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002679/0.2732, allocations: 262.5 kB / 0.515 GB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2732, allocations: 8.516 kB / 0.5151 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2732, allocations: 3.969 kB / 0.5151 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2732, allocations: 7.062 kB / 0.5151 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2735, allocations: 56.86 kB / 0.5151 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2735, allocations: 4.781 kB / 0.5151 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2737, allocations: 11.06 kB / 0.5151 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2737, allocations: 10.64 kB / 0.5151 GB, free: 16.07 MB / 410.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 6.344e-05/0.2738, allocations: 169.6 kB / 0.5153 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.2738, allocations: 9.453 kB / 0.5153 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.2741, allocations: 339.7 kB / 0.5156 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2741, allocations: 6.469 kB / 0.5156 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2741, allocations: 3.234 kB / 0.5156 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2741, allocations: 0 / 0.5156 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.2746, allocations: 0.7039 MB / 0.5163 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2746, allocations: 0 / 0.5163 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.2749, allocations: 48.11 kB / 0.5164 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2749, allocations: 3.938 kB / 0.5164 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2749, allocations: 10.08 kB / 0.5164 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2749, allocations: 0 / 0.5164 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2749, allocations: 5.938 kB / 0.5164 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.2751, allocations: 403.1 kB / 0.5168 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.2752, allocations: 29.2 kB / 0.5168 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2752, allocations: 10.41 kB / 0.5168 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2754, allocations: 7.547 kB / 0.5168 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.2754, allocations: 19.31 kB / 0.5168 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2754, allocations: 8.016 kB / 0.5169 GB, free: 15.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.573e-05/0.2755, allocations: 127.5 kB / 0.517 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2755, allocations: 0 / 0.517 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.2757, allocations: 104.7 kB / 0.5171 GB, free: 14.88 MB / 410.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.0002669/0.276, allocations: 234.4 kB / 0.5173 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2762, allocations: 227.3 kB / 0.5175 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.2762, allocations: 0 / 0.5175 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.2763, allocations: 132.8 kB / 0.5176 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2765, allocations: 38.58 kB / 0.5177 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.277, allocations: 248 kB / 0.5179 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.277, allocations: 73.25 kB / 0.518 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.2772, allocations: 65.31 kB / 0.518 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.2774, allocations: 113.6 kB / 0.5182 GB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2774, allocations: 0 / 0.5182 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Templates: time 0.007047/0.2845, allocations: 7.465 MB / 0.5254 GB, free: 13.42 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",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.2981093637645245]