Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 62.56 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.244, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1682/0.4122, allocations: 129.5 MB / 0.514 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.4137, allocations: 0.8879 MB / 0.5149 GB, free: 340 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.4138, allocations: 4 kB / 0.5149 GB, free: 336 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.4141, allocations: 27.78 kB / 0.5149 GB, free: 308 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.4148, allocations: 242.5 kB / 0.5151 GB, free: 68 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.4153, allocations: 119.6 kB / 0.5153 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.4155, allocations: 171.3 kB / 0.5154 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.4156, allocations: 3.984 kB / 0.5154 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.4158, allocations: 99.56 kB / 0.5155 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4159, allocations: 43.83 kB / 0.5156 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.4159, allocations: 4 kB / 0.5156 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.4164, allocations: 263.7 kB / 0.5158 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.4165, allocations: 19.92 kB / 0.5158 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.4166, allocations: 43.86 kB / 0.5159 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.417, allocations: 277.7 kB / 0.5161 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.417, allocations: 0 / 0.5161 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.417, allocations: 3.938 kB / 0.5161 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.417, allocations: 0 / 0.5161 GB, free: 15.04 MB / 446.1 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.0005074/0.4175, allocations: 333.8 kB / 0.5165 GB, free: 14.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4176, allocations: 11.98 kB / 0.5165 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.4197, allocations: 192.6 kB / 0.5167 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.42, allocations: 150.4 kB / 0.5168 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4201, allocations: 11.83 kB / 0.5168 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.4201, allocations: 15.98 kB / 0.5168 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.4207, allocations: 293.2 kB / 0.5171 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4207, allocations: 0 / 0.5171 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.4207, allocations: 15.94 kB / 0.5171 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4207, allocations: 3.984 kB / 0.5171 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.4212, allocations: 167.8 kB / 0.5173 GB, free: 13.79 MB / 446.1 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.001048/0.4223, allocations: 0.509 MB / 0.5178 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.4226, allocations: 134.5 kB / 0.5179 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.4228, allocations: 64.83 kB / 0.518 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4228, allocations: 8 kB / 0.518 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4228, allocations: 34.56 kB / 0.518 GB, free: 12.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.4228, allocations: 0 / 0.518 GB, free: 12.98 MB / 446.1 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.005478/0.4283, allocations: 1.152 MB / 0.5191 GB, free: 11.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4284, allocations: 55.41 kB / 0.5192 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4285, allocations: 109.8 kB / 0.5193 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.4285, allocations: 33.7 kB / 0.5193 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.4286, allocations: 99.98 kB / 0.5194 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.4286, allocations: 71.41 kB / 0.5195 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.4287, allocations: 53.64 kB / 0.5195 GB, free: 11.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4289, allocations: 318.8 kB / 0.5198 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4291, allocations: 71.95 kB / 0.5199 GB, free: 10.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.4293, allocations: 107.2 kB / 0.52 GB, free: 10.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.4296, allocations: 183.3 kB / 0.5202 GB, free: 10.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4296, allocations: 0 / 0.5202 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005461/0.4302, allocations: 266.2 kB / 0.5204 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4302, allocations: 4 kB / 0.5205 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4302, allocations: 4 kB / 0.5205 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.4304, allocations: 48.83 kB / 0.5205 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.4307, allocations: 55.91 kB / 0.5206 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004891/0.4312, allocations: 0.568 MB / 0.5211 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.4314, allocations: 8.031 kB / 0.5211 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.4315, allocations: 23.98 kB / 0.5211 GB, free: 9.609 MB / 446.1 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.0001366/0.4316, allocations: 129.7 kB / 0.5213 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4316, allocations: 7.953 kB / 0.5213 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/0.4325, allocations: 347.1 kB / 0.5216 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4325, allocations: 4 kB / 0.5216 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4325, allocations: 7.938 kB / 0.5216 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4325, allocations: 0 / 0.5216 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4335, allocations: 0.5448 MB / 0.5221 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4335, allocations: 0 / 0.5221 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.4339, allocations: 63.95 kB / 0.5222 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.556e-05/0.434, allocations: 16.84 kB / 0.5222 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.434, allocations: 20.08 kB / 0.5222 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.4351, allocations: 1.237 MB / 0.5235 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.4351, allocations: 3.938 kB / 0.5235 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.4358, allocations: 426.7 kB / 0.5239 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.4358, allocations: 12.16 kB / 0.5239 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.4359, allocations: 15.94 kB / 0.5239 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.4361, allocations: 11.98 kB / 0.5239 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.4362, allocations: 27.91 kB / 0.5239 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.4362, allocations: 23.98 kB / 0.5239 GB, free: 6.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.4363, allocations: 95.25 kB / 0.524 GB, free: 6.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4363, allocations: 0 / 0.524 GB, free: 6.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.4367, allocations: 83.88 kB / 0.5241 GB, free: 6.359 MB / 446.1 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.0003495/0.437, allocations: 147 kB / 0.5243 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.4376, allocations: 195.7 kB / 0.5244 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4376, allocations: 4.188 kB / 0.5245 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.438, allocations: 218.5 kB / 0.5247 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.4385, allocations: 45.17 kB / 0.5247 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.4394, allocations: 493.4 kB / 0.5252 GB, free: 5.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.4395, allocations: 89.97 kB / 0.5253 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003196/0.4399, allocations: 77.61 kB / 0.5253 GB, free: 5.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.44, allocations: 55.41 kB / 0.5254 GB, free: 4.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.44, allocations: 0 / 0.5254 GB, free: 4.98 MB / 446.1 MB Notification: Performance of Templates: time 0.01065/0.4507, allocations: 5.666 MB / 0.5309 GB, free: 15.29 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.013877408578992]