Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",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.001213/0.001213, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001254/0.001255, allocations: 189.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.37/1.37, 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.1972/0.1972, allocations: 43.52 MB / 314.1 MB, free: 476 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.001489/0.001489, allocations: 59.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3691/0.4722, allocations: 150.6 MB / 0.6344 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.4738, allocations: 0.9848 MB / 0.6354 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.4739, allocations: 0 / 0.6354 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.4743, allocations: 31.77 kB / 0.6354 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008258/0.4751, allocations: 242.7 kB / 0.6357 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.4755, allocations: 115.6 kB / 0.6358 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.4758, allocations: 167.3 kB / 0.6359 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.4759, allocations: 7.984 kB / 0.6359 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.4761, allocations: 91.62 kB / 0.636 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.4762, allocations: 55.77 kB / 0.6361 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4762, allocations: 8 kB / 0.6361 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.4768, allocations: 259.7 kB / 0.6363 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.4768, allocations: 23.92 kB / 0.6364 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.4769, allocations: 39.86 kB / 0.6364 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.4774, allocations: 286.3 kB / 0.6367 GB, free: 2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4774, allocations: 0 / 0.6367 GB, free: 2 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.4774, allocations: 0 / 0.6367 GB, free: 2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.4775, allocations: 3.938 kB / 0.6367 GB, free: 1.996 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005852/0.478, allocations: 407.1 kB / 0.6371 GB, free: 1.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4781, allocations: 13.58 kB / 0.6371 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.4782, allocations: 42.73 kB / 0.6371 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.4803, allocations: 189.1 kB / 0.6373 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4807, allocations: 204.2 kB / 0.6375 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.4808, allocations: 15.92 kB / 0.6375 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.4808, allocations: 12 kB / 0.6375 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.4813, allocations: 231.3 kB / 0.6377 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4814, allocations: 0 / 0.6377 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.4814, allocations: 0 / 0.6377 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.4814, allocations: 4 kB / 0.6377 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.4818, allocations: 171.8 kB / 0.6379 GB, free: 0.6289 MB / 478.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.001018/0.4829, allocations: 0.5681 MB / 0.6385 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.4832, allocations: 138.5 kB / 0.6386 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4834, allocations: 79.03 kB / 0.6387 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.4834, allocations: 4 kB / 0.6387 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4834, allocations: 37.45 kB / 0.6387 GB, free: 15.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.4834, allocations: 0 / 0.6387 GB, free: 15.73 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.005266/0.4887, allocations: 1.3 MB / 0.64 GB, free: 14.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4888, allocations: 55.39 kB / 0.64 GB, free: 14.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.4888, allocations: 117.8 kB / 0.6401 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.4889, allocations: 25.7 kB / 0.6402 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.4889, allocations: 96.03 kB / 0.6403 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.489, allocations: 75.36 kB / 0.6403 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.4891, allocations: 57.7 kB / 0.6404 GB, free: 13.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.4892, allocations: 318.8 kB / 0.6407 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.4894, allocations: 67.95 kB / 0.6408 GB, free: 13.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.4895, allocations: 103.4 kB / 0.6409 GB, free: 13.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.4899, allocations: 187.3 kB / 0.641 GB, free: 13.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4899, allocations: 0 / 0.641 GB, free: 13.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004766/0.4904, allocations: 262.2 kB / 0.6413 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4904, allocations: 4 kB / 0.6413 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4904, allocations: 0 / 0.6413 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.4906, allocations: 56.92 kB / 0.6413 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.4909, allocations: 47.97 kB / 0.6414 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/0.4913, allocations: 0.5718 MB / 0.6419 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4914, allocations: 4 kB / 0.642 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.4915, allocations: 31.98 kB / 0.642 GB, free: 12.18 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.0001195/0.4916, allocations: 129.8 kB / 0.6421 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.4917, allocations: 7.953 kB / 0.6421 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007089/0.4924, allocations: 340.2 kB / 0.6424 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4924, allocations: 3.938 kB / 0.6424 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4924, allocations: 7.938 kB / 0.6424 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4924, allocations: 3.688 kB / 0.6425 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.4934, allocations: 0.6269 MB / 0.6431 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4934, allocations: 0 / 0.6431 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.4937, allocations: 63.89 kB / 0.6431 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-05/0.4938, allocations: 20.84 kB / 0.6431 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4938, allocations: 12 kB / 0.6432 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008125/0.4947, allocations: 1.367 MB / 0.6445 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4947, allocations: 0 / 0.6445 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.4953, allocations: 441.9 kB / 0.6449 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4954, allocations: 97.14 kB / 0.645 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.4954, allocations: 4 kB / 0.645 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4956, allocations: 8 kB / 0.645 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4957, allocations: 19.97 kB / 0.645 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.4957, allocations: 31.98 kB / 0.6451 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.4958, allocations: 87.59 kB / 0.6452 GB, free: 8.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4958, allocations: 0 / 0.6452 GB, free: 8.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.4962, allocations: 75.92 kB / 0.6452 GB, free: 8.602 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 (21): * Single equations (assignments): 20 * 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.001103/0.4973, allocations: 1.026 MB / 0.6462 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.4978, allocations: 200 kB / 0.6464 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4978, allocations: 0 / 0.6464 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.4981, allocations: 230.5 kB / 0.6466 GB, free: 7.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.4985, allocations: 52.47 kB / 0.6467 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.501, allocations: 2.076 MB / 0.6487 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.5013, allocations: 0.7046 MB / 0.6494 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.5016, allocations: 77.39 kB / 0.6495 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5018, allocations: 67.39 kB / 0.6495 GB, free: 3.98 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5018, allocations: 0 / 0.6495 GB, free: 3.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.53, allocations: 7.313 MB / 0.6567 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.52, allocations: 3.984 kB / 0.6567 GB, free: 12.66 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_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_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches