Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 179.4 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007207/0.0007207, allocations: 89.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.28/0.28, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09147, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2978/0.3893, allocations: 137.1 MB / 0.6132 GB, free: 13.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.3922, allocations: 2.825 MB / 0.616 GB, free: 10.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.3923, allocations: 4 kB / 0.616 GB, free: 10.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3926, allocations: 55.7 kB / 0.616 GB, free: 10.9 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.3945, allocations: 0.8948 MB / 0.6169 GB, free: 10 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.395, allocations: 174.1 kB / 0.6171 GB, free: 9.832 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.3954, allocations: 402.6 kB / 0.6175 GB, free: 9.438 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.3955, allocations: 8.047 kB / 0.6175 GB, free: 9.434 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3957, allocations: 143.5 kB / 0.6176 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.3959, allocations: 115.6 kB / 0.6177 GB, free: 9.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.396, allocations: 11.94 kB / 0.6177 GB, free: 9.168 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.3987, allocations: 1.73 MB / 0.6194 GB, free: 7.434 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.3988, allocations: 71.83 kB / 0.6195 GB, free: 7.363 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3989, allocations: 117.3 kB / 0.6196 GB, free: 7.242 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008852/0.3998, allocations: 0.7579 MB / 0.6203 GB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3998, allocations: 0 / 0.6203 GB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3998, allocations: 0 / 0.6203 GB, free: 6.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3998, allocations: 4 kB / 0.6204 GB, free: 6.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006562/0.4005, allocations: 499 kB / 0.6208 GB, free: 5.949 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.4005, allocations: 8.031 kB / 0.6208 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.4038, allocations: 383.7 kB / 0.6212 GB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.4041, allocations: 260.1 kB / 0.6215 GB, free: 5.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.4041, allocations: 12.92 kB / 0.6215 GB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.4042, allocations: 23.94 kB / 0.6215 GB, free: 5.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.4051, allocations: 0.489 MB / 0.622 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4051, allocations: 0 / 0.622 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.4052, allocations: 8 kB / 0.622 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.4052, allocations: 4.5 kB / 0.622 GB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.4062, allocations: 0.509 MB / 0.6225 GB, free: 4.227 MB / 442.7 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.002089/0.4083, allocations: 0.9938 MB / 0.6234 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.4089, allocations: 289.5 kB / 0.6237 GB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.4091, allocations: 153.6 kB / 0.6239 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.4107, allocations: 0.8942 MB / 0.6247 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4107, allocations: 35.06 kB / 0.6248 GB, free: 1.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.4107, allocations: 4 kB / 0.6248 GB, free: 1.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008634/0.4116, allocations: 409.4 kB / 0.6252 GB, free: 1.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.4117, allocations: 85.05 kB / 0.6252 GB, free: 1.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.4117, allocations: 105.8 kB / 0.6253 GB, free: 1.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.4118, allocations: 33.7 kB / 0.6254 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.4118, allocations: 112.3 kB / 0.6255 GB, free: 0.875 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.4119, allocations: 110.5 kB / 0.6256 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.412, allocations: 4 kB / 0.6256 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4121, allocations: 326.8 kB / 0.6259 GB, free: 444 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.4123, allocations: 116.6 kB / 0.626 GB, free: 328 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.4126, allocations: 206.4 kB / 0.6262 GB, free: 88 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.4131, allocations: 331.9 kB / 0.6265 GB, free: 15.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4131, allocations: 0 / 0.6265 GB, free: 15.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006829/0.4138, allocations: 386.2 kB / 0.6269 GB, free: 15.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4138, allocations: 8 kB / 0.6269 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4139, allocations: 0 / 0.6269 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4139, allocations: 4 kB / 0.6269 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.4143, allocations: 80.52 kB / 0.627 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4143, allocations: 8.25 kB / 0.627 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.4146, allocations: 39.62 kB / 0.627 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.4146, allocations: 23.92 kB / 0.6271 GB, free: 15.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.000136/0.4148, allocations: 137.8 kB / 0.6272 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.4149, allocations: 15.84 kB / 0.6272 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.4156, allocations: 388.8 kB / 0.6276 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4157, allocations: 6.562 kB / 0.6276 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4157, allocations: 0 / 0.6276 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4157, allocations: 0 / 0.6276 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.4163, allocations: 364.6 kB / 0.6279 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4163, allocations: 0 / 0.6279 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.4167, allocations: 59.91 kB / 0.628 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4167, allocations: 0 / 0.628 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.4167, allocations: 15.98 kB / 0.628 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4168, allocations: 4 kB / 0.628 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4168, allocations: 0 / 0.628 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.4176, allocations: 0.5473 MB / 0.6285 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.4177, allocations: 88.95 kB / 0.6286 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.4177, allocations: 8.062 kB / 0.6286 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.4181, allocations: 27.83 kB / 0.6287 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.4181, allocations: 23.97 kB / 0.6287 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.4182, allocations: 11.98 kB / 0.6287 GB, free: 13.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.539e-05/0.4182, allocations: 91.27 kB / 0.6288 GB, free: 13.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4182, allocations: 0 / 0.6288 GB, free: 13.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008077/0.4191, allocations: 235.8 kB / 0.629 GB, free: 13.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * 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.001158/0.4202, allocations: 436.5 kB / 0.6294 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.4208, allocations: 296 kB / 0.6297 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4208, allocations: 3.938 kB / 0.6297 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.4211, allocations: 152.4 kB / 0.6299 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.4217, allocations: 90.66 kB / 0.6299 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.423, allocations: 0.9337 MB / 0.6309 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4233, allocations: 0.7287 MB / 0.6316 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4235, allocations: 35.42 kB / 0.6316 GB, free: 10.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4235, allocations: 7.938 kB / 0.6316 GB, free: 10.39 MB / 458.7 MB Notification: Performance of Templates: time 0.009638/0.4331, allocations: 6.514 MB / 0.638 GB, free: 3.883 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches