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.0009401/0.0009401, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001034/0.001034, allocations: 167.3 kB / 24.91 MB, free: 8.766 MB / 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 1.062/1.062, allocations: 177 MB / 205.2 MB, free: 5.402 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.2779/0.2779, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.402e-06/1.402e-06, allocations: 0 / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.694e-05, allocations: 3.297 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3244/0.3245, allocations: 148.1 MB / 474.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.3284, allocations: 2.652 MB / 476.8 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.3288, allocations: 26.53 kB / 476.8 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.3294, allocations: 212.7 kB / 477 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.3317, allocations: 1.161 MB / 478.2 MB, free: 16.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3332, allocations: 0.8136 MB / 479 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.3351, allocations: 1.919 MB / 480.9 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.3357, allocations: 419.9 kB / 481.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.3376, allocations: 1.234 MB / 482.5 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008336/0.3384, allocations: 0.5605 MB / 483.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3386, allocations: 60.16 kB / 483.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.3396, allocations: 485.5 kB / 483.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.3398, allocations: 283.5 kB / 483.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.3402, allocations: 284.6 kB / 484.2 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3415, allocations: 0.9925 MB / 485.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3415, allocations: 0 / 485.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3415, allocations: 0 / 485.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.3415, allocations: 0 / 485.2 MB, free: 15.5 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.001505/0.343, allocations: 0.9748 MB / 486.2 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3431, allocations: 7.719 kB / 486.2 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006929/0.3438, allocations: 214.2 kB / 486.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.3442, allocations: 418.9 kB / 486.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.3443, allocations: 154.7 kB / 486.9 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.3443, allocations: 60.72 kB / 487 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.3449, allocations: 0.8871 MB / 487.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3449, allocations: 2.812 kB / 487.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.3449, allocations: 24.94 kB / 487.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.345, allocations: 36.42 kB / 487.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3453, allocations: 234.4 kB / 488.2 MB, free: 13.96 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.001733/0.347, allocations: 2.649 MB / 490.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3472, allocations: 171.9 kB / 491 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.3473, allocations: 59.72 kB / 491 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3474, allocations: 39.72 kB / 491.1 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3474, allocations: 42.55 kB / 491.1 MB, free: 11.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.923e-06/0.3474, allocations: 2.906 kB / 491.1 MB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002274/0.3497, allocations: 0.9259 MB / 492.1 MB, free: 11.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.3497, allocations: 134.2 kB / 492.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.35, allocations: 485.1 kB / 492.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3501, allocations: 32.14 kB / 492.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3502, allocations: 345.6 kB / 493 MB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.3503, allocations: 149 kB / 493.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3504, allocations: 147.4 kB / 493.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.3505, allocations: 378 kB / 493.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.3506, allocations: 61.31 kB / 493.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3508, allocations: 0.4905 MB / 494.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.3512, allocations: 0.5293 MB / 494.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3512, allocations: 2.875 kB / 494.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005563/0.3517, allocations: 0.4901 MB / 495.3 MB, free: 9.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3518, allocations: 8.375 kB / 495.3 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3518, allocations: 14.97 kB / 495.3 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.3524, allocations: 225.6 kB / 495.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.3527, allocations: 133.3 kB / 495.6 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004295/0.3531, allocations: 0.6809 MB / 496.3 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.3533, allocations: 30.69 kB / 496.3 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.3534, allocations: 50.89 kB / 496.4 MB, free: 9.102 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.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.0001642/0.3536, allocations: 163.2 kB / 496.6 MB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.3536, allocations: 58.56 kB / 496.6 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006986/0.3543, allocations: 0.5782 MB / 497.2 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3543, allocations: 13.8 kB / 497.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3543, allocations: 2.906 kB / 497.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3543, allocations: 1.453 kB / 497.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.3552, allocations: 0.7184 MB / 497.9 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3552, allocations: 4.172 kB / 497.9 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.3557, allocations: 186.5 kB / 498.1 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.279e-05/0.3558, allocations: 23.92 kB / 498.1 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3559, allocations: 10.94 kB / 498.1 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008201/0.3567, allocations: 2.404 MB / 0.4888 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3567, allocations: 2.906 kB / 0.4888 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3571, allocations: 478.8 kB / 0.4893 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3572, allocations: 68.66 kB / 0.4893 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.3572, allocations: 12.12 kB / 0.4894 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3574, allocations: 9.891 kB / 0.4894 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.3574, allocations: 42.8 kB / 0.4894 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3575, allocations: 29.84 kB / 0.4894 GB, free: 5.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.3576, allocations: 201.9 kB / 0.4896 GB, free: 5.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 0.4896 GB, free: 5.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006957/0.3583, allocations: 246.8 kB / 0.4899 GB, free: 5.863 MB / 410.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.0004375/0.3587, allocations: 259.6 kB / 0.4901 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004632/0.3592, allocations: 321.1 kB / 0.4904 GB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/0.3592, allocations: 11.59 kB / 0.4904 GB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.3596, allocations: 287.9 kB / 0.4907 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.3603, allocations: 326.8 kB / 0.491 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3618, allocations: 1.129 MB / 0.4921 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.3619, allocations: 161.5 kB / 0.4923 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000477/0.3623, allocations: 368.1 kB / 0.4926 GB, free: 4.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.3628, allocations: 327.5 kB / 0.4929 GB, free: 4.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3628, allocations: 0 / 0.4929 GB, free: 4.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01766/0.3805, allocations: 16.61 MB / 0.5092 GB, free: 9.066 MB / 426.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 -s gbode -gbm=radauIIA3 -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: 3.6763746589422226]