Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.7 MB / 243.9 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008044, allocations: 91.39 kB / 295 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3064/0.3064, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003963, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1562/0.4538, allocations: 137.9 MB / 0.6474 GB, free: 3.469 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.4563, allocations: 2.621 MB / 0.65 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.4564, allocations: 0 / 0.65 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.4568, allocations: 51.72 kB / 0.6501 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009646/0.4578, allocations: 362.5 kB / 0.6504 GB, free: 184 kB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.4582, allocations: 163.5 kB / 0.6506 GB, free: 20 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.4586, allocations: 247.1 kB / 0.6508 GB, free: 15.78 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.4586, allocations: 4 kB / 0.6508 GB, free: 15.77 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.4588, allocations: 73.86 kB / 0.6509 GB, free: 15.7 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.459, allocations: 67.75 kB / 0.6509 GB, free: 15.64 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.459, allocations: 4 kB / 0.6509 GB, free: 15.63 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.4603, allocations: 0.7054 MB / 0.6516 GB, free: 14.93 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.4603, allocations: 31.91 kB / 0.6517 GB, free: 14.89 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.4604, allocations: 73.48 kB / 0.6517 GB, free: 14.82 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.4612, allocations: 446.8 kB / 0.6522 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4612, allocations: 0 / 0.6522 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4612, allocations: 0 / 0.6522 GB, free: 14.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.4612, allocations: 4 kB / 0.6522 GB, free: 14.38 MB / 474.7 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.0005897/0.4618, allocations: 408.7 kB / 0.6525 GB, free: 13.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4619, allocations: 12.03 kB / 0.6526 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.4639, allocations: 192.6 kB / 0.6527 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.4642, allocations: 207.8 kB / 0.6529 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4642, allocations: 0 / 0.6529 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.4643, allocations: 15.91 kB / 0.653 GB, free: 13.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.4647, allocations: 201.4 kB / 0.6531 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4648, allocations: 7.938 kB / 0.6532 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.4648, allocations: 4 kB / 0.6532 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4648, allocations: 7.938 kB / 0.6532 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.4654, allocations: 231.9 kB / 0.6534 GB, free: 13.02 MB / 474.7 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.001664/0.467, allocations: 0.6726 MB / 0.654 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.4675, allocations: 190.4 kB / 0.6542 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4677, allocations: 92.81 kB / 0.6543 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.4679, allocations: 85.09 kB / 0.6544 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4679, allocations: 38.56 kB / 0.6544 GB, free: 11.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4679, allocations: 0 / 0.6544 GB, free: 11.86 MB / 474.7 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.005321/0.4732, allocations: 1.533 MB / 0.6559 GB, free: 10.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4733, allocations: 55.41 kB / 0.656 GB, free: 10.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.4734, allocations: 109.8 kB / 0.6561 GB, free: 10.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.4734, allocations: 33.7 kB / 0.6561 GB, free: 9.992 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.4735, allocations: 92.31 kB / 0.6562 GB, free: 9.898 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.4736, allocations: 74.94 kB / 0.6563 GB, free: 9.824 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.4736, allocations: 8 kB / 0.6563 GB, free: 9.816 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4737, allocations: 318.8 kB / 0.6566 GB, free: 9.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.4739, allocations: 99.83 kB / 0.6567 GB, free: 9.398 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4741, allocations: 120.4 kB / 0.6568 GB, free: 9.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.4746, allocations: 228.8 kB / 0.657 GB, free: 9.035 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4746, allocations: 0 / 0.657 GB, free: 9.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005785/0.4752, allocations: 281.2 kB / 0.6573 GB, free: 8.754 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4752, allocations: 4 kB / 0.6573 GB, free: 8.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4752, allocations: 4 kB / 0.6573 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.4754, allocations: 28.94 kB / 0.6573 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.4758, allocations: 55.89 kB / 0.6574 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003705/0.4762, allocations: 0.529 MB / 0.6579 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.4765, allocations: 15.92 kB / 0.6579 GB, free: 8.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.4765, allocations: 12.09 kB / 0.6579 GB, free: 8.078 MB / 474.7 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.0001348/0.4766, allocations: 126.3 kB / 0.658 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.4767, allocations: 11.81 kB / 0.6581 GB, free: 7.934 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000756/0.4775, allocations: 315.4 kB / 0.6584 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4775, allocations: 3.984 kB / 0.6584 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4775, allocations: 7.984 kB / 0.6584 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4775, allocations: 0 / 0.6584 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.4786, allocations: 0.6678 MB / 0.659 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4786, allocations: 4 kB / 0.659 GB, free: 6.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.479, allocations: 51.95 kB / 0.6591 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.923e-05/0.4791, allocations: 20.84 kB / 0.6591 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.4791, allocations: 11.92 kB / 0.6591 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008613/0.48, allocations: 1.264 MB / 0.6603 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/0.48, allocations: 7.969 kB / 0.6603 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.4809, allocations: 448.2 kB / 0.6608 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.481, allocations: 92.97 kB / 0.6609 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.481, allocations: 4 kB / 0.6609 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.4813, allocations: 12.06 kB / 0.6609 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4814, allocations: 19.91 kB / 0.6609 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.4814, allocations: 15.98 kB / 0.6609 GB, free: 4.742 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.4815, allocations: 91.16 kB / 0.661 GB, free: 4.652 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4815, allocations: 0 / 0.661 GB, free: 4.652 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005913/0.4821, allocations: 131.9 kB / 0.6611 GB, free: 4.523 MB / 474.7 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.0008637/0.4829, allocations: 267 kB / 0.6614 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.4837, allocations: 235.7 kB / 0.6616 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4837, allocations: 0 / 0.6616 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.4842, allocations: 230.6 kB / 0.6618 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.4848, allocations: 52.22 kB / 0.6619 GB, free: 3.734 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.4858, allocations: 0.5837 MB / 0.6624 GB, free: 3.113 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.4861, allocations: 0.7088 MB / 0.6631 GB, free: 2.379 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004199/0.4865, allocations: 49.39 kB / 0.6632 GB, free: 2.332 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.4866, allocations: 23.42 kB / 0.6632 GB, free: 2.309 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4866, allocations: 4 kB / 0.6632 GB, free: 2.305 MB / 474.7 MB Notification: Performance of Templates: time 0.01081/0.4975, allocations: 6.03 MB / 0.6691 GB, free: 12.29 MB / 490.7 MB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches