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.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 173.6 kB / 17.36 MB, free: 4.32 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.279/1.279, 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.0007433/0.0007437, allocations: 97.59 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2075, allocations: 47.58 MB / 376.6 MB, free: 45.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3111/0.5187, allocations: 139.4 MB / 0.5039 GB, free: 2.297 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.5226, allocations: 4.673 MB / 0.5085 GB, free: 16.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.5227, allocations: 4 kB / 0.5085 GB, free: 16.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.5231, allocations: 54.48 kB / 0.5085 GB, free: 16.17 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.5251, allocations: 0.9201 MB / 0.5094 GB, free: 16.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.5255, allocations: 183.4 kB / 0.5096 GB, free: 16.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.526, allocations: 483.7 kB / 0.5101 GB, free: 16.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.5261, allocations: 21.44 kB / 0.5101 GB, free: 16.1 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.5263, allocations: 133.5 kB / 0.5102 GB, free: 16.1 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.5265, allocations: 119.2 kB / 0.5103 GB, free: 16.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.5266, allocations: 8.25 kB / 0.5103 GB, free: 16.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.5295, allocations: 1.732 MB / 0.512 GB, free: 16.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.5296, allocations: 79.78 kB / 0.5121 GB, free: 16.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.5298, allocations: 122 kB / 0.5122 GB, free: 16.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.532, allocations: 1.11 MB / 0.5133 GB, free: 16.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.532, allocations: 0.625 kB / 0.5133 GB, free: 16.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.532, allocations: 2.312 kB / 0.5133 GB, free: 16.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.532, allocations: 4 kB / 0.5133 GB, free: 16 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009783/0.533, allocations: 0.4994 MB / 0.5138 GB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.5331, allocations: 9.25 kB / 0.5138 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.5364, allocations: 379.7 kB / 0.5142 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.5367, allocations: 261.1 kB / 0.5144 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5368, allocations: 17.84 kB / 0.5144 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.5368, allocations: 24.89 kB / 0.5145 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.5377, allocations: 494.9 kB / 0.5149 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5377, allocations: 1.781 kB / 0.5149 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.5378, allocations: 6.812 kB / 0.5149 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5378, allocations: 6.219 kB / 0.5149 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/0.5387, allocations: 0.5088 MB / 0.5154 GB, free: 15.29 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.001954/0.5406, allocations: 0.9887 MB / 0.5164 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.5412, allocations: 294.6 kB / 0.5167 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.5415, allocations: 154.4 kB / 0.5168 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.5432, allocations: 0.8911 MB / 0.5177 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5433, allocations: 42.34 kB / 0.5178 GB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.053e-06/0.5433, allocations: 0 / 0.5178 GB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009834/0.5443, allocations: 403.9 kB / 0.5181 GB, free: 13.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.5443, allocations: 80.61 kB / 0.5182 GB, free: 13.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.5444, allocations: 113.6 kB / 0.5183 GB, free: 13.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.5445, allocations: 30.86 kB / 0.5184 GB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.5445, allocations: 111 kB / 0.5185 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.5446, allocations: 114.9 kB / 0.5186 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.5447, allocations: 8.219 kB / 0.5186 GB, free: 13.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5448, allocations: 322.2 kB / 0.5189 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.545, allocations: 114.2 kB / 0.519 GB, free: 13.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5453, allocations: 206.1 kB / 0.5192 GB, free: 13.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.5459, allocations: 332.1 kB / 0.5195 GB, free: 13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5459, allocations: 0.7188 kB / 0.5195 GB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007074/0.5466, allocations: 392.9 kB / 0.5199 GB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5466, allocations: 5.969 kB / 0.5199 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.5466, allocations: 3.438 kB / 0.5199 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5467, allocations: 4.312 kB / 0.5199 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.5471, allocations: 75.48 kB / 0.52 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5471, allocations: 10.28 kB / 0.52 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.5474, allocations: 32.19 kB / 0.52 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.5475, allocations: 18.92 kB / 0.52 GB, free: 12.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.5476, allocations: 144.7 kB / 0.5202 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.5477, allocations: 21.06 kB / 0.5202 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.5485, allocations: 365.7 kB / 0.5205 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5485, allocations: 4.094 kB / 0.5205 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5486, allocations: 0.75 kB / 0.5205 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5486, allocations: 2.609 kB / 0.5205 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.5492, allocations: 372 kB / 0.5209 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5492, allocations: 1.125 kB / 0.5209 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.5496, allocations: 60.91 kB / 0.521 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5496, allocations: 1 kB / 0.521 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.5497, allocations: 14.03 kB / 0.521 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5497, allocations: 5.094 kB / 0.521 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5497, allocations: 2.875 kB / 0.521 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.5505, allocations: 0.5448 MB / 0.5215 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.5506, allocations: 94.17 kB / 0.5216 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.5506, allocations: 12.11 kB / 0.5216 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.551, allocations: 22.2 kB / 0.5216 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.5511, allocations: 16.95 kB / 0.5216 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.5511, allocations: 18.45 kB / 0.5217 GB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.5512, allocations: 89.61 kB / 0.5217 GB, free: 12.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5512, allocations: 0 / 0.5217 GB, free: 12.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001122/0.5523, allocations: 235.2 kB / 0.522 GB, free: 12.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.5535, allocations: 440 kB / 0.5224 GB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.5541, allocations: 296.9 kB / 0.5227 GB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5541, allocations: 4.188 kB / 0.5227 GB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.5543, allocations: 143.7 kB / 0.5228 GB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.555, allocations: 81.8 kB / 0.5229 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.5562, allocations: 0.9298 MB / 0.5238 GB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5565, allocations: 0.7282 MB / 0.5245 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.557, allocations: 84.31 kB / 0.5246 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5571, allocations: 32.67 kB / 0.5246 GB, free: 10.58 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5571, allocations: 6.875 kB / 0.5246 GB, free: 10.58 MB / 394.7 MB Notification: Performance of Templates: time 0.01275/0.5699, allocations: 8.238 MB / 0.5327 GB, free: 7.223 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches