Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 108.6 kB / 16.41 MB, free: 6.5 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.001232/0.001233, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2057/0.2057, allocations: 43.52 MB / 314.1 MB, free: 452 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.001793/0.001793, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1152, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4276/0.5428, allocations: 151.2 MB / 0.635 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.5464, allocations: 3.035 MB / 0.638 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.5465, allocations: 0 / 0.638 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.5469, allocations: 63.58 kB / 0.6381 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.5492, allocations: 1.019 MB / 0.639 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.5497, allocations: 192.5 kB / 0.6392 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.5501, allocations: 362.6 kB / 0.6396 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/0.5502, allocations: 13.12 kB / 0.6396 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.5505, allocations: 147 kB / 0.6397 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.5507, allocations: 111.6 kB / 0.6398 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.5508, allocations: 12 kB / 0.6398 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.5534, allocations: 1.461 MB / 0.6413 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5536, allocations: 75.84 kB / 0.6413 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.5538, allocations: 111.5 kB / 0.6415 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.5557, allocations: 0.9855 MB / 0.6424 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5558, allocations: 0 / 0.6424 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5558, allocations: 0 / 0.6424 GB, free: 12.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.5558, allocations: 0 / 0.6424 GB, free: 12.24 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001157/0.557, allocations: 0.553 MB / 0.643 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.557, allocations: 11.89 kB / 0.643 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.5571, allocations: 54.73 kB / 0.643 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.5585, allocations: 200.6 kB / 0.6432 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.5589, allocations: 252.1 kB / 0.6435 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5589, allocations: 8.75 kB / 0.6435 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.559, allocations: 27.94 kB / 0.6435 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.5596, allocations: 381.4 kB / 0.6439 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5596, allocations: 3.984 kB / 0.6439 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.5596, allocations: 12 kB / 0.6439 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5597, allocations: 4 kB / 0.6439 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.5602, allocations: 403.8 kB / 0.6443 GB, free: 10.25 MB / 494.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.001571/0.5618, allocations: 0.8086 MB / 0.645 GB, free: 9.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.5622, allocations: 236.3 kB / 0.6453 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.5624, allocations: 121.7 kB / 0.6454 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.5641, allocations: 0.8932 MB / 0.6463 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.5641, allocations: 38.56 kB / 0.6463 GB, free: 7.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.965e-06/0.5641, allocations: 0 / 0.6463 GB, free: 7.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001167/0.5653, allocations: 357.6 kB / 0.6466 GB, free: 7.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.5654, allocations: 89.05 kB / 0.6467 GB, free: 7.473 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.5655, allocations: 109.8 kB / 0.6468 GB, free: 7.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.5655, allocations: 29.7 kB / 0.6469 GB, free: 7.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.5656, allocations: 116.5 kB / 0.647 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.5657, allocations: 115.1 kB / 0.6471 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5658, allocations: 62.02 kB / 0.6471 GB, free: 7.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5659, allocations: 322.8 kB / 0.6474 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.5661, allocations: 96.61 kB / 0.6475 GB, free: 6.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.5663, allocations: 187.5 kB / 0.6477 GB, free: 6.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.5668, allocations: 306.8 kB / 0.648 GB, free: 6.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5668, allocations: 0 / 0.648 GB, free: 6.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006007/0.5674, allocations: 350.6 kB / 0.6483 GB, free: 5.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5674, allocations: 4 kB / 0.6483 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5674, allocations: 4.312 kB / 0.6483 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5675, allocations: 8 kB / 0.6484 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.5678, allocations: 70.47 kB / 0.6484 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.5679, allocations: 15.86 kB / 0.6484 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.5681, allocations: 31.78 kB / 0.6485 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.5681, allocations: 12 kB / 0.6485 GB, free: 5.559 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.5683, allocations: 145.7 kB / 0.6486 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.81e-05/0.5684, allocations: 11.95 kB / 0.6486 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/0.569, allocations: 328.5 kB / 0.6489 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.569, allocations: 4 kB / 0.6489 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.569, allocations: 4 kB / 0.649 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.569, allocations: 0 / 0.649 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.5696, allocations: 335.1 kB / 0.6493 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5696, allocations: 0 / 0.6493 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.5699, allocations: 55.91 kB / 0.6493 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.5699, allocations: 4 kB / 0.6493 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.57, allocations: 11.98 kB / 0.6493 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.57, allocations: 3.938 kB / 0.6493 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.57, allocations: 3.984 kB / 0.6493 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.5707, allocations: 0.5074 MB / 0.6498 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.5708, allocations: 96.95 kB / 0.6499 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.5708, allocations: 4.062 kB / 0.6499 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.5711, allocations: 16.86 kB / 0.65 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5712, allocations: 23.91 kB / 0.65 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.5712, allocations: 16 kB / 0.65 GB, free: 3.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.5713, allocations: 91.58 kB / 0.6501 GB, free: 3.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5713, allocations: 0 / 0.6501 GB, free: 3.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000777/0.5721, allocations: 227.4 kB / 0.6503 GB, free: 3.602 MB / 494.1 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 (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.001904/0.574, allocations: 1.369 MB / 0.6516 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.5745, allocations: 251.7 kB / 0.6519 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.5745, allocations: 0 / 0.6519 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.5747, allocations: 132.1 kB / 0.652 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.5754, allocations: 89.8 kB / 0.6521 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.5786, allocations: 2.677 MB / 0.6547 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.5789, allocations: 0.7324 MB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.5792, allocations: 75.17 kB / 0.6555 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5793, allocations: 63.41 kB / 0.6555 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5793, allocations: 0 / 0.6555 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.6121, allocations: 10.52 MB / 0.6658 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.157, allocations: 11.94 kB / 0.6658 GB, free: 3.48 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches