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.001907/0.001907, allocations: 76.12 kB / 21.24 MB, free: 0.5469 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.002442/0.002442, allocations: 159.2 kB / 24.5 MB, free: 3.723 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.737/1.737, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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.2094/0.2094, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.91 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2974, allocations: 65.44 MB / 0.4941 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1562/0.4536, allocations: 133.3 MB / 0.6243 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.4552, allocations: 1.067 MB / 0.6253 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.4552, allocations: 0 / 0.6253 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.4553, allocations: 23.84 kB / 0.6254 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/0.4554, allocations: 35.7 kB / 0.6254 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.4566, allocations: 425.9 kB / 0.6258 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4567, allocations: 79.52 kB / 0.6259 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.4568, allocations: 0 / 0.6259 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.4569, allocations: 39.86 kB / 0.6259 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.4569, allocations: 23.91 kB / 0.6259 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.4569, allocations: 0 / 0.6259 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.458, allocations: 462.8 kB / 0.6264 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.458, allocations: 11.98 kB / 0.6264 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.4581, allocations: 23.86 kB / 0.6264 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.4586, allocations: 310.7 kB / 0.6267 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4586, allocations: 0 / 0.6267 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4586, allocations: 0 / 0.6267 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.4586, allocations: 0 / 0.6267 GB, free: 0.8047 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.0005593/0.4592, allocations: 333.7 kB / 0.627 GB, free: 460 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4592, allocations: 12.03 kB / 0.627 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.4592, allocations: 4.938 kB / 0.627 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.4594, allocations: 113.1 kB / 0.6272 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4594, allocations: 4 kB / 0.6272 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4594, allocations: 8 kB / 0.6272 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.4595, allocations: 75.86 kB / 0.6272 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4596, allocations: 0 / 0.6272 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4596, allocations: 4 kB / 0.6272 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4596, allocations: 0 / 0.6272 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.4597, allocations: 55.91 kB / 0.6273 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.4601, allocations: 260.3 kB / 0.6275 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4602, allocations: 58.48 kB / 0.6276 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.4602, allocations: 16.86 kB / 0.6276 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.4617, allocations: 259.8 kB / 0.6279 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4617, allocations: 34.56 kB / 0.6279 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.4617, allocations: 0 / 0.6279 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007397/0.4691, allocations: 0.6616 MB / 0.6285 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4692, allocations: 55.41 kB / 0.6286 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.4693, allocations: 105.8 kB / 0.6287 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.4693, allocations: 33.7 kB / 0.6287 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.4693, allocations: 96.27 kB / 0.6288 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.4694, allocations: 43.58 kB / 0.6289 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4695, allocations: 49.67 kB / 0.6289 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4697, allocations: 314.8 kB / 0.6292 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.4699, allocations: 79.95 kB / 0.6293 GB, free: 14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.4701, allocations: 106.5 kB / 0.6294 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.4706, allocations: 202.5 kB / 0.6296 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4706, allocations: 0 / 0.6296 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000597/0.4712, allocations: 253.1 kB / 0.6298 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4712, allocations: 8 kB / 0.6298 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4712, allocations: 0 / 0.6298 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4712, allocations: 0 / 0.6298 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.472, allocations: 59.88 kB / 0.6299 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.472, allocations: 0 / 0.6299 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.4725, allocations: 16.06 kB / 0.6299 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.4726, allocations: 16.53 kB / 0.6299 GB, free: 13.34 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.0001175/0.4727, allocations: 121.8 kB / 0.63 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.4728, allocations: 7.953 kB / 0.63 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.4736, allocations: 341.4 kB / 0.6304 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4736, allocations: 4 kB / 0.6304 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4736, allocations: 3.938 kB / 0.6304 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4736, allocations: 3.984 kB / 0.6304 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4748, allocations: 0.6913 MB / 0.631 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4748, allocations: 0 / 0.631 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.4755, allocations: 39.97 kB / 0.6311 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4755, allocations: 3.984 kB / 0.6311 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.4755, allocations: 8 kB / 0.6311 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4755, allocations: 4 kB / 0.6311 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4755, allocations: 0 / 0.6311 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.4761, allocations: 363.5 kB / 0.6314 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.4762, allocations: 19.92 kB / 0.6315 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.4763, allocations: 11.98 kB / 0.6315 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/0.4769, allocations: 8 kB / 0.6315 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.4769, allocations: 19.91 kB / 0.6315 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.477, allocations: 11.98 kB / 0.6315 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.477, allocations: 83.22 kB / 0.6316 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.477, allocations: 4 kB / 0.6316 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004533/0.4775, allocations: 103.7 kB / 0.6317 GB, free: 11.4 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.0003993/0.4779, allocations: 226.8 kB / 0.6319 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.4784, allocations: 203.9 kB / 0.6321 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4784, allocations: 0 / 0.6321 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.4786, allocations: 114 kB / 0.6322 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.4791, allocations: 31.95 kB / 0.6322 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.4797, allocations: 256.7 kB / 0.6325 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.4798, allocations: 83.5 kB / 0.6326 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.4802, allocations: 60.86 kB / 0.6326 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.4804, allocations: 36.44 kB / 0.6327 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.4804, allocations: 0 / 0.6327 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.01184/0.4923, allocations: 6.757 MB / 0.6393 GB, free: 3.621 MB / 0.5294 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.6457638760330155]