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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 95.88 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001252, allocations: 174.8 kB / 16.57 MB, free: 6.379 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.485/1.485, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.55 MB / 314.5 MB, free: 8.742 MB / 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.0004824/0.0004826, allocations: 15.98 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 58.84 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3211/0.4362, allocations: 125.7 MB / 0.5551 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4377, allocations: 1.237 MB / 0.5563 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.4378, allocations: 3.938 kB / 0.5563 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.438, allocations: 40.23 kB / 0.5564 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000643/0.4387, allocations: 276.4 kB / 0.5566 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.4391, allocations: 135.1 kB / 0.5568 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.4392, allocations: 117.2 kB / 0.5569 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.4393, allocations: 6.656 kB / 0.5569 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.4395, allocations: 79.28 kB / 0.557 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.4396, allocations: 48.3 kB / 0.557 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.4396, allocations: 4 kB / 0.557 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.4404, allocations: 442.2 kB / 0.5574 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.4404, allocations: 18.75 kB / 0.5574 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.4405, allocations: 48.59 kB / 0.5575 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.4408, allocations: 255.8 kB / 0.5577 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.4408, allocations: 0 / 0.5577 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4409, allocations: 0 / 0.5577 GB, free: 11.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.4409, allocations: 4 kB / 0.5577 GB, free: 11.11 MB / 430.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.0004503/0.4413, allocations: 403.8 kB / 0.5581 GB, free: 10.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.4414, allocations: 12.03 kB / 0.5581 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.4435, allocations: 192.4 kB / 0.5583 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4437, allocations: 210.9 kB / 0.5585 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4437, allocations: 4.188 kB / 0.5585 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.4438, allocations: 8 kB / 0.5585 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.4442, allocations: 200.9 kB / 0.5587 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4442, allocations: 4 kB / 0.5587 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.4443, allocations: 8 kB / 0.5587 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4443, allocations: 0 / 0.5587 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.4449, allocations: 243.1 kB / 0.559 GB, free: 9.953 MB / 430.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.001634/0.4465, allocations: 0.6734 MB / 0.5596 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.4469, allocations: 191.8 kB / 0.5598 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.4471, allocations: 93.09 kB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.4471, allocations: 34.5 kB / 0.5599 GB, free: 8.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.4471, allocations: 0 / 0.5599 GB, free: 8.992 MB / 430.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.005498/0.4526, allocations: 1.529 MB / 0.5614 GB, free: 7.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4527, allocations: 63.41 kB / 0.5615 GB, free: 7.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.4528, allocations: 109.8 kB / 0.5616 GB, free: 7.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4528, allocations: 29.7 kB / 0.5616 GB, free: 7.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.4529, allocations: 100.2 kB / 0.5617 GB, free: 7.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.4529, allocations: 67.02 kB / 0.5618 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.453, allocations: 0 / 0.5618 GB, free: 6.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4531, allocations: 322.8 kB / 0.5621 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4533, allocations: 91.95 kB / 0.5622 GB, free: 6.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.4535, allocations: 126 kB / 0.5623 GB, free: 6.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.4538, allocations: 95.98 kB / 0.5624 GB, free: 6.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4538, allocations: 0 / 0.5624 GB, free: 6.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005638/0.4543, allocations: 290.3 kB / 0.5627 GB, free: 6.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4544, allocations: 5.031 kB / 0.5627 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4544, allocations: 4 kB / 0.5627 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.4545, allocations: 31.34 kB / 0.5627 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.455, allocations: 55.89 kB / 0.5627 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000334/0.4553, allocations: 0.5408 MB / 0.5633 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.4556, allocations: 8 kB / 0.5633 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.4556, allocations: 11.98 kB / 0.5633 GB, free: 5.352 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.4558, allocations: 126.3 kB / 0.5634 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.4558, allocations: 7.906 kB / 0.5634 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.4566, allocations: 325.6 kB / 0.5637 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4566, allocations: 7.984 kB / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4566, allocations: 0 / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4566, allocations: 7.953 kB / 0.5637 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4576, allocations: 0.6756 MB / 0.5644 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4577, allocations: 0 / 0.5644 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.4581, allocations: 60.05 kB / 0.5645 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.4582, allocations: 16.84 kB / 0.5645 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.4582, allocations: 8 kB / 0.5645 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007985/0.459, allocations: 1.265 MB / 0.5657 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.459, allocations: 7.156 kB / 0.5657 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.4598, allocations: 491.8 kB / 0.5662 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.4599, allocations: 85.05 kB / 0.5663 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.4599, allocations: 7.953 kB / 0.5663 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.4603, allocations: 11.98 kB / 0.5663 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.4603, allocations: 23.98 kB / 0.5663 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.4603, allocations: 11.98 kB / 0.5663 GB, free: 1.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.4604, allocations: 87.27 kB / 0.5664 GB, free: 1.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4604, allocations: 0 / 0.5664 GB, free: 1.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.4609, allocations: 127.9 kB / 0.5665 GB, free: 1.75 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005519/0.4615, allocations: 235 kB / 0.5668 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.4621, allocations: 226.7 kB / 0.567 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4621, allocations: 0 / 0.567 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.4624, allocations: 239.2 kB / 0.5672 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4628, allocations: 53.16 kB / 0.5673 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008353/0.4637, allocations: 0.5644 MB / 0.5678 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.464, allocations: 0.7127 MB / 0.5685 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.4644, allocations: 53.92 kB / 0.5686 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4645, allocations: 23.42 kB / 0.5686 GB, free: 15.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4645, allocations: 0 / 0.5686 GB, free: 15.59 MB / 446.1 MB Notification: Performance of Templates: time 0.009197/0.4737, allocations: 6.01 MB / 0.5744 GB, free: 9.602 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile Environment - environmentSimulation: (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches