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.001169/0.001169, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00157/0.00157, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9905/0.9905, allocations: 177.2 MB / 205 MB, free: 5.301 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.2647/0.2647, allocations: 32.81 MB / 294.3 MB, free: 1.234 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.844e-06/1.844e-06, allocations: 0 / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.654e-05, allocations: 6.25 kB / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2744/0.2744, allocations: 147.4 MB / 0.5112 GB, free: 18.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.2753, allocations: 1.198 MB / 0.5123 GB, free: 17.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.2754, allocations: 0 / 0.5123 GB, free: 17.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.2755, allocations: 28.45 kB / 0.5124 GB, free: 17.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.2756, allocations: 32.09 kB / 0.5124 GB, free: 17.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2766, allocations: 444.9 kB / 0.5128 GB, free: 17.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.2767, allocations: 67.02 kB / 0.5129 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.2767, allocations: 8.562 kB / 0.5129 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.2768, allocations: 48.05 kB / 0.5129 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.2769, allocations: 21.94 kB / 0.513 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.2769, allocations: 0 / 0.513 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.2776, allocations: 474 kB / 0.5134 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.2776, allocations: 11.67 kB / 0.5134 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.2777, allocations: 20.39 kB / 0.5134 GB, free: 17.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.2781, allocations: 332.8 kB / 0.5138 GB, free: 17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2781, allocations: 0.7031 kB / 0.5138 GB, free: 17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2781, allocations: 0 / 0.5138 GB, free: 17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2781, allocations: 4 kB / 0.5138 GB, free: 16.99 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.0004333/0.2785, allocations: 442 kB / 0.5142 GB, free: 16.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2785, allocations: 11.84 kB / 0.5142 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.2786, allocations: 11.69 kB / 0.5142 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.534e-05/0.2786, allocations: 113.4 kB / 0.5143 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2787, allocations: 6.75 kB / 0.5143 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.2787, allocations: 5.688 kB / 0.5143 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2788, allocations: 59.97 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2788, allocations: 3.516 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.2788, allocations: 0 / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2788, allocations: 4 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.2789, allocations: 31.17 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.2792, allocations: 305.8 kB / 0.5147 GB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.2792, allocations: 60.31 kB / 0.5148 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.2792, allocations: 18.31 kB / 0.5148 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.2799, allocations: 257.3 kB / 0.515 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2799, allocations: 33.39 kB / 0.5151 GB, free: 15.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2799, allocations: 0 / 0.5151 GB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003226/0.2832, allocations: 0.7255 MB / 0.5158 GB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2832, allocations: 54.41 kB / 0.5158 GB, free: 15.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.2832, allocations: 162.9 kB / 0.516 GB, free: 15.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2833, allocations: 28.64 kB / 0.516 GB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.2833, allocations: 141 kB / 0.5161 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.2833, allocations: 55.44 kB / 0.5162 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.2834, allocations: 50.2 kB / 0.5162 GB, free: 15.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.2834, allocations: 0.4892 MB / 0.5167 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2835, allocations: 104.6 kB / 0.5168 GB, free: 14.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2836, allocations: 137 kB / 0.5169 GB, free: 14.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.2839, allocations: 256.9 kB / 0.5172 GB, free: 14.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2839, allocations: 0 / 0.5172 GB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003024/0.2842, allocations: 298.6 kB / 0.5175 GB, free: 14.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2842, allocations: 5.812 kB / 0.5175 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2842, allocations: 3.938 kB / 0.5175 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2842, allocations: 6.672 kB / 0.5175 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2845, allocations: 51.91 kB / 0.5175 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2845, allocations: 4.062 kB / 0.5175 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2847, allocations: 17.89 kB / 0.5176 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.2847, allocations: 16.88 kB / 0.5176 GB, free: 14.57 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.653e-05/0.2848, allocations: 162.7 kB / 0.5177 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.2849, allocations: 5.906 kB / 0.5177 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.2853, allocations: 384.7 kB / 0.5181 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2853, allocations: 2.438 kB / 0.5181 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2853, allocations: 6.906 kB / 0.5181 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2853, allocations: 0 / 0.5181 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.2858, allocations: 0.7562 MB / 0.5189 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2858, allocations: 0 / 0.5189 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.2862, allocations: 45.17 kB / 0.5189 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2862, allocations: 2.938 kB / 0.5189 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2862, allocations: 8.734 kB / 0.5189 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2862, allocations: 0 / 0.5189 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2862, allocations: 5.688 kB / 0.5189 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.2865, allocations: 454.1 kB / 0.5193 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.2866, allocations: 21.8 kB / 0.5194 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.2866, allocations: 5.953 kB / 0.5194 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2868, allocations: 9.625 kB / 0.5194 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2868, allocations: 13.8 kB / 0.5194 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.2869, allocations: 11.61 kB / 0.5194 GB, free: 13.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.912e-05/0.2869, allocations: 127.3 kB / 0.5195 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2869, allocations: 2.938 kB / 0.5195 GB, free: 13.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.2872, allocations: 103 kB / 0.5196 GB, free: 13.32 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.00029/0.2874, allocations: 235.8 kB / 0.5199 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.2877, allocations: 269.1 kB / 0.5201 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2877, allocations: 0 / 0.5201 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2878, allocations: 151 kB / 0.5203 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2881, allocations: 41.19 kB / 0.5203 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.2887, allocations: 258.9 kB / 0.5205 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.2888, allocations: 62.41 kB / 0.5206 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.2889, allocations: 64.58 kB / 0.5207 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2891, allocations: 33.44 kB / 0.5207 GB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2891, allocations: 0 / 0.5207 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00754/0.2966, allocations: 7.52 MB / 0.528 GB, free: 11.69 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.5207934118807316]