Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008847/0.0008847, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0008823/0.0008823, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9619/0.9619, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 32.81 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.532e-05, allocations: 5.406 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.328/0.3281, allocations: 148.8 MB / 0.5125 GB, free: 17.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.3317, allocations: 2.618 MB / 0.5151 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.3322, allocations: 26.5 kB / 0.5151 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.3328, allocations: 213.2 kB / 0.5153 GB, free: 15.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.3351, allocations: 1.184 MB / 0.5164 GB, free: 14.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3365, allocations: 0.8278 MB / 0.5172 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.3382, allocations: 1.921 MB / 0.5191 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005253/0.3387, allocations: 423.5 kB / 0.5195 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.3402, allocations: 1.24 MB / 0.5207 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.3409, allocations: 0.5998 MB / 0.5213 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.341, allocations: 57.75 kB / 0.5214 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.3417, allocations: 450.4 kB / 0.5218 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.3419, allocations: 283.7 kB / 0.5221 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.3422, allocations: 286 kB / 0.5224 GB, free: 12.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3433, allocations: 0.9956 MB / 0.5233 GB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3433, allocations: 4 kB / 0.5233 GB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3433, allocations: 0 / 0.5233 GB, free: 11.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3433, allocations: 0 / 0.5233 GB, free: 11.94 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.001447/0.3447, allocations: 1.131 MB / 0.5244 GB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3448, allocations: 8.719 kB / 0.5244 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.3453, allocations: 219.6 kB / 0.5247 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.3458, allocations: 495.8 kB / 0.5251 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.3459, allocations: 152.5 kB / 0.5253 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.346, allocations: 60.98 kB / 0.5253 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.3467, allocations: 0.9815 MB / 0.5263 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3467, allocations: 3.406 kB / 0.5263 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.3468, allocations: 21.58 kB / 0.5263 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.3468, allocations: 38.72 kB / 0.5263 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.3472, allocations: 317 kB / 0.5266 GB, free: 9.688 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.002177/0.3494, allocations: 3.862 MB / 0.5304 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3497, allocations: 217.8 kB / 0.5306 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3498, allocations: 87.72 kB / 0.5307 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.3499, allocations: 18.25 kB / 0.5307 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3499, allocations: 42.94 kB / 0.5308 GB, free: 6.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.3499, allocations: 0 / 0.5308 GB, free: 6.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002542/0.3525, allocations: 1.162 MB / 0.5319 GB, free: 5.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3525, allocations: 136.7 kB / 0.532 GB, free: 5.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.3529, allocations: 0.5575 MB / 0.5326 GB, free: 5.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3529, allocations: 32.36 kB / 0.5326 GB, free: 5.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3531, allocations: 440.1 kB / 0.533 GB, free: 4.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.3532, allocations: 157.6 kB / 0.5332 GB, free: 4.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3533, allocations: 159.2 kB / 0.5333 GB, free: 4.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.3534, allocations: 0.5546 MB / 0.5339 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3536, allocations: 96.56 kB / 0.534 GB, free: 4.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.3538, allocations: 0.6471 MB / 0.5346 GB, free: 3.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.3543, allocations: 0.6974 MB / 0.5353 GB, free: 2.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3543, allocations: 2.938 kB / 0.5353 GB, free: 2.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007126/0.355, allocations: 0.6724 MB / 0.5359 GB, free: 2.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.355, allocations: 8.531 kB / 0.5359 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.355, allocations: 11.69 kB / 0.536 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.3557, allocations: 247.7 kB / 0.5362 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.3559, allocations: 127.5 kB / 0.5363 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000494/0.3564, allocations: 1.012 MB / 0.5373 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3566, allocations: 28.08 kB / 0.5373 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.3566, allocations: 64.92 kB / 0.5374 GB, free: 1.379 MB / 410.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.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 (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.0001358/0.3568, allocations: 207.9 kB / 0.5376 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.3569, allocations: 73.06 kB / 0.5377 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.3576, allocations: 0.6861 MB / 0.5383 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3576, allocations: 3.062 kB / 0.5383 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3576, allocations: 5.047 kB / 0.5383 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3576, allocations: 0 / 0.5383 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.3585, allocations: 0.933 MB / 0.5392 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3585, allocations: 0 / 0.5392 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.359, allocations: 197.4 kB / 0.5394 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-05/0.3591, allocations: 35.83 kB / 0.5395 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.3591, allocations: 14.5 kB / 0.5395 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.3608, allocations: 3.555 MB / 0.543 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3608, allocations: 0 / 0.543 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.3614, allocations: 0.6027 MB / 0.5435 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3616, allocations: 95.89 kB / 0.5436 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.3616, allocations: 12.42 kB / 0.5436 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3618, allocations: 19.33 kB / 0.5437 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.3618, allocations: 46.84 kB / 0.5437 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3619, allocations: 30.69 kB / 0.5437 GB, free: 12.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.3621, allocations: 344.2 kB / 0.5441 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3621, allocations: 0 / 0.5441 GB, free: 12.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005423/0.3627, allocations: 253.1 kB / 0.5443 GB, free: 12 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.0004346/0.3631, allocations: 265.9 kB / 0.5446 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.3636, allocations: 396.7 kB / 0.5449 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3636, allocations: 0 / 0.5449 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.3641, allocations: 392.4 kB / 0.5453 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.3649, allocations: 326.2 kB / 0.5456 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3664, allocations: 1.153 MB / 0.5468 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.3665, allocations: 165.5 kB / 0.5469 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.367, allocations: 424.8 kB / 0.5473 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3672, allocations: 102 kB / 0.5474 GB, free: 10.55 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3672, allocations: 0 / 0.5474 GB, free: 10.55 MB / 426.7 MB Notification: Performance of Templates: time 0.01748/0.3847, allocations: 16.4 MB / 0.5634 GB, free: 12.03 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.8441708963364363]