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.001471/0.001471, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001804/0.001804, allocations: 168.4 kB / 25.61 MB, free: 8.586 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.039/1.039, allocations: 177.1 MB / 206 MB, free: 4.465 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.1534/0.1534, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.452e-06/1.452e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.645e-05, allocations: 6.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.267/0.267, allocations: 144.7 MB / 0.5097 GB, free: 16.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.268, allocations: 1.165 MB / 0.5108 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.2681, allocations: 4.562 kB / 0.5108 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2682, allocations: 32.08 kB / 0.5109 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.324e-05/0.2682, allocations: 33.31 kB / 0.5109 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.2692, allocations: 441 kB / 0.5113 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2693, allocations: 73.28 kB / 0.5114 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.2694, allocations: 6.75 kB / 0.5114 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.2695, allocations: 45.69 kB / 0.5114 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.2695, allocations: 24.84 kB / 0.5115 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.2695, allocations: 0 / 0.5115 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006391/0.2702, allocations: 478.1 kB / 0.5119 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2702, allocations: 11 kB / 0.5119 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.2702, allocations: 17.56 kB / 0.5119 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.2705, allocations: 341.9 kB / 0.5123 GB, free: 16.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2705, allocations: 0 / 0.5123 GB, free: 16.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2705, allocations: 0 / 0.5123 GB, free: 16.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.2705, allocations: 0 / 0.5123 GB, free: 16.84 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.0003648/0.2709, allocations: 437.6 kB / 0.5127 GB, free: 16.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2709, allocations: 11.58 kB / 0.5127 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.271, allocations: 19.48 kB / 0.5127 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.7e-05/0.271, allocations: 112.5 kB / 0.5128 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.271, allocations: 2.844 kB / 0.5128 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2711, allocations: 8.875 kB / 0.5128 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.143e-05/0.2711, allocations: 53.94 kB / 0.5129 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2711, allocations: 0 / 0.5129 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2711, allocations: 6.953 kB / 0.5129 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2711, allocations: 0 / 0.5129 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.2712, allocations: 25.42 kB / 0.5129 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.2714, allocations: 284.7 kB / 0.5132 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.2715, allocations: 65.34 kB / 0.5133 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.2715, allocations: 18.84 kB / 0.5133 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.2721, allocations: 248 kB / 0.5135 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2721, allocations: 45.84 kB / 0.5136 GB, free: 15.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.2721, allocations: 0 / 0.5136 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003139/0.2753, allocations: 0.6597 MB / 0.5142 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.2753, allocations: 59.97 kB / 0.5143 GB, free: 15.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.2753, allocations: 165.9 kB / 0.5144 GB, free: 15.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2754, allocations: 29.7 kB / 0.5144 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.2754, allocations: 145 kB / 0.5146 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.2754, allocations: 50.03 kB / 0.5146 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.2755, allocations: 48.45 kB / 0.5147 GB, free: 15.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.2755, allocations: 0.4888 MB / 0.5152 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.2756, allocations: 83.03 kB / 0.5152 GB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.2757, allocations: 118.1 kB / 0.5153 GB, free: 14.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.2759, allocations: 216.9 kB / 0.5155 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2759, allocations: 4 kB / 0.5156 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002662/0.2762, allocations: 261.8 kB / 0.5158 GB, free: 14.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2762, allocations: 6.625 kB / 0.5158 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2762, allocations: 0 / 0.5158 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2762, allocations: 9.656 kB / 0.5158 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.2765, allocations: 45.8 kB / 0.5159 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2765, allocations: 2.156 kB / 0.5159 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.2767, allocations: 19.39 kB / 0.5159 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2768, allocations: 11.2 kB / 0.5159 GB, free: 14.77 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 7.326e-05/0.2768, allocations: 165.8 kB / 0.5161 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.2769, allocations: 13.02 kB / 0.5161 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.2772, allocations: 340.5 kB / 0.5164 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2772, allocations: 6.594 kB / 0.5164 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2772, allocations: 0 / 0.5164 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2772, allocations: 4 kB / 0.5164 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.2778, allocations: 0.7039 MB / 0.5171 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2778, allocations: 1.094 kB / 0.5171 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.278, allocations: 40.73 kB / 0.5171 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.278, allocations: 3.938 kB / 0.5171 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2781, allocations: 12.47 kB / 0.5171 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2781, allocations: 5.766 kB / 0.5171 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2781, allocations: 3.188 kB / 0.5172 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.2783, allocations: 408 kB / 0.5175 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.2784, allocations: 27.98 kB / 0.5176 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2784, allocations: 10.97 kB / 0.5176 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2786, allocations: 12.05 kB / 0.5176 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2787, allocations: 12.61 kB / 0.5176 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2787, allocations: 9.25 kB / 0.5176 GB, free: 13.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.621e-05/0.2787, allocations: 131.5 kB / 0.5177 GB, free: 13.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2787, allocations: 0 / 0.5177 GB, free: 13.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000277/0.279, allocations: 100.5 kB / 0.5178 GB, free: 13.74 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.0002552/0.2792, allocations: 240.9 kB / 0.5181 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.2795, allocations: 220.6 kB / 0.5183 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2795, allocations: 128 / 0.5183 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2796, allocations: 140.2 kB / 0.5184 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.2799, allocations: 42.72 kB / 0.5184 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.2804, allocations: 248.5 kB / 0.5187 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.615e-05/0.2804, allocations: 62.97 kB / 0.5187 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.2806, allocations: 62.69 kB / 0.5188 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.2809, allocations: 110.4 kB / 0.5189 GB, free: 13.26 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2809, allocations: 0 / 0.5189 GB, free: 13.26 MB / 410.7 MB Notification: Performance of Templates: time 0.007743/0.2886, allocations: 7.56 MB / 0.5263 GB, free: 12.43 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.6288590850308537]