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.001555/0.001555, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001801/0.001801, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2202/0.2202, allocations: 46.94 MB / 361.6 MB, free: 4.266 MB / 286.1 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 0.001926/0.001926, allocations: 67.89 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 66.02 MB / 0.5619 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1764/0.4823, allocations: 154.9 MB / 0.7131 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4839, allocations: 1.203 MB / 0.7143 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.4839, allocations: 4 kB / 0.7143 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.4841, allocations: 27.81 kB / 0.7143 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.4841, allocations: 27.77 kB / 0.7144 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.4853, allocations: 449.6 kB / 0.7148 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.4855, allocations: 75.58 kB / 0.7149 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.4855, allocations: 11.94 kB / 0.7149 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.4856, allocations: 31.92 kB / 0.7149 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.4856, allocations: 31.84 kB / 0.7149 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.4856, allocations: 0 / 0.7149 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4867, allocations: 0.526 MB / 0.7154 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.4867, allocations: 7.969 kB / 0.7155 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.4868, allocations: 31.81 kB / 0.7155 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.4873, allocations: 313.7 kB / 0.7158 GB, free: 6.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4873, allocations: 0 / 0.7158 GB, free: 6.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4873, allocations: 4 kB / 0.7158 GB, free: 6.207 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.4873, allocations: 0 / 0.7158 GB, free: 6.207 MB / 0.545 GB 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.000543/0.4878, allocations: 341.6 kB / 0.7161 GB, free: 5.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.4879, allocations: 8.031 kB / 0.7161 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.4879, allocations: 4.938 kB / 0.7161 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.488, allocations: 117.1 kB / 0.7162 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.488, allocations: 0 / 0.7162 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4881, allocations: 8 kB / 0.7162 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4882, allocations: 73.61 kB / 0.7163 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4882, allocations: 4 kB / 0.7163 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4882, allocations: 4 kB / 0.7163 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4882, allocations: 4 kB / 0.7163 GB, free: 5.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.4883, allocations: 51.95 kB / 0.7164 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.4888, allocations: 352.9 kB / 0.7167 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.4889, allocations: 62.48 kB / 0.7168 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.4889, allocations: 20.86 kB / 0.7168 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.4903, allocations: 251.6 kB / 0.717 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4903, allocations: 38.5 kB / 0.7171 GB, free: 4.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.4903, allocations: 0 / 0.7171 GB, free: 4.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006823/0.4971, allocations: 0.6574 MB / 0.7177 GB, free: 4.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4972, allocations: 55.41 kB / 0.7178 GB, free: 4.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.4972, allocations: 101.8 kB / 0.7179 GB, free: 3.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4973, allocations: 25.7 kB / 0.7179 GB, free: 3.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.4973, allocations: 92.88 kB / 0.718 GB, free: 3.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.4974, allocations: 51.53 kB / 0.718 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4975, allocations: 49.67 kB / 0.7181 GB, free: 3.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4976, allocations: 318.8 kB / 0.7184 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4978, allocations: 79.94 kB / 0.7184 GB, free: 3.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.498, allocations: 102.5 kB / 0.7185 GB, free: 3.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.4985, allocations: 210.2 kB / 0.7187 GB, free: 2.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4985, allocations: 3.984 kB / 0.7188 GB, free: 2.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005558/0.499, allocations: 253.4 kB / 0.719 GB, free: 2.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.499, allocations: 4 kB / 0.719 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4991, allocations: 256 / 0.719 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4991, allocations: 4 kB / 0.719 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.4997, allocations: 55.88 kB / 0.7191 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4997, allocations: 4 kB / 0.7191 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.5003, allocations: 24.05 kB / 0.7191 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.5003, allocations: 7.984 kB / 0.7191 GB, free: 2.605 MB / 0.545 GB 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 0.0001167/0.5004, allocations: 117.8 kB / 0.7192 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.5005, allocations: 7.953 kB / 0.7192 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/0.5012, allocations: 353.3 kB / 0.7195 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5012, allocations: 4 kB / 0.7195 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5012, allocations: 0 / 0.7195 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.5013, allocations: 0 / 0.7195 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5024, allocations: 0.737 MB / 0.7203 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5024, allocations: 0 / 0.7203 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.503, allocations: 43.95 kB / 0.7203 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.503, allocations: 4 kB / 0.7203 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.503, allocations: 11.98 kB / 0.7203 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.503, allocations: 0 / 0.7203 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.503, allocations: 3.938 kB / 0.7203 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.5036, allocations: 351.3 kB / 0.7207 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.5037, allocations: 23.91 kB / 0.7207 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.5038, allocations: 4 kB / 0.7207 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.5043, allocations: 16 kB / 0.7207 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.5043, allocations: 15.91 kB / 0.7207 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.5044, allocations: 11.98 kB / 0.7207 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.5044, allocations: 83.28 kB / 0.7208 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5044, allocations: 0 / 0.7208 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004274/0.5048, allocations: 103.7 kB / 0.7209 GB, free: 0.6172 MB / 0.545 GB 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.0003933/0.5052, allocations: 226.8 kB / 0.7211 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.5057, allocations: 201.9 kB / 0.7213 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5057, allocations: 0 / 0.7213 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.506, allocations: 119.9 kB / 0.7214 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.5064, allocations: 36.09 kB / 0.7215 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.507, allocations: 286.2 kB / 0.7217 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.5073, allocations: 0.6965 MB / 0.7224 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.5075, allocations: 39.39 kB / 0.7225 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.5075, allocations: 0 / 0.7225 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.006517/0.514, allocations: 4.123 MB / 0.7265 GB, free: 10.84 MB / 0.5606 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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: 7.82055046595633]