Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.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.001263/0.001263, allocations: 173.6 kB / 17.36 MB, free: 4.316 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.275/1.275, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.0007489/0.0007489, allocations: 103.7 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002261/0.0002261, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1982, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2965/0.4947, allocations: 139.1 MB / 0.5036 GB, free: 2.316 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.4967, allocations: 2.452 MB / 0.506 GB, free: 17.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.4968, allocations: 0 / 0.506 GB, free: 17.07 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.4971, allocations: 53.28 kB / 0.5061 GB, free: 17.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008621/0.4979, allocations: 343.9 kB / 0.5064 GB, free: 17.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.4984, allocations: 159.1 kB / 0.5066 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.4987, allocations: 246.7 kB / 0.5068 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.4987, allocations: 2.906 kB / 0.5068 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.4989, allocations: 72.45 kB / 0.5069 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.499, allocations: 66.91 kB / 0.5069 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.499, allocations: 3.438 kB / 0.5069 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.5001, allocations: 0.6755 MB / 0.5076 GB, free: 17.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.5002, allocations: 29.3 kB / 0.5076 GB, free: 17.03 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.5003, allocations: 77.88 kB / 0.5077 GB, free: 17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.501, allocations: 435 kB / 0.5081 GB, free: 16.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.501, allocations: 1.219 kB / 0.5081 GB, free: 16.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.501, allocations: 0 / 0.5081 GB, free: 16.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.319e-06/0.501, allocations: 0 / 0.5081 GB, free: 16.98 MB / 394.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.0004898/0.5015, allocations: 399.6 kB / 0.5085 GB, free: 16.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.5016, allocations: 12.69 kB / 0.5085 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.5035, allocations: 196.8 kB / 0.5087 GB, free: 16.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.5038, allocations: 208.5 kB / 0.5089 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5038, allocations: 13.19 kB / 0.5089 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.5039, allocations: 8.969 kB / 0.5089 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.5043, allocations: 203.2 kB / 0.5091 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5044, allocations: 1.75 kB / 0.5091 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.5044, allocations: 7.188 kB / 0.5091 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5044, allocations: 2.594 kB / 0.5091 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.5049, allocations: 244.6 kB / 0.5093 GB, free: 16.33 MB / 394.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.001565/0.5065, allocations: 0.6679 MB / 0.51 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.5069, allocations: 195.6 kB / 0.5102 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.5071, allocations: 93.66 kB / 0.5103 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.5073, allocations: 89.59 kB / 0.5104 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5073, allocations: 37.97 kB / 0.5104 GB, free: 15.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.5073, allocations: 0 / 0.5104 GB, free: 15.79 MB / 394.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.00511/0.5124, allocations: 1.541 MB / 0.5119 GB, free: 15.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.5125, allocations: 58.66 kB / 0.512 GB, free: 15.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.5126, allocations: 106.5 kB / 0.5121 GB, free: 15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.5126, allocations: 29.52 kB / 0.5121 GB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.5126, allocations: 100.2 kB / 0.5122 GB, free: 14.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.5127, allocations: 65.69 kB / 0.5122 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.5127, allocations: 7.094 kB / 0.5123 GB, free: 14.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5128, allocations: 317.6 kB / 0.5126 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.513, allocations: 98.38 kB / 0.5126 GB, free: 14.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.5132, allocations: 125.2 kB / 0.5128 GB, free: 14.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.5136, allocations: 219.6 kB / 0.513 GB, free: 14.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5136, allocations: 0 / 0.513 GB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005982/0.5142, allocations: 287.5 kB / 0.5133 GB, free: 14.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5143, allocations: 5.062 kB / 0.5133 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5143, allocations: 1.031 kB / 0.5133 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.5144, allocations: 23 kB / 0.5133 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.5149, allocations: 63.36 kB / 0.5133 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003463/0.5153, allocations: 0.5374 MB / 0.5139 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.5156, allocations: 12.3 kB / 0.5139 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.5156, allocations: 10.59 kB / 0.5139 GB, free: 13.86 MB / 394.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.0001224/0.5157, allocations: 131.8 kB / 0.514 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.5158, allocations: 11.2 kB / 0.514 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.5166, allocations: 316.3 kB / 0.5143 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5166, allocations: 2.094 kB / 0.5143 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5166, allocations: 5.094 kB / 0.5143 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5167, allocations: 2.391 kB / 0.5143 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5177, allocations: 0.6733 MB / 0.515 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5177, allocations: 3.219 kB / 0.515 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.5181, allocations: 51.05 kB / 0.515 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-05/0.5182, allocations: 17.56 kB / 0.5151 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.5182, allocations: 12.92 kB / 0.5151 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008075/0.519, allocations: 1.263 MB / 0.5163 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.519, allocations: 0 / 0.5163 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/0.5198, allocations: 455.5 kB / 0.5167 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.5199, allocations: 84.36 kB / 0.5168 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.5199, allocations: 10.69 kB / 0.5168 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.5202, allocations: 19.97 kB / 0.5168 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5203, allocations: 21.61 kB / 0.5169 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.5203, allocations: 7.984 kB / 0.5169 GB, free: 11.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.5204, allocations: 91.64 kB / 0.517 GB, free: 11.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5204, allocations: 0 / 0.517 GB, free: 11.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.5209, allocations: 135 kB / 0.5171 GB, free: 11.68 MB / 394.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.000657/0.5215, allocations: 259.3 kB / 0.5173 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005522/0.5221, allocations: 233.5 kB / 0.5176 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5221, allocations: 0 / 0.5176 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.5225, allocations: 229.7 kB / 0.5178 GB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.5229, allocations: 50.27 kB / 0.5178 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.5237, allocations: 0.5812 MB / 0.5184 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.5241, allocations: 0.7056 MB / 0.5191 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.5245, allocations: 51.62 kB / 0.5191 GB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5247, allocations: 20.98 kB / 0.5192 GB, free: 10.36 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5247, allocations: 4.688 kB / 0.5192 GB, free: 10.35 MB / 394.7 MB Notification: Performance of Templates: time 0.01123/0.5359, allocations: 6.101 MB / 0.5251 GB, free: 9.195 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches