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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 100.5 kB / 16.4 MB, free: 6.488 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.001303/0.001303, allocations: 188.2 kB / 17.34 MB, free: 5.734 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2076/0.2076, allocations: 43.53 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.002111/0.002111, allocations: 74.09 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3736/0.48, allocations: 150.9 MB / 0.6347 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.482, allocations: 1.49 MB / 0.6362 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.482, allocations: 3 kB / 0.6362 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.4824, allocations: 47.73 kB / 0.6362 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.4835, allocations: 390.1 kB / 0.6366 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.484, allocations: 168.4 kB / 0.6367 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.4843, allocations: 183.2 kB / 0.6369 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.4843, allocations: 19.97 kB / 0.6369 GB, free: 1.883 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.4845, allocations: 75.7 kB / 0.637 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4847, allocations: 59.75 kB / 0.6371 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4847, allocations: 8 kB / 0.6371 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.4857, allocations: 0.569 MB / 0.6376 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.4858, allocations: 43.88 kB / 0.6377 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.4859, allocations: 47.8 kB / 0.6377 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.4865, allocations: 382.1 kB / 0.6381 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4865, allocations: 0 / 0.6381 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4865, allocations: 0 / 0.6381 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4865, allocations: 0 / 0.6381 GB, free: 0.7148 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005455/0.4871, allocations: 434.9 kB / 0.6385 GB, free: 248 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4871, allocations: 11.89 kB / 0.6385 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.4872, allocations: 46.73 kB / 0.6386 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.4893, allocations: 197.1 kB / 0.6387 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.4896, allocations: 208.3 kB / 0.6389 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4896, allocations: 7.938 kB / 0.639 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4897, allocations: 8 kB / 0.639 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.4902, allocations: 201.5 kB / 0.6392 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4902, allocations: 0 / 0.6392 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.4902, allocations: 11.98 kB / 0.6392 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4902, allocations: 4 kB / 0.6392 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.4908, allocations: 247.7 kB / 0.6394 GB, free: 15.27 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.001718/0.4926, allocations: 0.6568 MB / 0.64 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.493, allocations: 191 kB / 0.6402 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.4933, allocations: 92.81 kB / 0.6403 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.4934, allocations: 97.03 kB / 0.6404 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4935, allocations: 34.5 kB / 0.6404 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4935, allocations: 0 / 0.6404 GB, free: 14.11 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.005741/0.4992, allocations: 1.538 MB / 0.6419 GB, free: 12.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4993, allocations: 51.41 kB / 0.642 GB, free: 12.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.4994, allocations: 109.8 kB / 0.6421 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4994, allocations: 29.7 kB / 0.6421 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.4995, allocations: 96.36 kB / 0.6422 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.4996, allocations: 75.38 kB / 0.6423 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.4997, allocations: 41.7 kB / 0.6423 GB, free: 12.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4998, allocations: 326.8 kB / 0.6426 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.5001, allocations: 87.95 kB / 0.6427 GB, free: 11.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.5003, allocations: 123.2 kB / 0.6428 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.5008, allocations: 227.3 kB / 0.6431 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.5009, allocations: 7.938 kB / 0.6431 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006353/0.5015, allocations: 286.2 kB / 0.6433 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5015, allocations: 4 kB / 0.6433 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5015, allocations: 0 / 0.6433 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.5017, allocations: 24.94 kB / 0.6434 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.5021, allocations: 57.08 kB / 0.6434 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003849/0.5025, allocations: 0.5328 MB / 0.6439 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.5028, allocations: 8.016 kB / 0.6439 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.5028, allocations: 12.09 kB / 0.644 GB, free: 10.29 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.0001338/0.503, allocations: 137.6 kB / 0.6441 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.503, allocations: 15.91 kB / 0.6441 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.5038, allocations: 315.4 kB / 0.6444 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5038, allocations: 7.984 kB / 0.6444 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5038, allocations: 3.938 kB / 0.6444 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5038, allocations: 0 / 0.6444 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.505, allocations: 0.6904 MB / 0.6451 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.505, allocations: 0 / 0.6451 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.5055, allocations: 55.89 kB / 0.6451 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-05/0.5056, allocations: 16.84 kB / 0.6452 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.5056, allocations: 11.98 kB / 0.6452 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.5066, allocations: 1.363 MB / 0.6465 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5066, allocations: 4.031 kB / 0.6465 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.5075, allocations: 446.8 kB / 0.6469 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.5076, allocations: 93.05 kB / 0.647 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.5076, allocations: 12 kB / 0.647 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.5079, allocations: 7.984 kB / 0.647 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.508, allocations: 15.98 kB / 0.6471 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.508, allocations: 15.97 kB / 0.6471 GB, free: 6.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.5081, allocations: 83.28 kB / 0.6472 GB, free: 6.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5081, allocations: 0 / 0.6472 GB, free: 6.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.5086, allocations: 135.7 kB / 0.6473 GB, free: 6.613 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.001677/0.5103, allocations: 1.128 MB / 0.6484 GB, free: 5.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.5109, allocations: 235.7 kB / 0.6486 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5109, allocations: 0 / 0.6486 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.5113, allocations: 234.5 kB / 0.6488 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.5118, allocations: 49.59 kB / 0.6489 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.5149, allocations: 2.142 MB / 0.651 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.5152, allocations: 0.7046 MB / 0.6517 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.5156, allocations: 57.52 kB / 0.6517 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5157, allocations: 39.42 kB / 0.6518 GB, free: 1.84 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5158, allocations: 4 kB / 0.6518 GB, free: 1.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.5655, allocations: 7.973 MB / 0.6595 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.52, allocations: 12 kB / 0.6596 GB, free: 9.836 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/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) Reference file matches