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.001872/0.001872, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002135/0.002135, allocations: 212.7 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2442/0.2442, allocations: 46.96 MB / 360.8 MB, free: 3.91 MB / 286.1 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 0.002616/0.002616, allocations: 87.86 kB / 0.4967 GB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4006, allocations: 66.07 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2083/0.6089, allocations: 153.8 MB / 0.7114 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008192/0.6171, allocations: 4.926 MB / 0.7162 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.6179, allocations: 31.69 kB / 0.7162 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.619, allocations: 310 kB / 0.7165 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.6231, allocations: 1.352 MB / 0.7179 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.6271, allocations: 1.064 MB / 0.7189 GB, free: 1.879 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003374/0.6305, allocations: 1.875 MB / 0.7207 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6315, allocations: 389.5 kB / 0.7211 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.6345, allocations: 1.125 MB / 0.7222 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.6364, allocations: 0.7588 MB / 0.7229 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.6366, allocations: 64 kB / 0.723 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.6385, allocations: 0.5534 MB / 0.7235 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.6391, allocations: 279.1 kB / 0.7238 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.64, allocations: 330.6 kB / 0.7241 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.6428, allocations: 1.304 MB / 0.7254 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6428, allocations: 0 / 0.7254 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6428, allocations: 0 / 0.7254 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.505e-05/0.6428, allocations: 0 / 0.7254 GB, free: 11.2 MB / 0.5606 GB 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.003398/0.6462, allocations: 1.042 MB / 0.7264 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6463, allocations: 8.031 kB / 0.7264 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.6473, allocations: 151.4 kB / 0.7266 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.6486, allocations: 485.3 kB / 0.727 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.6488, allocations: 155.8 kB / 0.7272 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6489, allocations: 51.98 kB / 0.7272 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.6507, allocations: 1.136 MB / 0.7283 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6507, allocations: 0 / 0.7283 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.6508, allocations: 20 kB / 0.7283 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/0.6509, allocations: 52.8 kB / 0.7284 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.6521, allocations: 0.6166 MB / 0.729 GB, free: 7.258 MB / 0.5606 GB 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.005078/0.6572, allocations: 3.219 MB / 0.7321 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.6579, allocations: 342.3 kB / 0.7325 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.6582, allocations: 165.3 kB / 0.7326 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.6583, allocations: 12.27 kB / 0.7326 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.6583, allocations: 38.84 kB / 0.7327 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.685e-06/0.6583, allocations: 0 / 0.7327 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006078/0.6644, allocations: 1.598 MB / 0.7342 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6645, allocations: 136.5 kB / 0.7344 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.6653, allocations: 0.5299 MB / 0.7349 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.6653, allocations: 33.7 kB / 0.7349 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.6657, allocations: 388.2 kB / 0.7353 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6658, allocations: 150.7 kB / 0.7354 GB, free: 444 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.6661, allocations: 162.6 kB / 0.7356 GB, free: 276 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2964/0.9624, allocations: 370.8 kB / 0.7359 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/0.9633, allocations: 199.4 kB / 0.7361 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.9642, allocations: 0.5877 MB / 0.7367 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.9656, allocations: 0.7524 MB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.9656, allocations: 3.094 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001992/0.9676, allocations: 0.8671 MB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.9676, allocations: 9.75 kB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.9676, allocations: 9.25 kB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.9692, allocations: 319.7 kB / 0.7386 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.9697, allocations: 121.7 kB / 0.7387 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009921/0.9707, allocations: 0.9341 MB / 0.7396 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.9712, allocations: 28.75 kB / 0.7397 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.9713, allocations: 65.91 kB / 0.7397 GB, free: 173.2 MB / 0.5606 GB 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.0003664/0.9717, allocations: 246.3 kB / 0.74 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.9718, allocations: 61.91 kB / 0.74 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.9732, allocations: 0.8548 MB / 0.7409 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.9732, allocations: 4.469 kB / 0.7409 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9732, allocations: 0.875 kB / 0.7409 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9732, allocations: 2.203 kB / 0.7409 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.9749, allocations: 1.1 MB / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9749, allocations: 0 / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/0.9758, allocations: 212.8 kB / 0.7421 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.9759, allocations: 24.03 kB / 0.7422 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.9759, allocations: 17.86 kB / 0.7422 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.9773, allocations: 2.622 MB / 0.7447 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9773, allocations: 7.844 kB / 0.7448 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009653/0.9783, allocations: 0.8235 MB / 0.7456 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.9785, allocations: 100.1 kB / 0.7456 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.9786, allocations: 15.75 kB / 0.7457 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.9789, allocations: 16 kB / 0.7457 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.979, allocations: 42.08 kB / 0.7457 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.9791, allocations: 43.84 kB / 0.7458 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003424/0.9794, allocations: 363.5 kB / 0.7461 GB, free: 168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9794, allocations: 3.5 kB / 0.7461 GB, free: 168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000831/0.9802, allocations: 251.5 kB / 0.7464 GB, free: 167.8 MB / 0.5606 GB 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 (39): * Single equations (assignments): 37 * 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.0005665/0.9808, allocations: 282 kB / 0.7466 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.9818, allocations: 0.5238 MB / 0.7471 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9818, allocations: 7.938 kB / 0.7471 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.9827, allocations: 408 kB / 0.7475 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.984, allocations: 305.1 kB / 0.7478 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.9858, allocations: 1.328 MB / 0.7491 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.986, allocations: 336.3 kB / 0.7494 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007787/0.9868, allocations: 455.5 kB / 0.7499 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.9871, allocations: 107.4 kB / 0.75 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.9871, allocations: 0 / 0.75 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02223/1.009, allocations: 16.7 MB / 0.7663 GB, free: 147.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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: 6.464356377720833]