Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.0007265/0.0007265, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009837/0.00171, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006979/0.0006979, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008482/0.001546, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9385/0.9385, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1764/1.115, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02343/0.1558, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.84e-05, allocations: 2.312 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3325/0.3326, allocations: 146.8 MB / 414 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.3363, allocations: 2.672 MB / 416.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.3368, allocations: 27.75 kB / 416.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.3372, allocations: 214.5 kB / 417 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.3394, allocations: 1.208 MB / 418.2 MB, free: 28 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3409, allocations: 0.8139 MB / 419 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3425, allocations: 1.942 MB / 420.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.343, allocations: 434.5 kB / 421.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.3446, allocations: 1.261 MB / 422.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.3452, allocations: 0.5571 MB / 423.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.3453, allocations: 60 kB / 423.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009128/0.3462, allocations: 0.5031 MB / 423.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.3464, allocations: 231.3 kB / 423.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.3467, allocations: 223.6 kB / 424.2 MB, free: 10 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009982/0.3477, allocations: 0.884 MB / 425 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.3477, allocations: 0 / 425 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3477, allocations: 0 / 425 MB, free: 9.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.3477, allocations: 0 / 425 MB, free: 9.117 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001591/0.3493, allocations: 1.256 MB / 426.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3493, allocations: 15.95 kB / 426.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.3498, allocations: 204.4 kB / 426.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.3505, allocations: 423.4 kB / 426.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3506, allocations: 156.4 kB / 427.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.3507, allocations: 56.36 kB / 427.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.3515, allocations: 0.9066 MB / 428 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.3516, allocations: 7.938 kB / 428.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.3516, allocations: 27.97 kB / 428.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.3517, allocations: 40.98 kB / 428.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.352, allocations: 229.4 kB / 428.3 MB, free: 5.559 MB / 378.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.002102/0.3541, allocations: 2.665 MB / 431 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.3544, allocations: 174 kB / 431.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3545, allocations: 70.45 kB / 431.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.3547, allocations: 138.2 kB / 431.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3548, allocations: 34.84 kB / 431.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.3548, allocations: 4 kB / 431.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.00258/0.3574, allocations: 0.8954 MB / 432.3 MB, free: 1.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3574, allocations: 55.41 kB / 432.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.358, allocations: 486.8 kB / 432.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.3581, allocations: 33.7 kB / 432.9 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3582, allocations: 341 kB / 433.2 MB, free: 500 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3583, allocations: 150.7 kB / 433.4 MB, free: 348 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3585, allocations: 146.4 kB / 433.5 MB, free: 196 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3587, allocations: 378.6 kB / 433.9 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3588, allocations: 65.97 kB / 433.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.3591, allocations: 495.3 kB / 434.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.3597, allocations: 0.5302 MB / 435 MB, free: 14.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3597, allocations: 4 kB / 435 MB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006193/0.3603, allocations: 493 kB / 435.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3603, allocations: 12 kB / 435.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3604, allocations: 8 kB / 435.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.3611, allocations: 215.5 kB / 435.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.3615, allocations: 147.7 kB / 435.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005125/0.362, allocations: 0.6766 MB / 436.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.3623, allocations: 36.02 kB / 436.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.3624, allocations: 44 kB / 436.6 MB, free: 12.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001864/0.3626, allocations: 160.4 kB / 436.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.3626, allocations: 51.94 kB / 436.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/0.3632, allocations: 401.2 kB / 437.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3632, allocations: 4 kB / 437.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3632, allocations: 4 kB / 437.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3632, allocations: 4 kB / 437.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.364, allocations: 0.7045 MB / 437.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.364, allocations: 4 kB / 437.9 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.3645, allocations: 192.5 kB / 438.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3646, allocations: 79.58 kB / 438.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/0.3647, allocations: 24.78 kB / 438.2 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3647, allocations: 8 kB / 438.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.3659, allocations: 2.403 MB / 440.6 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3659, allocations: 3.938 kB / 440.6 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.3663, allocations: 415.1 kB / 441 MB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3663, allocations: 16.03 kB / 441 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3665, allocations: 8 kB / 441 MB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.3665, allocations: 35.88 kB / 441.1 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.3665, allocations: 27.98 kB / 441.1 MB, free: 7.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3667, allocations: 204.3 kB / 441.3 MB, free: 7.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3667, allocations: 0 / 441.3 MB, free: 7.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.3672, allocations: 247.7 kB / 441.5 MB, free: 7.516 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0004866/0.3677, allocations: 273.5 kB / 441.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.3681, allocations: 327.8 kB / 442.1 MB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/0.3681, allocations: 12.48 kB / 442.1 MB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3684, allocations: 292.4 kB / 442.4 MB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.3691, allocations: 379 kB / 442.8 MB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/0.3763, allocations: 1.136 MB / 443.9 MB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3764, allocations: 166.5 kB / 444.1 MB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000385/0.3768, allocations: 157.4 kB / 444.2 MB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.3772, allocations: 305 kB / 444.5 MB, free: 4.441 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3772, allocations: 0 / 444.5 MB, free: 4.441 MB / 394.7 MB Notification: Performance of Templates: time 0.0173/0.3945, allocations: 16.72 MB / 461.2 MB, free: 3.809 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.4289943873882294]