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.001289/0.001289, allocations: 104.6 kB / 16.4 MB, free: 6.512 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.001225/0.001225, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2305/0.2305, allocations: 43.52 MB / 314.1 MB, free: 456 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.002002/0.002002, allocations: 66.03 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3943/0.5137, allocations: 151.2 MB / 0.635 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.5176, allocations: 3.038 MB / 0.638 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.5178, allocations: 0 / 0.638 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.5181, allocations: 59.64 kB / 0.6381 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.5205, allocations: 1.011 MB / 0.639 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.521, allocations: 200.4 kB / 0.6392 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.5214, allocations: 346.7 kB / 0.6396 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.5215, allocations: 17.11 kB / 0.6396 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.5217, allocations: 146.9 kB / 0.6397 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.5219, allocations: 111.6 kB / 0.6398 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.522, allocations: 16 kB / 0.6398 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.5246, allocations: 1.453 MB / 0.6413 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.5247, allocations: 83.77 kB / 0.6413 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.5248, allocations: 99.58 kB / 0.6414 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.5263, allocations: 0.9894 MB / 0.6424 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5264, allocations: 4 kB / 0.6424 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5264, allocations: 0 / 0.6424 GB, free: 12.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.5264, allocations: 0 / 0.6424 GB, free: 12.25 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.0009415/0.5273, allocations: 0.5413 MB / 0.6429 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5274, allocations: 11.89 kB / 0.6429 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.5275, allocations: 54.73 kB / 0.643 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.5288, allocations: 204.5 kB / 0.6432 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.5292, allocations: 256 kB / 0.6434 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.5292, allocations: 12.75 kB / 0.6435 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.5293, allocations: 23.94 kB / 0.6435 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.53, allocations: 385.4 kB / 0.6438 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.53, allocations: 4 kB / 0.6438 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.5301, allocations: 8 kB / 0.6439 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5301, allocations: 4 kB / 0.6439 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.5307, allocations: 411.1 kB / 0.6443 GB, free: 10.26 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.001845/0.5326, allocations: 0.8086 MB / 0.645 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.533, allocations: 225.1 kB / 0.6453 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.5333, allocations: 121.6 kB / 0.6454 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/0.5352, allocations: 0.901 MB / 0.6463 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.965e-05/0.5353, allocations: 38.56 kB / 0.6463 GB, free: 7.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 5.14e-06/0.5353, allocations: 0 / 0.6463 GB, free: 7.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001348/0.5367, allocations: 361.6 kB / 0.6466 GB, free: 7.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.5368, allocations: 77.11 kB / 0.6467 GB, free: 7.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.5369, allocations: 113.8 kB / 0.6468 GB, free: 7.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.537, allocations: 37.7 kB / 0.6469 GB, free: 7.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.5371, allocations: 116.5 kB / 0.647 GB, free: 7.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5372, allocations: 111.1 kB / 0.6471 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5374, allocations: 58.03 kB / 0.6471 GB, free: 7.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5376, allocations: 330.8 kB / 0.6474 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.5378, allocations: 92.61 kB / 0.6475 GB, free: 6.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.5381, allocations: 191.4 kB / 0.6477 GB, free: 6.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.5386, allocations: 298.8 kB / 0.648 GB, free: 6.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.5386, allocations: 4 kB / 0.648 GB, free: 6.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006237/0.5392, allocations: 346.3 kB / 0.6483 GB, free: 5.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.5393, allocations: 4 kB / 0.6483 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5393, allocations: 7.984 kB / 0.6483 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.5393, allocations: 4 kB / 0.6483 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.5397, allocations: 73.28 kB / 0.6484 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5397, allocations: 8 kB / 0.6484 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.5399, allocations: 35.77 kB / 0.6485 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.54, allocations: 16 kB / 0.6485 GB, free: 5.566 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.0001634/0.5402, allocations: 137.7 kB / 0.6486 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.5403, allocations: 19.94 kB / 0.6486 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007015/0.541, allocations: 329.7 kB / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.541, allocations: 4 kB / 0.6489 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.541, allocations: 0 / 0.6489 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.541, allocations: 0 / 0.6489 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.5417, allocations: 335.1 kB / 0.6493 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5417, allocations: 7.812 kB / 0.6493 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.5421, allocations: 59.91 kB / 0.6493 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5421, allocations: 0 / 0.6493 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.5421, allocations: 8 kB / 0.6493 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5421, allocations: 7.938 kB / 0.6493 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5421, allocations: 0 / 0.6493 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.5429, allocations: 0.5112 MB / 0.6498 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.543, allocations: 92.95 kB / 0.6499 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.543, allocations: 12.05 kB / 0.6499 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.5434, allocations: 8 kB / 0.6499 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.5434, allocations: 23.97 kB / 0.65 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.5435, allocations: 11.98 kB / 0.65 GB, free: 3.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.5435, allocations: 91.27 kB / 0.6501 GB, free: 3.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5435, allocations: 0 / 0.6501 GB, free: 3.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009279/0.5445, allocations: 223.4 kB / 0.6503 GB, free: 3.621 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.002196/0.5467, allocations: 1.375 MB / 0.6516 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005989/0.5473, allocations: 251.8 kB / 0.6519 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5473, allocations: 0 / 0.6519 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.5475, allocations: 135.8 kB / 0.652 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.5482, allocations: 83.47 kB / 0.6521 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.5519, allocations: 2.684 MB / 0.6547 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.5523, allocations: 0.7245 MB / 0.6554 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003068/0.5526, allocations: 83.14 kB / 0.6555 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.5528, allocations: 63.42 kB / 0.6555 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5528, allocations: 0 / 0.6555 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.589, allocations: 10.52 MB / 0.6658 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.69, allocations: 0 / 0.6658 GB, free: 3.504 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