Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001608, allocations: 186.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 94.92 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4147/0.4147, allocations: 43.55 MB / 362.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.5349/0.6542, allocations: 126.9 MB / 0.6026 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005147/0.6594, allocations: 2.574 MB / 0.6051 GB, free: 9.359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.141e-05/0.6595, allocations: 0 / 0.6051 GB, free: 9.359 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.6597, allocations: 35.91 kB / 0.6052 GB, free: 9.324 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.6598, allocations: 27.92 kB / 0.6052 GB, free: 9.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.6615, allocations: 374.8 kB / 0.6055 GB, free: 8.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.6617, allocations: 51.91 kB / 0.6056 GB, free: 8.879 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.6618, allocations: 4 kB / 0.6056 GB, free: 8.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.6619, allocations: 39.86 kB / 0.6056 GB, free: 8.836 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.662, allocations: 27.91 kB / 0.6057 GB, free: 8.809 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.662, allocations: 3.938 kB / 0.6057 GB, free: 8.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.6639, allocations: 487 kB / 0.6061 GB, free: 8.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.664, allocations: 15.92 kB / 0.6061 GB, free: 8.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.664, allocations: 29.7 kB / 0.6062 GB, free: 8.277 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.6647, allocations: 193.4 kB / 0.6064 GB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.6647, allocations: 7.938 kB / 0.6064 GB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6648, allocations: 0 / 0.6064 GB, free: 8.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.6648, allocations: 0 / 0.6064 GB, free: 8.082 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.0007051/0.6655, allocations: 391.3 kB / 0.6067 GB, free: 7.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6655, allocations: 15.97 kB / 0.6068 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.6656, allocations: 11.89 kB / 0.6068 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.6658, allocations: 167 kB / 0.6069 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.6658, allocations: 8 kB / 0.6069 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.6658, allocations: 4 kB / 0.6069 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.666, allocations: 71.05 kB / 0.607 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.6661, allocations: 11.89 kB / 0.607 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.6661, allocations: 3.953 kB / 0.607 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6661, allocations: 0 / 0.607 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.6663, allocations: 43.97 kB / 0.6071 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.6669, allocations: 381.9 kB / 0.6074 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.6671, allocations: 66.52 kB / 0.6075 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/0.669, allocations: 1.001 MB / 0.6085 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.669, allocations: 34.56 kB / 0.6085 GB, free: 5.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/0.6691, allocations: 0 / 0.6085 GB, free: 5.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.01801/0.6871, allocations: 0.6727 MB / 0.6092 GB, free: 4.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.6872, allocations: 55.41 kB / 0.6092 GB, free: 4.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.6873, allocations: 101.8 kB / 0.6093 GB, free: 4.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.6874, allocations: 29.7 kB / 0.6093 GB, free: 4.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.6875, allocations: 166.7 kB / 0.6095 GB, free: 4.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.6876, allocations: 47.36 kB / 0.6095 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.6876, allocations: 0 / 0.6095 GB, free: 4.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6878, allocations: 326.8 kB / 0.6099 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.6881, allocations: 79.89 kB / 0.6099 GB, free: 4.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.6885, allocations: 110.9 kB / 0.61 GB, free: 3.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.689, allocations: 96.53 kB / 0.6101 GB, free: 3.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.689, allocations: 0.5625 kB / 0.6101 GB, free: 3.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001001/0.69, allocations: 249.5 kB / 0.6104 GB, free: 3.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.69, allocations: 4 kB / 0.6104 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.69, allocations: 0 / 0.6104 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6901, allocations: 4 kB / 0.6104 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6913, allocations: 47.94 kB / 0.6104 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6914, allocations: 7.938 kB / 0.6104 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6924, allocations: 20.05 kB / 0.6104 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.6925, allocations: 11.98 kB / 0.6105 GB, free: 3.453 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.6927, allocations: 125.7 kB / 0.6106 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.6928, allocations: 4 kB / 0.6106 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.6942, allocations: 352.9 kB / 0.6109 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6942, allocations: 4 kB / 0.6109 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6943, allocations: 0 / 0.6109 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6943, allocations: 0.875 kB / 0.6109 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.6961, allocations: 0.7602 MB / 0.6117 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6962, allocations: 0 / 0.6117 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.6974, allocations: 47.89 kB / 0.6117 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.6974, allocations: 3.938 kB / 0.6117 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.6975, allocations: 8 kB / 0.6117 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.6975, allocations: 5.484 kB / 0.6117 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6975, allocations: 4 kB / 0.6117 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6986, allocations: 355.3 kB / 0.6121 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.6988, allocations: 108.9 kB / 0.6122 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.6989, allocations: 7.938 kB / 0.6122 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.6998, allocations: 8 kB / 0.6122 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7, allocations: 15.97 kB / 0.6122 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.7, allocations: 11.98 kB / 0.6122 GB, free: 1.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.7001, allocations: 84.16 kB / 0.6123 GB, free: 1.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7001, allocations: 0 / 0.6123 GB, free: 1.434 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006418/0.7008, allocations: 95.98 kB / 0.6124 GB, free: 1.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006372/0.7014, allocations: 219.1 kB / 0.6126 GB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.7023, allocations: 215.2 kB / 0.6128 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7023, allocations: 0 / 0.6128 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.7027, allocations: 111.9 kB / 0.6129 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.7032, allocations: 34.69 kB / 0.6129 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/0.7042, allocations: 340.9 kB / 0.6133 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.7046, allocations: 0.7007 MB / 0.6139 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.705, allocations: 43.38 kB / 0.614 GB, free: 15.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.705, allocations: 0 / 0.614 GB, free: 15.63 MB / 426.7 MB Notification: Performance of Templates: time 0.01138/0.7164, allocations: 4.257 MB / 0.6181 GB, free: 11.37 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches