Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 217.7 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2392/0.2392, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002864, allocations: 71.89 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1281, allocations: 61.05 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4119/0.54, allocations: 129.7 MB / 0.6428 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.5426, allocations: 1.342 MB / 0.6442 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.5427, allocations: 0 / 0.6442 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.543, allocations: 47.69 kB / 0.6442 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.5443, allocations: 398 kB / 0.6446 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.5449, allocations: 181.2 kB / 0.6448 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.5452, allocations: 179.3 kB / 0.6449 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.5452, allocations: 7.984 kB / 0.6449 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.5454, allocations: 84.81 kB / 0.645 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.5455, allocations: 59.73 kB / 0.6451 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.5456, allocations: 8 kB / 0.6451 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009523/0.5465, allocations: 0.5222 MB / 0.6456 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.5466, allocations: 31.91 kB / 0.6456 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.5466, allocations: 43.84 kB / 0.6457 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.5472, allocations: 381.1 kB / 0.646 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5472, allocations: 0 / 0.646 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5472, allocations: 0 / 0.646 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.5472, allocations: 4 kB / 0.646 GB, free: 13.51 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005766/0.5478, allocations: 353.8 kB / 0.6464 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5478, allocations: 8.031 kB / 0.6464 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.5479, allocations: 46.23 kB / 0.6464 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.5501, allocations: 205.1 kB / 0.6466 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.5503, allocations: 150.6 kB / 0.6468 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5503, allocations: 11.94 kB / 0.6468 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.5504, allocations: 8 kB / 0.6468 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.5509, allocations: 274.6 kB / 0.647 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5509, allocations: 0 / 0.647 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.5509, allocations: 11.98 kB / 0.647 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5509, allocations: 4 kB / 0.647 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.5515, allocations: 240.4 kB / 0.6473 GB, free: 12.14 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.001784/0.5533, allocations: 0.5605 MB / 0.6478 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.5537, allocations: 186.5 kB / 0.648 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.5539, allocations: 88.81 kB / 0.6481 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.5541, allocations: 16 kB / 0.6481 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5541, allocations: 39.8 kB / 0.6481 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5541, allocations: 0 / 0.6481 GB, free: 11.2 MB / 494.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.005769/0.5599, allocations: 1.387 MB / 0.6495 GB, free: 9.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.5599, allocations: 59.41 kB / 0.6496 GB, free: 9.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.5601, allocations: 113.8 kB / 0.6497 GB, free: 9.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.5601, allocations: 29.7 kB / 0.6497 GB, free: 9.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.5602, allocations: 96.36 kB / 0.6498 GB, free: 9.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.5603, allocations: 79.36 kB / 0.6499 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5604, allocations: 45.7 kB / 0.6499 GB, free: 9.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5606, allocations: 318.8 kB / 0.6502 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.5608, allocations: 87.95 kB / 0.6503 GB, free: 8.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.5611, allocations: 127.2 kB / 0.6504 GB, free: 8.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.5616, allocations: 223.3 kB / 0.6506 GB, free: 8.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5616, allocations: 7.938 kB / 0.6506 GB, free: 8.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007161/0.5623, allocations: 286.2 kB / 0.6509 GB, free: 8.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5624, allocations: 4 kB / 0.6509 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5624, allocations: 4.672 kB / 0.6509 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.5626, allocations: 24.84 kB / 0.6509 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.5631, allocations: 56.06 kB / 0.651 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005804/0.5636, allocations: 0.5367 MB / 0.6515 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.5639, allocations: 16.02 kB / 0.6515 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.564, allocations: 11.62 kB / 0.6515 GB, free: 7.535 MB / 494.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.0002088/0.5642, allocations: 129.7 kB / 0.6517 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.5643, allocations: 7.953 kB / 0.6517 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007965/0.5651, allocations: 311.2 kB / 0.652 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5651, allocations: 0 / 0.652 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5651, allocations: 7.938 kB / 0.652 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5651, allocations: 3.984 kB / 0.652 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.5663, allocations: 0.6125 MB / 0.6526 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5663, allocations: 4 kB / 0.6526 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.5668, allocations: 55.83 kB / 0.6526 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.84e-05/0.5669, allocations: 20.84 kB / 0.6527 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.5669, allocations: 11.94 kB / 0.6527 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.5682, allocations: 1.264 MB / 0.6539 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5682, allocations: 0 / 0.6539 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.5691, allocations: 451.1 kB / 0.6543 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.5691, allocations: 19.88 kB / 0.6543 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.5691, allocations: 0 / 0.6543 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.5695, allocations: 16.17 kB / 0.6544 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5695, allocations: 19.97 kB / 0.6544 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.5695, allocations: 8 kB / 0.6544 GB, free: 4.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.724e-05/0.5696, allocations: 91.27 kB / 0.6545 GB, free: 4.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5696, allocations: 0 / 0.6545 GB, free: 4.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.5702, allocations: 131.7 kB / 0.6546 GB, free: 4.164 MB / 494.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.001854/0.572, allocations: 1.125 MB / 0.6557 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.5727, allocations: 223.7 kB / 0.6559 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5727, allocations: 0 / 0.6559 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.5731, allocations: 236.3 kB / 0.6561 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.5736, allocations: 54.36 kB / 0.6562 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.5769, allocations: 2.153 MB / 0.6583 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.791e-05/0.577, allocations: 93.97 kB / 0.6584 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.5773, allocations: 49.39 kB / 0.6584 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.5775, allocations: 35.42 kB / 0.6585 GB, free: 20 kB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5775, allocations: 0 / 0.6585 GB, free: 20 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/0.6186, allocations: 8.711 MB / 0.667 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.9, allocations: 4.062 kB / 0.667 GB, free: 7.293 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.31429749308154]