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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.001086/0.001086, allocations: 112.8 kB / 17.78 MB, free: 5.285 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.001145/0.001145, allocations: 180.1 kB / 18.71 MB, free: 4.359 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1926/0.1926, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 67.84 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 60.81 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1534/0.4491, allocations: 149.6 MB / 0.665 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.4512, allocations: 1.6 MB / 0.6665 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.4513, allocations: 0 / 0.6665 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.4517, allocations: 51.72 kB / 0.6666 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.4528, allocations: 398.1 kB / 0.667 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.4534, allocations: 175.4 kB / 0.6671 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.4537, allocations: 183.3 kB / 0.6673 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.4537, allocations: 15.86 kB / 0.6673 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4539, allocations: 67.77 kB / 0.6674 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.454, allocations: 59.75 kB / 0.6674 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4541, allocations: 8 kB / 0.6674 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.4551, allocations: 0.5924 MB / 0.668 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.4552, allocations: 23.97 kB / 0.668 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.4553, allocations: 59.78 kB / 0.6681 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.4559, allocations: 399.4 kB / 0.6685 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4559, allocations: 3.984 kB / 0.6685 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4559, allocations: 0 / 0.6685 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.4559, allocations: 0 / 0.6685 GB, free: 2.352 MB / 0.5137 GB 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.0005303/0.4565, allocations: 434.9 kB / 0.6689 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.4565, allocations: 11.97 kB / 0.6689 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.4586, allocations: 196.6 kB / 0.6691 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4589, allocations: 207.8 kB / 0.6693 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4589, allocations: 8 kB / 0.6693 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.459, allocations: 11.98 kB / 0.6693 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.4594, allocations: 199.8 kB / 0.6695 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4594, allocations: 3.938 kB / 0.6695 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.4595, allocations: 4 kB / 0.6695 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4595, allocations: 7.938 kB / 0.6695 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.46, allocations: 235.8 kB / 0.6697 GB, free: 0.9688 MB / 0.5137 GB 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.001581/0.4616, allocations: 0.6595 MB / 0.6704 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.462, allocations: 194.4 kB / 0.6706 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.4623, allocations: 84.83 kB / 0.6707 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.4624, allocations: 93.09 kB / 0.6707 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4624, allocations: 34.56 kB / 0.6708 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4624, allocations: 0 / 0.6708 GB, free: 15.81 MB / 0.5294 GB 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.005308/0.4678, allocations: 1.538 MB / 0.6723 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4678, allocations: 59.39 kB / 0.6723 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.4679, allocations: 121.7 kB / 0.6724 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4679, allocations: 25.7 kB / 0.6725 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.468, allocations: 96.42 kB / 0.6726 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.468, allocations: 71.36 kB / 0.6726 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.4681, allocations: 41.7 kB / 0.6727 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4683, allocations: 322.8 kB / 0.673 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4685, allocations: 95.81 kB / 0.6731 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4687, allocations: 127.4 kB / 0.6732 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.4692, allocations: 226.5 kB / 0.6734 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4692, allocations: 0 / 0.6734 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005736/0.4697, allocations: 290.2 kB / 0.6737 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4698, allocations: 8 kB / 0.6737 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4698, allocations: 0 / 0.6737 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.4699, allocations: 24.84 kB / 0.6737 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.4703, allocations: 56 kB / 0.6738 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000333/0.4707, allocations: 0.5329 MB / 0.6743 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.471, allocations: 15.92 kB / 0.6743 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.471, allocations: 4 kB / 0.6743 GB, free: 11.97 MB / 0.5294 GB 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.0001255/0.4711, allocations: 129.9 kB / 0.6744 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.4712, allocations: 7.953 kB / 0.6744 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.472, allocations: 325.6 kB / 0.6748 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.472, allocations: 0 / 0.6748 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.472, allocations: 4 kB / 0.6748 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.472, allocations: 3.984 kB / 0.6748 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4731, allocations: 0.6796 MB / 0.6754 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4731, allocations: 0 / 0.6754 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.4735, allocations: 51.95 kB / 0.6755 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.4736, allocations: 24.78 kB / 0.6755 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.4737, allocations: 8 kB / 0.6755 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.4748, allocations: 1.363 MB / 0.6768 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4748, allocations: 0 / 0.6768 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.4756, allocations: 461.5 kB / 0.6773 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.4757, allocations: 89.08 kB / 0.6774 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.4757, allocations: 4 kB / 0.6774 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.476, allocations: 16.06 kB / 0.6774 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4761, allocations: 15.97 kB / 0.6774 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4761, allocations: 11.98 kB / 0.6774 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.4762, allocations: 91.22 kB / 0.6775 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4762, allocations: 0 / 0.6775 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004989/0.4767, allocations: 135.7 kB / 0.6776 GB, free: 8.297 MB / 0.5294 GB 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.0006953/0.4774, allocations: 254.8 kB / 0.6779 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.478, allocations: 246.9 kB / 0.6781 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.478, allocations: 0 / 0.6781 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.4784, allocations: 226.6 kB / 0.6783 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.4788, allocations: 43.31 kB / 0.6784 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.4797, allocations: 488.9 kB / 0.6788 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4799, allocations: 0.7123 MB / 0.6795 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.4802, allocations: 57.55 kB / 0.6796 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.4803, allocations: 27.42 kB / 0.6796 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of SimCode: time 1.553e-06/0.4803, allocations: 0 / 0.6796 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of Templates: time 0.009616/0.49, allocations: 6.209 MB / 0.6857 GB, free: 0 / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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