Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 176 kB / 16.08 MB, free: 5.598 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.492/1.492, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0007725/0.0007726, allocations: 102.7 kB / 270.8 MB, free: 8.109 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.3629/0.3629, allocations: 43.68 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 8 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1042, allocations: 58.85 MB / 491.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3133/0.4175, allocations: 138.8 MB / 0.6152 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.4191, allocations: 1.643 MB / 0.6168 GB, free: 9.395 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.4191, allocations: 0 / 0.6168 GB, free: 9.395 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.4194, allocations: 26.33 kB / 0.6168 GB, free: 9.371 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.4199, allocations: 217.2 kB / 0.617 GB, free: 9.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.4203, allocations: 99.8 kB / 0.6171 GB, free: 9.062 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.4206, allocations: 203.2 kB / 0.6173 GB, free: 8.863 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.4206, allocations: 21.14 kB / 0.6173 GB, free: 8.848 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.4208, allocations: 91.62 kB / 0.6174 GB, free: 8.758 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.4209, allocations: 47.83 kB / 0.6175 GB, free: 8.711 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.421, allocations: 4 kB / 0.6175 GB, free: 8.707 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.4215, allocations: 267.6 kB / 0.6177 GB, free: 8.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.4216, allocations: 15.92 kB / 0.6177 GB, free: 8.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.4217, allocations: 73.55 kB / 0.6178 GB, free: 8.352 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.4221, allocations: 283.3 kB / 0.6181 GB, free: 8.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4221, allocations: 0 / 0.6181 GB, free: 8.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4221, allocations: 0 / 0.6181 GB, free: 8.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.4221, allocations: 0 / 0.6181 GB, free: 8.074 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004363/0.4226, allocations: 390.9 kB / 0.6185 GB, free: 7.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4226, allocations: 13.25 kB / 0.6185 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.4244, allocations: 187.3 kB / 0.6186 GB, free: 7.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.4247, allocations: 204.5 kB / 0.6188 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4247, allocations: 7.938 kB / 0.6188 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.4247, allocations: 8 kB / 0.6189 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4252, allocations: 225.7 kB / 0.6191 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4252, allocations: 3.984 kB / 0.6191 GB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.4253, allocations: 4 kB / 0.6191 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4253, allocations: 4 kB / 0.6191 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.4257, allocations: 163.9 kB / 0.6192 GB, free: 6.797 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.0009699/0.4267, allocations: 0.5853 MB / 0.6198 GB, free: 6.156 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.427, allocations: 137.1 kB / 0.6199 GB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4272, allocations: 68.83 kB / 0.62 GB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4272, allocations: 4 kB / 0.62 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4272, allocations: 38.48 kB / 0.62 GB, free: 5.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4272, allocations: 0 / 0.62 GB, free: 5.895 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.004852/0.4321, allocations: 1.309 MB / 0.6213 GB, free: 4.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.4321, allocations: 51.41 kB / 0.6214 GB, free: 4.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.4322, allocations: 120 kB / 0.6215 GB, free: 4.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4322, allocations: 25.7 kB / 0.6215 GB, free: 4.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.4323, allocations: 96.05 kB / 0.6216 GB, free: 4.184 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.4324, allocations: 70.94 kB / 0.6217 GB, free: 4.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.4324, allocations: 4 kB / 0.6217 GB, free: 4.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4325, allocations: 322.8 kB / 0.622 GB, free: 3.785 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.4327, allocations: 67.97 kB / 0.622 GB, free: 3.719 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4328, allocations: 95.39 kB / 0.6221 GB, free: 3.613 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.4332, allocations: 188.8 kB / 0.6223 GB, free: 3.418 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4332, allocations: 0 / 0.6223 GB, free: 3.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004727/0.4337, allocations: 255.6 kB / 0.6226 GB, free: 3.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4337, allocations: 8.094 kB / 0.6226 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4337, allocations: 3.984 kB / 0.6226 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.4339, allocations: 52.77 kB / 0.6226 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.4342, allocations: 51.95 kB / 0.6227 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003784/0.4346, allocations: 0.5679 MB / 0.6232 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.4348, allocations: 16.11 kB / 0.6232 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.4348, allocations: 25.38 kB / 0.6233 GB, free: 2.414 MB / 442.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.0001118/0.4349, allocations: 121.8 kB / 0.6234 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.435, allocations: 7.906 kB / 0.6234 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/0.4358, allocations: 344.1 kB / 0.6237 GB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4358, allocations: 11.94 kB / 0.6237 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4358, allocations: 3.938 kB / 0.6237 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4358, allocations: 0 / 0.6237 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.4367, allocations: 0.6162 MB / 0.6243 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4368, allocations: 0 / 0.6243 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.4371, allocations: 67.98 kB / 0.6244 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-05/0.4372, allocations: 24.75 kB / 0.6244 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.4372, allocations: 15.98 kB / 0.6244 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.4381, allocations: 1.268 MB / 0.6257 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4381, allocations: 7.922 kB / 0.6257 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.4388, allocations: 429 kB / 0.6261 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.4388, allocations: 85.05 kB / 0.6262 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.4389, allocations: 11.94 kB / 0.6262 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4391, allocations: 11.94 kB / 0.6262 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.4391, allocations: 19.97 kB / 0.6262 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.4392, allocations: 27.98 kB / 0.6262 GB, free: 15.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.4392, allocations: 100.1 kB / 0.6263 GB, free: 15.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4393, allocations: 0 / 0.6263 GB, free: 15.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.4396, allocations: 76 kB / 0.6264 GB, free: 14.93 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 (21): * Single equations (assignments): 20 * 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.0003196/0.4399, allocations: 157.1 kB / 0.6266 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.4404, allocations: 203.3 kB / 0.6268 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4404, allocations: 0 / 0.6268 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.4407, allocations: 226.8 kB / 0.627 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.4412, allocations: 47.95 kB / 0.627 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/0.442, allocations: 0.5883 MB / 0.6276 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4422, allocations: 0.7049 MB / 0.6283 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004613/0.4427, allocations: 84.02 kB / 0.6284 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.4429, allocations: 47.41 kB / 0.6284 GB, free: 12.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4429, allocations: 0 / 0.6284 GB, free: 12.83 MB / 458.7 MB Notification: Performance of Templates: time 0.008537/0.4514, allocations: 5.436 MB / 0.6337 GB, free: 7.426 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches