Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.985/0.985, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2831/0.2831, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.308e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3361/0.3361, allocations: 148.8 MB / 0.5152 GB, free: 14.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.3398, allocations: 2.615 MB / 0.5177 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006275/0.3405, allocations: 27.22 kB / 0.5178 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.3411, allocations: 209 kB / 0.518 GB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.3436, allocations: 1.186 MB / 0.5191 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.3452, allocations: 0.8258 MB / 0.5199 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.3471, allocations: 1.916 MB / 0.5218 GB, free: 10.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006383/0.3477, allocations: 429.9 kB / 0.5222 GB, free: 10.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.3493, allocations: 1.063 MB / 0.5232 GB, free: 10.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.3505, allocations: 0.7265 MB / 0.524 GB, free: 10.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.3507, allocations: 63.06 kB / 0.524 GB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3518, allocations: 456.6 kB / 0.5245 GB, free: 9.891 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.352, allocations: 284.1 kB / 0.5247 GB, free: 9.754 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.3523, allocations: 291.9 kB / 0.525 GB, free: 9.645 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.3537, allocations: 1 MB / 0.526 GB, free: 9.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3537, allocations: 0 / 0.526 GB, free: 9.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3537, allocations: 4 kB / 0.526 GB, free: 9.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.3537, allocations: 0 / 0.526 GB, free: 9.254 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001705/0.3554, allocations: 1.137 MB / 0.5271 GB, free: 8.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3555, allocations: 8.562 kB / 0.5271 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.3561, allocations: 217.4 kB / 0.5273 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.3567, allocations: 494.2 kB / 0.5278 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.3568, allocations: 150.9 kB / 0.5279 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.3569, allocations: 66.22 kB / 0.528 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.3576, allocations: 0.9965 MB / 0.529 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3577, allocations: 10.28 kB / 0.529 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.3577, allocations: 29.11 kB / 0.529 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/0.3578, allocations: 38.36 kB / 0.529 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.3582, allocations: 306.5 kB / 0.5293 GB, free: 6.98 MB / 410.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.002365/0.3606, allocations: 3.865 MB / 0.5331 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.3609, allocations: 217.4 kB / 0.5333 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.361, allocations: 88.11 kB / 0.5334 GB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.878e-05/0.3611, allocations: 18.05 kB / 0.5334 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3611, allocations: 46.98 kB / 0.5335 GB, free: 3.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.3611, allocations: 0 / 0.5335 GB, free: 3.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002827/0.364, allocations: 1.166 MB / 0.5346 GB, free: 2.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.364, allocations: 131.2 kB / 0.5347 GB, free: 2.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.3644, allocations: 0.5415 MB / 0.5352 GB, free: 2.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3644, allocations: 32.55 kB / 0.5353 GB, free: 2.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3646, allocations: 438.4 kB / 0.5357 GB, free: 2.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.3646, allocations: 151.1 kB / 0.5358 GB, free: 1.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3648, allocations: 162.8 kB / 0.536 GB, free: 1.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.3649, allocations: 0.5448 MB / 0.5365 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.365, allocations: 92.89 kB / 0.5366 GB, free: 1.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3653, allocations: 0.6218 MB / 0.5372 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.3658, allocations: 0.6644 MB / 0.5379 GB, free: 15.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3658, allocations: 2.875 kB / 0.5379 GB, free: 15.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008553/0.3667, allocations: 0.6513 MB / 0.5385 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3667, allocations: 8.625 kB / 0.5385 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3667, allocations: 15.81 kB / 0.5385 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/0.3675, allocations: 246.8 kB / 0.5388 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3677, allocations: 128.9 kB / 0.5389 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009922/0.3687, allocations: 1.006 MB / 0.5399 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.369, allocations: 25 kB / 0.5399 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.3691, allocations: 61.42 kB / 0.54 GB, free: 14.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.3693, allocations: 209 kB / 0.5402 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.3694, allocations: 76.98 kB / 0.5402 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/0.3702, allocations: 0.6824 MB / 0.5409 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3702, allocations: 5.234 kB / 0.5409 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3702, allocations: 2.969 kB / 0.5409 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3702, allocations: 0 / 0.5409 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3714, allocations: 0.9402 MB / 0.5418 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3714, allocations: 3.125 kB / 0.5418 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.372, allocations: 191.8 kB / 0.542 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.486e-05/0.3721, allocations: 32.44 kB / 0.542 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3721, allocations: 14.58 kB / 0.5421 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.3737, allocations: 3.554 MB / 0.5455 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3737, allocations: 7.094 kB / 0.5455 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.3743, allocations: 0.604 MB / 0.5461 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.3745, allocations: 98.59 kB / 0.5462 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.3745, allocations: 9.562 kB / 0.5462 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3747, allocations: 16.69 kB / 0.5462 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.3748, allocations: 43.25 kB / 0.5463 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.3749, allocations: 37.09 kB / 0.5463 GB, free: 9.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002642/0.3751, allocations: 334.3 kB / 0.5466 GB, free: 9.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3751, allocations: 0 / 0.5466 GB, free: 9.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007068/0.3758, allocations: 253.1 kB / 0.5469 GB, free: 9.402 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005014/0.3763, allocations: 262.1 kB / 0.5471 GB, free: 9.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.377, allocations: 387.3 kB / 0.5475 GB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.377, allocations: 0 / 0.5475 GB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.3775, allocations: 390.4 kB / 0.5479 GB, free: 8.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.3784, allocations: 319.9 kB / 0.5482 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3803, allocations: 1.155 MB / 0.5493 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3804, allocations: 169.5 kB / 0.5495 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000626/0.381, allocations: 421.2 kB / 0.5499 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3812, allocations: 102.2 kB / 0.55 GB, free: 7.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3812, allocations: 0 / 0.55 GB, free: 7.672 MB / 426.7 MB Notification: Performance of Templates: time 0.02072/0.4019, allocations: 14.91 MB / 0.5645 GB, free: 9.613 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.084552818443626]