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.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) 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.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.001106/0.001106, allocations: 174.2 kB / 17.36 MB, free: 4.445 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.271/1.271, allocations: 205.6 MB / 223.7 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.0008008/0.0008009, allocations: 99.66 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.0002412, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2075, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.303/0.5105, allocations: 138.8 MB / 0.5033 GB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.5117, allocations: 1.642 MB / 0.5049 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.5117, allocations: 3.531 kB / 0.5049 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.512, allocations: 22.34 kB / 0.5049 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.5125, allocations: 219.7 kB / 0.5051 GB, free: 1.387 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.5128, allocations: 97.89 kB / 0.5052 GB, free: 1.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.5131, allocations: 205.1 kB / 0.5054 GB, free: 1.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.5131, allocations: 6.938 kB / 0.5054 GB, free: 1.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.5133, allocations: 85.34 kB / 0.5055 GB, free: 1.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.5134, allocations: 58.73 kB / 0.5056 GB, free: 1.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.5134, allocations: 4.406 kB / 0.5056 GB, free: 1.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.5139, allocations: 262.9 kB / 0.5058 GB, free: 1.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.514, allocations: 19.42 kB / 0.5058 GB, free: 1.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.5141, allocations: 71.05 kB / 0.5059 GB, free: 1.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.5144, allocations: 285.2 kB / 0.5062 GB, free: 1.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5145, allocations: 0 / 0.5062 GB, free: 1.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5145, allocations: 8.406 kB / 0.5062 GB, free: 1.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.5145, allocations: 0 / 0.5062 GB, free: 1.332 MB / 378.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.0004718/0.515, allocations: 381.3 kB / 0.5066 GB, free: 16.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.515, allocations: 12 kB / 0.5066 GB, free: 16.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.5169, allocations: 188.3 kB / 0.5067 GB, free: 16.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.5171, allocations: 213.5 kB / 0.507 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5171, allocations: 9.812 kB / 0.507 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.5171, allocations: 9.062 kB / 0.507 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.5176, allocations: 219.9 kB / 0.5072 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5176, allocations: 0 / 0.5072 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.5176, allocations: 6.562 kB / 0.5072 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5176, allocations: 1.781 kB / 0.5072 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.5181, allocations: 173.1 kB / 0.5074 GB, free: 16.68 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.0008989/0.519, allocations: 0.592 MB / 0.5079 GB, free: 16.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.5193, allocations: 144.8 kB / 0.5081 GB, free: 16.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.5194, allocations: 68.16 kB / 0.5081 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5194, allocations: 2.906 kB / 0.5081 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5195, allocations: 36.62 kB / 0.5082 GB, free: 16.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.5195, allocations: 3.641 kB / 0.5082 GB, free: 16.13 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.004685/0.5242, allocations: 1.305 MB / 0.5094 GB, free: 15.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.5242, allocations: 51.41 kB / 0.5095 GB, free: 15.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.5243, allocations: 118.6 kB / 0.5096 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5243, allocations: 29.64 kB / 0.5096 GB, free: 15.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.5244, allocations: 90.45 kB / 0.5097 GB, free: 15.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.5244, allocations: 74.03 kB / 0.5098 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.5244, allocations: 7.469 kB / 0.5098 GB, free: 15.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5246, allocations: 322.5 kB / 0.5101 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5247, allocations: 68.67 kB / 0.5102 GB, free: 14.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.5248, allocations: 97.64 kB / 0.5103 GB, free: 14.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.5251, allocations: 190.5 kB / 0.5105 GB, free: 14.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5251, allocations: 0 / 0.5105 GB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004343/0.5256, allocations: 257.2 kB / 0.5107 GB, free: 14.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5256, allocations: 7.562 kB / 0.5107 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5256, allocations: 1.094 kB / 0.5107 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.5258, allocations: 55.61 kB / 0.5108 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.5262, allocations: 52.62 kB / 0.5108 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003615/0.5265, allocations: 0.5689 MB / 0.5114 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.5267, allocations: 10.14 kB / 0.5114 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.5268, allocations: 23.72 kB / 0.5114 GB, free: 14.32 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.0001039/0.5269, allocations: 126.5 kB / 0.5115 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.5269, allocations: 12.94 kB / 0.5115 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/0.5277, allocations: 341.9 kB / 0.5119 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.5277, allocations: 6.875 kB / 0.5119 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5277, allocations: 1.781 kB / 0.5119 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5277, allocations: 4 kB / 0.5119 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.5285, allocations: 0.6275 MB / 0.5125 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5285, allocations: 3.219 kB / 0.5125 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.5289, allocations: 59.02 kB / 0.5125 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.138e-05/0.5289, allocations: 24.62 kB / 0.5126 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.529, allocations: 19.06 kB / 0.5126 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007429/0.5297, allocations: 1.269 MB / 0.5138 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5297, allocations: 3.938 kB / 0.5138 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.5304, allocations: 429.1 kB / 0.5142 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.5305, allocations: 84.86 kB / 0.5143 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.5305, allocations: 13.36 kB / 0.5143 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.5308, allocations: 7.688 kB / 0.5143 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.5308, allocations: 22.78 kB / 0.5144 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.5309, allocations: 25.78 kB / 0.5144 GB, free: 12.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.5309, allocations: 89.36 kB / 0.5145 GB, free: 12.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5309, allocations: 0.5625 kB / 0.5145 GB, free: 12.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.5314, allocations: 89.78 kB / 0.5146 GB, free: 12.15 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 (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.0003643/0.5317, allocations: 162.7 kB / 0.5147 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.5322, allocations: 206.2 kB / 0.5149 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5322, allocations: 0 / 0.5149 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.5325, allocations: 214.8 kB / 0.5151 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.5329, allocations: 53.48 kB / 0.5152 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.5337, allocations: 0.5774 MB / 0.5157 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.5339, allocations: 0.7056 MB / 0.5164 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004346/0.5344, allocations: 74.14 kB / 0.5165 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5346, allocations: 47.88 kB / 0.5165 GB, free: 10.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5346, allocations: 0 / 0.5165 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Templates: time 0.008859/0.5434, allocations: 5.448 MB / 0.5218 GB, free: 10.48 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches