Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009421/0.0009422, allocations: 171.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007897/0.0007898, allocations: 103.4 kB / 270.8 MB, free: 8.113 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3187/0.3187, allocations: 43.67 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 432.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.09987, allocations: 58.85 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.304/0.4039, allocations: 139.1 MB / 0.6155 GB, free: 11.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.4063, allocations: 2.446 MB / 0.6179 GB, free: 8.363 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.4064, allocations: 0 / 0.6179 GB, free: 8.363 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.4068, allocations: 54.03 kB / 0.6179 GB, free: 8.312 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.4078, allocations: 351.1 kB / 0.6183 GB, free: 7.969 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.4082, allocations: 147.6 kB / 0.6184 GB, free: 7.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.4085, allocations: 247.1 kB / 0.6187 GB, free: 7.582 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.4086, allocations: 17.16 kB / 0.6187 GB, free: 7.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.4087, allocations: 67.77 kB / 0.6187 GB, free: 7.504 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.4089, allocations: 71.67 kB / 0.6188 GB, free: 7.434 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.4089, allocations: 4 kB / 0.6188 GB, free: 7.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.4101, allocations: 0.6717 MB / 0.6195 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.4102, allocations: 31.95 kB / 0.6195 GB, free: 6.727 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.4103, allocations: 73.5 kB / 0.6196 GB, free: 6.648 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007939/0.4111, allocations: 426.9 kB / 0.62 GB, free: 6.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4111, allocations: 3.938 kB / 0.62 GB, free: 6.227 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4111, allocations: 0 / 0.62 GB, free: 6.227 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.4111, allocations: 0 / 0.62 GB, free: 6.227 MB / 442.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.0005311/0.4117, allocations: 412.4 kB / 0.6204 GB, free: 5.781 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4117, allocations: 12.03 kB / 0.6204 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.4137, allocations: 193.1 kB / 0.6206 GB, free: 5.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.414, allocations: 205.2 kB / 0.6208 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.414, allocations: 12.31 kB / 0.6208 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.4141, allocations: 11.98 kB / 0.6208 GB, free: 5.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.4145, allocations: 201.4 kB / 0.621 GB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4146, allocations: 6.531 kB / 0.621 GB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.4146, allocations: 4 kB / 0.621 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4146, allocations: 8 kB / 0.621 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.4152, allocations: 231.8 kB / 0.6212 GB, free: 4.875 MB / 442.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.00164/0.4169, allocations: 0.6664 MB / 0.6219 GB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.4173, allocations: 190.4 kB / 0.6221 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.4175, allocations: 93.56 kB / 0.6221 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.4177, allocations: 89.09 kB / 0.6222 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4177, allocations: 38.56 kB / 0.6223 GB, free: 3.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.4177, allocations: 0 / 0.6223 GB, free: 3.734 MB / 442.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.005464/0.4232, allocations: 1.536 MB / 0.6238 GB, free: 2.094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.4233, allocations: 59.34 kB / 0.6238 GB, free: 2.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4234, allocations: 117.8 kB / 0.6239 GB, free: 1.898 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4234, allocations: 27.77 kB / 0.624 GB, free: 1.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.4235, allocations: 104.2 kB / 0.6241 GB, free: 1.762 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.4236, allocations: 67 kB / 0.6241 GB, free: 1.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.4236, allocations: 4 kB / 0.6241 GB, free: 1.691 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4237, allocations: 318.8 kB / 0.6244 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.4239, allocations: 87.94 kB / 0.6245 GB, free: 1.285 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.4242, allocations: 132.8 kB / 0.6246 GB, free: 1.145 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.4246, allocations: 213.8 kB / 0.6248 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4246, allocations: 7.938 kB / 0.6249 GB, free: 0.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005988/0.4253, allocations: 282.9 kB / 0.6251 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4253, allocations: 8 kB / 0.6251 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4253, allocations: 0 / 0.6251 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.4254, allocations: 24.84 kB / 0.6252 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.4259, allocations: 59.98 kB / 0.6252 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003632/0.4263, allocations: 0.5329 MB / 0.6257 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.4265, allocations: 11.97 kB / 0.6257 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4266, allocations: 8 kB / 0.6257 GB, free: 15.96 MB / 458.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.0001239/0.4267, allocations: 133.8 kB / 0.6259 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.4268, allocations: 11.91 kB / 0.6259 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008268/0.4276, allocations: 324.5 kB / 0.6262 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4276, allocations: 4 kB / 0.6262 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4277, allocations: 3.938 kB / 0.6262 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4277, allocations: 0 / 0.6262 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4288, allocations: 0.6719 MB / 0.6269 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4288, allocations: 0 / 0.6269 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.4293, allocations: 51.95 kB / 0.6269 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-05/0.4293, allocations: 16.84 kB / 0.6269 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.4294, allocations: 11.98 kB / 0.6269 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/0.4303, allocations: 1.264 MB / 0.6282 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4303, allocations: 6.188 kB / 0.6282 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.4312, allocations: 463 kB / 0.6286 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.4312, allocations: 85.05 kB / 0.6287 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.4313, allocations: 0 / 0.6287 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.4316, allocations: 19.92 kB / 0.6287 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4316, allocations: 23.98 kB / 0.6287 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.4317, allocations: 7.984 kB / 0.6288 GB, free: 12.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.4317, allocations: 87.28 kB / 0.6288 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4318, allocations: 0 / 0.6288 GB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005314/0.4323, allocations: 127.9 kB / 0.629 GB, free: 12.42 MB / 458.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.0006914/0.433, allocations: 258.9 kB / 0.6292 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.4336, allocations: 232 kB / 0.6294 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4336, allocations: 0 / 0.6294 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.434, allocations: 234.5 kB / 0.6296 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4344, allocations: 48.08 kB / 0.6297 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.4353, allocations: 0.5831 MB / 0.6303 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4356, allocations: 0.7088 MB / 0.631 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.4361, allocations: 49.94 kB / 0.631 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4362, allocations: 23.42 kB / 0.631 GB, free: 10.22 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4362, allocations: 0 / 0.631 GB, free: 10.22 MB / 458.7 MB Notification: Performance of Templates: time 0.01043/0.4466, allocations: 6.072 MB / 0.637 GB, free: 4.172 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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) 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