Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001803/0.001803, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002222/0.002222, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2288/0.2288, allocations: 46.89 MB / 358.1 MB, free: 10.51 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.88 kB / 0.4923 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1212, allocations: 66 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4288/0.5501, allocations: 154.8 MB / 0.708 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.5517, allocations: 1.206 MB / 0.7092 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.5518, allocations: 0 / 0.7092 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.552, allocations: 43.78 kB / 0.7092 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.552, allocations: 27.78 kB / 0.7092 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.5532, allocations: 437.8 kB / 0.7096 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.5534, allocations: 67.59 kB / 0.7097 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.5534, allocations: 8 kB / 0.7097 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.5535, allocations: 31.91 kB / 0.7098 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.5535, allocations: 19.92 kB / 0.7098 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.5536, allocations: 4 kB / 0.7098 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5547, allocations: 0.5109 MB / 0.7103 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.5547, allocations: 15.91 kB / 0.7103 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.5548, allocations: 23.88 kB / 0.7103 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.5554, allocations: 322.7 kB / 0.7106 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5554, allocations: 3.984 kB / 0.7106 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5554, allocations: 0 / 0.7106 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5554, allocations: 0 / 0.7106 GB, free: 4.184 MB / 0.5137 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.0006492/0.556, allocations: 410.5 kB / 0.711 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5561, allocations: 12.03 kB / 0.711 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.5561, allocations: 1.312 kB / 0.711 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.5563, allocations: 171 kB / 0.7112 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5563, allocations: 4 kB / 0.7112 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.5563, allocations: 12 kB / 0.7112 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.5564, allocations: 65.67 kB / 0.7113 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.5565, allocations: 7.984 kB / 0.7113 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.5565, allocations: 3.938 kB / 0.7113 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5565, allocations: 0 / 0.7113 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.5566, allocations: 47.97 kB / 0.7113 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.5571, allocations: 381.8 kB / 0.7117 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.5572, allocations: 62.5 kB / 0.7117 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.5573, allocations: 24.78 kB / 0.7118 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/0.5592, allocations: 1.225 MB / 0.713 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.5593, allocations: 34.56 kB / 0.713 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.5593, allocations: 0 / 0.713 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.007071/0.5663, allocations: 0.6578 MB / 0.7136 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.5664, allocations: 59.41 kB / 0.7137 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.5665, allocations: 101.8 kB / 0.7138 GB, free: 496 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.5665, allocations: 29.7 kB / 0.7138 GB, free: 460 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.5666, allocations: 92.31 kB / 0.7139 GB, free: 364 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.5666, allocations: 51.59 kB / 0.714 GB, free: 312 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.5668, allocations: 42.23 kB / 0.714 GB, free: 264 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5669, allocations: 318.8 kB / 0.7143 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.5671, allocations: 83.94 kB / 0.7144 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.5674, allocations: 102.5 kB / 0.7145 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.5679, allocations: 205.7 kB / 0.7147 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.5679, allocations: 0 / 0.7147 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005926/0.5685, allocations: 249.3 kB / 0.7149 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5685, allocations: 8 kB / 0.7149 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5685, allocations: 0 / 0.7149 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5685, allocations: 0 / 0.7149 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.5692, allocations: 56 kB / 0.715 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.5692, allocations: 0 / 0.715 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.5697, allocations: 19.98 kB / 0.715 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.5698, allocations: 11.98 kB / 0.715 GB, free: 15.2 MB / 0.5294 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.0001377/0.5699, allocations: 125.7 kB / 0.7151 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.57, allocations: 7.953 kB / 0.7151 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008429/0.5708, allocations: 342.3 kB / 0.7155 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5708, allocations: 4 kB / 0.7155 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5708, allocations: 3.938 kB / 0.7155 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5708, allocations: 3.938 kB / 0.7155 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.572, allocations: 0.7567 MB / 0.7162 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.572, allocations: 4 kB / 0.7162 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.5727, allocations: 47.91 kB / 0.7163 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5727, allocations: 4 kB / 0.7163 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.5727, allocations: 7.984 kB / 0.7163 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5727, allocations: 0 / 0.7163 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5727, allocations: 4 kB / 0.7163 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.5734, allocations: 355.2 kB / 0.7166 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.5735, allocations: 101 kB / 0.7167 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.5735, allocations: 8 kB / 0.7167 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.5741, allocations: 7.984 kB / 0.7167 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.5741, allocations: 19.92 kB / 0.7167 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.5742, allocations: 11.98 kB / 0.7168 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.005e-05/0.5742, allocations: 86.91 kB / 0.7168 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5742, allocations: 0 / 0.7168 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004543/0.5747, allocations: 103.7 kB / 0.7169 GB, free: 13.07 MB / 0.5294 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.0004371/0.5751, allocations: 217.2 kB / 0.7171 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.5757, allocations: 214.1 kB / 0.7174 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5757, allocations: 3.938 kB / 0.7174 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.5759, allocations: 115.8 kB / 0.7175 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5763, allocations: 30.39 kB / 0.7175 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.577, allocations: 281.7 kB / 0.7178 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5773, allocations: 0.6926 MB / 0.7184 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.5776, allocations: 39.34 kB / 0.7185 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.5776, allocations: 0 / 0.7185 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.006979/0.5845, allocations: 4.125 MB / 0.7225 GB, free: 7.316 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.132303040008992]