Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_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.0009921/0.0009921, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.001026/0.001026, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003143, allocations: 11.98 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3453/0.4553, allocations: 145.5 MB / 0.6033 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.4573, allocations: 1.616 MB / 0.6049 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.4574, allocations: 0 / 0.6049 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.4578, allocations: 58.34 kB / 0.605 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009101/0.4587, allocations: 362.1 kB / 0.6053 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.4592, allocations: 155.5 kB / 0.6055 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.4594, allocations: 243.2 kB / 0.6057 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.4595, allocations: 10.19 kB / 0.6057 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.4597, allocations: 67.75 kB / 0.6058 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4598, allocations: 59.83 kB / 0.6058 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4598, allocations: 4 kB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.461, allocations: 0.7055 MB / 0.6065 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.461, allocations: 35.83 kB / 0.6066 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.4611, allocations: 74.44 kB / 0.6066 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.4618, allocations: 446.8 kB / 0.607 GB, free: 13.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4618, allocations: 0 / 0.607 GB, free: 13.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4618, allocations: 0 / 0.607 GB, free: 13.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.4618, allocations: 0 / 0.607 GB, free: 13.32 MB / 446.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.0005551/0.4624, allocations: 410.5 kB / 0.6074 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4624, allocations: 8.031 kB / 0.6074 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.4625, allocations: 42.75 kB / 0.6075 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.4647, allocations: 192.6 kB / 0.6077 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4649, allocations: 211.9 kB / 0.6079 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.465, allocations: 7.938 kB / 0.6079 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.465, allocations: 23.86 kB / 0.6079 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.4655, allocations: 195.6 kB / 0.6081 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4655, allocations: 0 / 0.6081 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.4655, allocations: 8 kB / 0.6081 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4656, allocations: 3.938 kB / 0.6081 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.4661, allocations: 235.8 kB / 0.6083 GB, free: 11.92 MB / 446.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.001649/0.4678, allocations: 0.6727 MB / 0.609 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.4682, allocations: 190.4 kB / 0.6092 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.4684, allocations: 88.83 kB / 0.6093 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.4686, allocations: 97.08 kB / 0.6093 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.4686, allocations: 34.56 kB / 0.6094 GB, free: 10.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4686, allocations: 0 / 0.6094 GB, free: 10.75 MB / 446.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.00561/0.4742, allocations: 1.539 MB / 0.6109 GB, free: 9.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.4743, allocations: 55.41 kB / 0.6109 GB, free: 9.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.4744, allocations: 113.7 kB / 0.611 GB, free: 8.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4744, allocations: 33.7 kB / 0.6111 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.4745, allocations: 84.42 kB / 0.6112 GB, free: 8.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.4745, allocations: 78.94 kB / 0.6112 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.4746, allocations: 29.59 kB / 0.6113 GB, free: 8.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.4747, allocations: 318.8 kB / 0.6116 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.4749, allocations: 91.95 kB / 0.6116 GB, free: 8.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.4751, allocations: 123.4 kB / 0.6118 GB, free: 8.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.4756, allocations: 230.5 kB / 0.612 GB, free: 7.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4756, allocations: 0 / 0.612 GB, free: 7.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005883/0.4762, allocations: 282.3 kB / 0.6123 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4762, allocations: 8 kB / 0.6123 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4762, allocations: 0 / 0.6123 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.4763, allocations: 28.78 kB / 0.6123 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.4768, allocations: 55.89 kB / 0.6123 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/0.4772, allocations: 0.5329 MB / 0.6129 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.4775, allocations: 19.86 kB / 0.6129 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.4775, allocations: 11.94 kB / 0.6129 GB, free: 6.926 MB / 446.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.000118/0.4776, allocations: 121.8 kB / 0.613 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.4777, allocations: 11.91 kB / 0.613 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000733/0.4784, allocations: 317.9 kB / 0.6133 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4785, allocations: 7.938 kB / 0.6133 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4785, allocations: 0 / 0.6133 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4785, allocations: 0 / 0.6133 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4795, allocations: 0.6639 MB / 0.614 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4795, allocations: 4 kB / 0.614 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.48, allocations: 51.95 kB / 0.614 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.48, allocations: 24.86 kB / 0.6141 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.4801, allocations: 15.98 kB / 0.6141 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/0.4809, allocations: 1.262 MB / 0.6153 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4809, allocations: 11.86 kB / 0.6153 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.4817, allocations: 442.8 kB / 0.6157 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.4817, allocations: 85.05 kB / 0.6158 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4818, allocations: 11.94 kB / 0.6158 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.4821, allocations: 11.98 kB / 0.6158 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4822, allocations: 19.86 kB / 0.6159 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4822, allocations: 15.98 kB / 0.6159 GB, free: 3.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.4823, allocations: 79.28 kB / 0.616 GB, free: 3.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4823, allocations: 0 / 0.616 GB, free: 3.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.4828, allocations: 139.9 kB / 0.6161 GB, free: 3.387 MB / 446.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.001572/0.4844, allocations: 1.145 MB / 0.6172 GB, free: 2.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.4849, allocations: 230.5 kB / 0.6174 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.485, allocations: 0 / 0.6174 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.4853, allocations: 233 kB / 0.6176 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4858, allocations: 59.83 kB / 0.6177 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.4886, allocations: 2.22 MB / 0.6199 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.4888, allocations: 0.7202 MB / 0.6206 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.4892, allocations: 49.34 kB / 0.6206 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.4894, allocations: 43.41 kB / 0.6207 GB, free: 14.51 MB / 462.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4894, allocations: 0 / 0.6207 GB, free: 14.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.5091, allocations: 7.576 MB / 0.6281 GB, free: 7.105 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.5093, allocations: 234.3 kB / 0.6283 GB, free: 6.844 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.381, allocations: 0 / 0.6283 GB, free: 6.844 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches