Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001341/0.001341, allocations: 188 kB / 19.34 MB, free: 3.641 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.492/1.492, allocations: 222.9 MB / 243 MB, free: 15.14 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.2252/0.2252, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 58.09 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 60.84 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4749/0.6485, allocations: 149.6 MB / 0.6057 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.6503, allocations: 1.591 MB / 0.6073 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.6504, allocations: 0 / 0.6073 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.6508, allocations: 47.72 kB / 0.6073 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000948/0.6518, allocations: 405.9 kB / 0.6077 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.6523, allocations: 175.4 kB / 0.6079 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.6526, allocations: 179.3 kB / 0.6081 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.6526, allocations: 7.938 kB / 0.6081 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.6528, allocations: 83.69 kB / 0.6082 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.6529, allocations: 51.83 kB / 0.6082 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.6529, allocations: 8 kB / 0.6082 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.654, allocations: 0.5924 MB / 0.6088 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.654, allocations: 27.91 kB / 0.6088 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.6541, allocations: 55.78 kB / 0.6089 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.6547, allocations: 407.6 kB / 0.6093 GB, free: 7.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6547, allocations: 0 / 0.6093 GB, free: 7.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.6547, allocations: 0 / 0.6093 GB, free: 7.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.6547, allocations: 3.938 kB / 0.6093 GB, free: 7.117 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005403/0.6553, allocations: 432.1 kB / 0.6097 GB, free: 6.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6553, allocations: 8.031 kB / 0.6097 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.6575, allocations: 196.6 kB / 0.6099 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.6578, allocations: 208.2 kB / 0.6101 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6578, allocations: 11.94 kB / 0.6101 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.6579, allocations: 4 kB / 0.6101 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.6584, allocations: 201.5 kB / 0.6103 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.6584, allocations: 0 / 0.6103 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.6584, allocations: 4 kB / 0.6103 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.6584, allocations: 3.984 kB / 0.6103 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.659, allocations: 243.8 kB / 0.6105 GB, free: 5.742 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.6608, allocations: 0.6644 MB / 0.6112 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.6612, allocations: 194.4 kB / 0.6114 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.6615, allocations: 92.81 kB / 0.6114 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.6616, allocations: 89.09 kB / 0.6115 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6617, allocations: 30.56 kB / 0.6116 GB, free: 4.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.6617, allocations: 4 kB / 0.6116 GB, free: 4.578 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005565/0.6673, allocations: 1.535 MB / 0.6131 GB, free: 2.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6673, allocations: 59.41 kB / 0.6131 GB, free: 2.867 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.6674, allocations: 105.8 kB / 0.6132 GB, free: 2.754 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.6675, allocations: 33.7 kB / 0.6132 GB, free: 2.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.6675, allocations: 96.31 kB / 0.6133 GB, free: 2.617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.6676, allocations: 63.05 kB / 0.6134 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/0.6677, allocations: 41.7 kB / 0.6134 GB, free: 2.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6678, allocations: 322.8 kB / 0.6137 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.6681, allocations: 91.95 kB / 0.6138 GB, free: 2.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.6683, allocations: 128.9 kB / 0.614 GB, free: 1.957 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.6688, allocations: 224.8 kB / 0.6142 GB, free: 1.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6688, allocations: 0 / 0.6142 GB, free: 1.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005969/0.6694, allocations: 284.2 kB / 0.6144 GB, free: 1.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6694, allocations: 4 kB / 0.6144 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6694, allocations: 3.938 kB / 0.6145 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.6696, allocations: 24.84 kB / 0.6145 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.67, allocations: 67.98 kB / 0.6145 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004019/0.6705, allocations: 0.5289 MB / 0.6151 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.6707, allocations: 8.016 kB / 0.6151 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.6708, allocations: 15.94 kB / 0.6151 GB, free: 0.7617 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.6709, allocations: 133.9 kB / 0.6152 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.671, allocations: 7.906 kB / 0.6152 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.6717, allocations: 319.4 kB / 0.6155 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6717, allocations: 7.938 kB / 0.6155 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6717, allocations: 0 / 0.6155 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6718, allocations: 0 / 0.6155 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.6729, allocations: 0.6834 MB / 0.6162 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6729, allocations: 0 / 0.6162 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.6734, allocations: 47.95 kB / 0.6162 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.6735, allocations: 20.84 kB / 0.6163 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.6735, allocations: 11.98 kB / 0.6163 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009799/0.6745, allocations: 1.36 MB / 0.6176 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6745, allocations: 7.969 kB / 0.6176 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.6754, allocations: 448.9 kB / 0.618 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.6754, allocations: 92.95 kB / 0.6181 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.6755, allocations: 4.875 kB / 0.6181 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.6758, allocations: 16.05 kB / 0.6181 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.6758, allocations: 15.92 kB / 0.6182 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.6759, allocations: 15.98 kB / 0.6182 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.364e-05/0.6759, allocations: 87.28 kB / 0.6183 GB, free: 13.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6759, allocations: 0 / 0.6183 GB, free: 13.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005949/0.6765, allocations: 127.9 kB / 0.6184 GB, free: 13.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000662/0.6772, allocations: 262.9 kB / 0.6186 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006222/0.6778, allocations: 235.1 kB / 0.6189 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6779, allocations: 4 kB / 0.6189 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.6783, allocations: 230.6 kB / 0.6191 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.6787, allocations: 50.17 kB / 0.6191 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.6797, allocations: 477.2 kB / 0.6196 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.68, allocations: 0.7085 MB / 0.6203 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.6803, allocations: 57.55 kB / 0.6203 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6804, allocations: 23.42 kB / 0.6204 GB, free: 11.01 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.6804, allocations: 0 / 0.6204 GB, free: 11.01 MB / 462.1 MB Notification: Performance of Templates: time 0.01066/0.6911, allocations: 6.179 MB / 0.6264 GB, free: 4.848 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches