Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 113.6 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 198.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.83 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.147, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.6243/0.7714, allocations: 153.1 MB / 0.6381 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.7765, allocations: 3.63 MB / 0.6416 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.498e-05/0.7766, allocations: 0 / 0.6416 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.7769, allocations: 39.78 kB / 0.6416 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.7771, allocations: 31.72 kB / 0.6417 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.779, allocations: 437.2 kB / 0.6421 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.7792, allocations: 71.55 kB / 0.6422 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.7792, allocations: 3.984 kB / 0.6422 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.7794, allocations: 35.84 kB / 0.6422 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.7795, allocations: 23.94 kB / 0.6422 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.7795, allocations: 0 / 0.6422 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.7811, allocations: 0.4909 MB / 0.6427 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.7812, allocations: 11.92 kB / 0.6427 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.7812, allocations: 27.92 kB / 0.6427 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008758/0.7821, allocations: 314.4 kB / 0.643 GB, free: 12.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7822, allocations: 7.938 kB / 0.643 GB, free: 12.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7822, allocations: 0 / 0.643 GB, free: 12.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.7822, allocations: 0 / 0.643 GB, free: 12.35 MB / 494.1 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.0008308/0.783, allocations: 403.3 kB / 0.6434 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.7831, allocations: 12.02 kB / 0.6434 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.7831, allocations: 8.844 kB / 0.6434 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.7833, allocations: 167.7 kB / 0.6436 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.7833, allocations: 8 kB / 0.6436 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.7834, allocations: 8 kB / 0.6436 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.7836, allocations: 69.67 kB / 0.6437 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.7836, allocations: 3.906 kB / 0.6437 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.7836, allocations: 4 kB / 0.6437 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.7836, allocations: 4 kB / 0.6437 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.7838, allocations: 51.89 kB / 0.6437 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.7843, allocations: 385.8 kB / 0.6441 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.7845, allocations: 62.5 kB / 0.6442 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.7845, allocations: 24.84 kB / 0.6442 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/0.7864, allocations: 1.232 MB / 0.6454 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.7864, allocations: 38.55 kB / 0.6454 GB, free: 9.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.7865, allocations: 0 / 0.6454 GB, free: 9.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.007121/0.7936, allocations: 0.6618 MB / 0.6461 GB, free: 8.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.7936, allocations: 51.41 kB / 0.6461 GB, free: 8.742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.7938, allocations: 109.8 kB / 0.6462 GB, free: 8.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.7938, allocations: 25.7 kB / 0.6463 GB, free: 8.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.7939, allocations: 88.27 kB / 0.6463 GB, free: 8.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.794, allocations: 47.92 kB / 0.6464 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.7941, allocations: 45.61 kB / 0.6464 GB, free: 8.406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.7944, allocations: 322.8 kB / 0.6467 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.7947, allocations: 83.88 kB / 0.6468 GB, free: 8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.7949, allocations: 107.2 kB / 0.6469 GB, free: 7.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.7954, allocations: 206.7 kB / 0.6471 GB, free: 7.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7954, allocations: 3.938 kB / 0.6471 GB, free: 7.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005873/0.796, allocations: 245.4 kB / 0.6474 GB, free: 7.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.796, allocations: 12.06 kB / 0.6474 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7961, allocations: 0 / 0.6474 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7961, allocations: 0 / 0.6474 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.7968, allocations: 55.19 kB / 0.6474 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7968, allocations: 0 / 0.6474 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.7973, allocations: 19.98 kB / 0.6474 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.7974, allocations: 11.98 kB / 0.6475 GB, free: 7.332 MB / 494.1 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 0.0001706/0.7976, allocations: 125.7 kB / 0.6476 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.7976, allocations: 15.84 kB / 0.6476 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.7985, allocations: 346.4 kB / 0.6479 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7985, allocations: 4 kB / 0.6479 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7985, allocations: 0 / 0.6479 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7985, allocations: 0 / 0.6479 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.7998, allocations: 0.7637 MB / 0.6487 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7998, allocations: 0 / 0.6487 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.8004, allocations: 43.91 kB / 0.6487 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.8004, allocations: 4 kB / 0.6487 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.8005, allocations: 7.984 kB / 0.6487 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.8005, allocations: 4 kB / 0.6487 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8005, allocations: 0 / 0.6487 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.8011, allocations: 355.2 kB / 0.6491 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.8013, allocations: 112.8 kB / 0.6492 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.8013, allocations: 4 kB / 0.6492 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.8018, allocations: 11.98 kB / 0.6492 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.8019, allocations: 11.98 kB / 0.6492 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.8019, allocations: 11.98 kB / 0.6492 GB, free: 5.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.8021, allocations: 88.53 kB / 0.6493 GB, free: 5.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8021, allocations: 7.938 kB / 0.6493 GB, free: 5.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.8026, allocations: 95.98 kB / 0.6494 GB, free: 5.203 MB / 494.1 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.0006301/0.8032, allocations: 219.1 kB / 0.6496 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.8038, allocations: 211.2 kB / 0.6498 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8038, allocations: 0 / 0.6498 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.8041, allocations: 115.9 kB / 0.6499 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.8045, allocations: 35.58 kB / 0.65 GB, free: 4.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.8053, allocations: 290.5 kB / 0.6502 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.8057, allocations: 0.697 MB / 0.6509 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.8059, allocations: 35.39 kB / 0.6509 GB, free: 3.559 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.8059, allocations: 0 / 0.6509 GB, free: 3.559 MB / 494.1 MB Notification: Performance of Templates: time 0.008317/0.8143, allocations: 4.167 MB / 0.655 GB, free: 15.38 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches