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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001318/0.001318, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001437/0.001438, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.187/0.187, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1526/0.4587, allocations: 151.5 MB / 0.6668 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.4602, allocations: 1.183 MB / 0.668 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.4603, allocations: 8 kB / 0.668 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.4605, allocations: 35.75 kB / 0.668 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.4606, allocations: 31.7 kB / 0.6681 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.4619, allocations: 433.9 kB / 0.6685 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.4621, allocations: 75.53 kB / 0.6685 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.4621, allocations: 4 kB / 0.6685 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.4622, allocations: 31.86 kB / 0.6686 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.4623, allocations: 27.91 kB / 0.6686 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.4623, allocations: 4 kB / 0.6686 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4633, allocations: 0.4907 MB / 0.6691 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.4633, allocations: 11.94 kB / 0.6691 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.4634, allocations: 23.86 kB / 0.6691 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.4639, allocations: 311.9 kB / 0.6694 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.464, allocations: 0 / 0.6694 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.764e-06/0.464, allocations: 0 / 0.6694 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.464, allocations: 0 / 0.6694 GB, free: 1.34 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.0006285/0.4646, allocations: 418.8 kB / 0.6698 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4647, allocations: 8.031 kB / 0.6698 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.4647, allocations: 8.891 kB / 0.6698 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4648, allocations: 171 kB / 0.67 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4649, allocations: 0 / 0.67 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.4649, allocations: 8 kB / 0.67 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.4651, allocations: 69.61 kB / 0.6701 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4651, allocations: 3.953 kB / 0.6701 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4651, allocations: 4 kB / 0.6701 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4651, allocations: 0 / 0.6701 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.4652, allocations: 47.97 kB / 0.6701 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.4657, allocations: 389.8 kB / 0.6705 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4658, allocations: 70.47 kB / 0.6706 GB, free: 16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.4659, allocations: 24.86 kB / 0.6706 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001807/0.4677, allocations: 1.232 MB / 0.6718 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4677, allocations: 34.5 kB / 0.6718 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.4678, allocations: 3.984 kB / 0.6718 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.00624/0.474, allocations: 0.6769 MB / 0.6725 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4741, allocations: 55.41 kB / 0.6725 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.4741, allocations: 101.8 kB / 0.6726 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4742, allocations: 25.7 kB / 0.6727 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.4742, allocations: 92.38 kB / 0.6728 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.4743, allocations: 47.53 kB / 0.6728 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4744, allocations: 45.67 kB / 0.6728 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4745, allocations: 318.8 kB / 0.6731 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.4747, allocations: 79.94 kB / 0.6732 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.4749, allocations: 102.5 kB / 0.6733 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.4753, allocations: 214 kB / 0.6735 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4754, allocations: 0 / 0.6735 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005337/0.4759, allocations: 249.6 kB / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4759, allocations: 4 kB / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4759, allocations: 0 / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4759, allocations: 4 kB / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.4766, allocations: 51.94 kB / 0.6738 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4766, allocations: 7.938 kB / 0.6738 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.4771, allocations: 16.06 kB / 0.6738 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.4772, allocations: 7.984 kB / 0.6739 GB, free: 12.3 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.0001196/0.4773, allocations: 125.8 kB / 0.674 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.4773, allocations: 7.953 kB / 0.674 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007596/0.4781, allocations: 345.6 kB / 0.6743 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4781, allocations: 4 kB / 0.6743 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4781, allocations: 0 / 0.6743 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4782, allocations: 3.984 kB / 0.6743 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4792, allocations: 0.7577 MB / 0.6751 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4792, allocations: 0 / 0.6751 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.4798, allocations: 43.95 kB / 0.6751 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.4799, allocations: 4 kB / 0.6751 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.4799, allocations: 8 kB / 0.6751 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4799, allocations: 4.234 kB / 0.6751 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4799, allocations: 7.938 kB / 0.6751 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.4805, allocations: 355.3 kB / 0.6755 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.4806, allocations: 101 kB / 0.6756 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.4806, allocations: 0 / 0.6756 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.4811, allocations: 16 kB / 0.6756 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4812, allocations: 19.91 kB / 0.6756 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.4812, allocations: 8 kB / 0.6756 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.4813, allocations: 83.27 kB / 0.6757 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4813, allocations: 0 / 0.6757 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004177/0.4817, allocations: 103.7 kB / 0.6758 GB, free: 10.19 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.0004044/0.4821, allocations: 218.9 kB / 0.676 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.4826, allocations: 211.8 kB / 0.6762 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4827, allocations: 0 / 0.6762 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.4829, allocations: 121.9 kB / 0.6763 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.4833, allocations: 31.91 kB / 0.6763 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.4839, allocations: 248.1 kB / 0.6766 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4841, allocations: 0.7117 MB / 0.6773 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000314/0.4844, allocations: 64.73 kB / 0.6773 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.4847, allocations: 35.38 kB / 0.6774 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.4847, allocations: 0 / 0.6774 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.009417/0.4941, allocations: 6.175 MB / 0.6834 GB, free: 2.332 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches