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.001733/0.001733, allocations: 105.4 kB / 16.4 MB, free: 6.484 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.00192/0.00192, allocations: 193.5 kB / 17.34 MB, free: 5.766 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.376/1.376, 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.2076/0.2076, allocations: 43.52 MB / 314.1 MB, free: 472 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.00154/0.00154, allocations: 71.91 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4095/0.5156, allocations: 150.9 MB / 0.6347 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.5177, allocations: 1.486 MB / 0.6362 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.5178, allocations: 0 / 0.6362 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.5182, allocations: 50.22 kB / 0.6362 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.5194, allocations: 387.4 kB / 0.6366 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.5199, allocations: 172.3 kB / 0.6367 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.5202, allocations: 183.2 kB / 0.6369 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.5203, allocations: 15.98 kB / 0.6369 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.5204, allocations: 75.75 kB / 0.637 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.5206, allocations: 67.69 kB / 0.6371 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.5206, allocations: 4 kB / 0.6371 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.5218, allocations: 0.573 MB / 0.6376 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.5218, allocations: 33.83 kB / 0.6377 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.5219, allocations: 47.8 kB / 0.6377 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007705/0.5227, allocations: 391.1 kB / 0.6381 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5227, allocations: 0 / 0.6381 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5227, allocations: 0 / 0.6381 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.5228, allocations: 4 kB / 0.6381 GB, free: 0.707 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.0006362/0.5234, allocations: 427.3 kB / 0.6385 GB, free: 248 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5235, allocations: 19.83 kB / 0.6385 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.5235, allocations: 38.75 kB / 0.6385 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.5257, allocations: 194.6 kB / 0.6387 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.526, allocations: 220.2 kB / 0.6389 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.526, allocations: 11.94 kB / 0.639 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.526, allocations: 8 kB / 0.639 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.5265, allocations: 201.5 kB / 0.6392 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5265, allocations: 0 / 0.6392 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.5266, allocations: 4 kB / 0.6392 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5266, allocations: 4 kB / 0.6392 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.5271, allocations: 243.8 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.001726/0.5289, allocations: 0.649 MB / 0.64 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.5293, allocations: 181.7 kB / 0.6402 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.5295, allocations: 99.25 kB / 0.6403 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.5297, allocations: 93.09 kB / 0.6404 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5297, allocations: 34.56 kB / 0.6404 GB, free: 14.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.5297, allocations: 0 / 0.6404 GB, free: 14.13 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.005777/0.5355, allocations: 1.534 MB / 0.6419 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5356, allocations: 55.34 kB / 0.642 GB, free: 12.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.5357, allocations: 113.8 kB / 0.6421 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.5357, allocations: 29.7 kB / 0.6421 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.5358, allocations: 100.3 kB / 0.6422 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.5359, allocations: 78.92 kB / 0.6423 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.536, allocations: 41.7 kB / 0.6423 GB, free: 12.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5361, allocations: 318.8 kB / 0.6426 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5364, allocations: 87.95 kB / 0.6427 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.5366, allocations: 131.2 kB / 0.6428 GB, free: 11.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.5371, allocations: 219.3 kB / 0.643 GB, free: 11.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5371, allocations: 3.938 kB / 0.643 GB, free: 11.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006313/0.5378, allocations: 282.2 kB / 0.6433 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5378, allocations: 8 kB / 0.6433 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5378, allocations: 0 / 0.6433 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.538, allocations: 29.97 kB / 0.6433 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.5384, allocations: 59.89 kB / 0.6434 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003983/0.5388, allocations: 0.5368 MB / 0.6439 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.5391, allocations: 8 kB / 0.6439 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.5391, allocations: 11.98 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.0001269/0.5393, allocations: 129.7 kB / 0.6441 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.911e-05/0.5394, allocations: 11.91 kB / 0.6441 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.5401, allocations: 315.1 kB / 0.6444 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5401, allocations: 4 kB / 0.6444 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.5401, allocations: 7.938 kB / 0.6444 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5401, allocations: 0 / 0.6444 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.5413, allocations: 0.6791 MB / 0.6451 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5413, allocations: 4 kB / 0.6451 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.5417, allocations: 55.98 kB / 0.6451 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.201e-05/0.5418, allocations: 20.84 kB / 0.6451 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.5419, allocations: 8 kB / 0.6451 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.5429, allocations: 1.367 MB / 0.6465 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5429, allocations: 3.938 kB / 0.6465 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.5437, allocations: 450.8 kB / 0.6469 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.5437, allocations: 88.98 kB / 0.647 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.5438, allocations: 7.984 kB / 0.647 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.5441, allocations: 8 kB / 0.647 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.5442, allocations: 24.03 kB / 0.647 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.5442, allocations: 4 kB / 0.647 GB, free: 6.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.5442, allocations: 91.27 kB / 0.6471 GB, free: 6.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5443, allocations: 0 / 0.6471 GB, free: 6.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.5448, allocations: 131.9 kB / 0.6473 GB, free: 6.633 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.001689/0.5465, allocations: 1.136 MB / 0.6484 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.5471, allocations: 223.8 kB / 0.6486 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.5471, allocations: 12.12 kB / 0.6486 GB, free: 5.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.5475, allocations: 230.5 kB / 0.6488 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.548, allocations: 52.61 kB / 0.6489 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.5508, allocations: 2.135 MB / 0.6509 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.5511, allocations: 0.7085 MB / 0.6516 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.5514, allocations: 49.39 kB / 0.6517 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5515, allocations: 39.42 kB / 0.6517 GB, free: 1.859 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5516, allocations: 3.938 kB / 0.6517 GB, free: 1.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.582, allocations: 8.033 MB / 0.6596 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.99, allocations: 19.98 kB / 0.6596 GB, free: 9.785 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