Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001421/0.001421, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001413/0.001413, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.534/1.534, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1317, allocations: 66 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3075/0.4392, allocations: 39.42 MB / 0.5944 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.4613, allocations: 20.23 MB / 0.6141 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009821/0.4623, allocations: 27.41 kB / 0.6141 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.4636, allocations: 449 kB / 0.6146 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0174/0.481, allocations: 5.16 MB / 0.6196 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008105/0.4891, allocations: 2.555 MB / 0.6221 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003457/0.4926, allocations: 1.964 MB / 0.624 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006754/0.4933, allocations: 429.4 kB / 0.6244 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008904/0.5022, allocations: 4.189 MB / 0.6285 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01161/0.5138, allocations: 5.472 MB / 0.6339 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.514, allocations: 66.97 kB / 0.6339 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.5301, allocations: 7.267 MB / 0.641 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.5306, allocations: 279 kB / 0.6413 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008439/0.5315, allocations: 438.9 kB / 0.6417 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.5441, allocations: 4.995 MB / 0.6466 GB, free: 4.246 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5441, allocations: 4 kB / 0.6466 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5441, allocations: 0 / 0.6466 GB, free: 4.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.5441, allocations: 0 / 0.6466 GB, free: 4.242 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004504/0.5486, allocations: 1.664 MB / 0.6482 GB, free: 2.523 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5487, allocations: 8.031 kB / 0.6482 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.5503, allocations: 224.3 kB / 0.6484 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.5513, allocations: 0.5642 MB / 0.649 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.5514, allocations: 117.3 kB / 0.6491 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5516, allocations: 56.36 kB / 0.6492 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.5537, allocations: 1.079 MB / 0.6502 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/0.5538, allocations: 8.812 kB / 0.6502 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.812e-05/0.5539, allocations: 31.94 kB / 0.6502 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/0.554, allocations: 44.97 kB / 0.6503 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.5559, allocations: 0.8155 MB / 0.6511 GB, free: 15.43 MB / 478.1 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.007281/0.5632, allocations: 5.565 MB / 0.6565 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.5646, allocations: 0.5154 MB / 0.657 GB, free: 8.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.565, allocations: 198.5 kB / 0.6572 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1312/0.6961, allocations: 52.78 MB / 0.7088 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.056e-05/0.6962, allocations: 50.5 kB / 0.7088 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 3.757e-06/0.6962, allocations: 0 / 0.7088 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.007903/0.7041, allocations: 2.15 MB / 0.7109 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7042, allocations: 191.9 kB / 0.7111 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.7053, allocations: 0.6407 MB / 0.7117 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.7054, allocations: 33.69 kB / 0.7117 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.7058, allocations: 416.2 kB / 0.7121 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.706, allocations: 170.6 kB / 0.7123 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.7063, allocations: 158.6 kB / 0.7125 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002493/0.7065, allocations: 374.8 kB / 0.7128 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.707, allocations: 233.9 kB / 0.713 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.7079, allocations: 0.5978 MB / 0.7136 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.7092, allocations: 0.8599 MB / 0.7145 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.7092, allocations: 4 kB / 0.7145 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00177/0.7109, allocations: 0.9044 MB / 0.7153 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.711, allocations: 12 kB / 0.7154 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.711, allocations: 12 kB / 0.7154 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/0.7146, allocations: 268.5 kB / 0.7156 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.7159, allocations: 279.6 kB / 0.7159 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.7182, allocations: 2.12 MB / 0.718 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.7189, allocations: 28 kB / 0.718 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/0.7189, allocations: 47.92 kB / 0.718 GB, free: 3.176 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005207/0.7195, allocations: 275.8 kB / 0.7183 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.7197, allocations: 75.53 kB / 0.7184 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.7227, allocations: 2.007 MB / 0.7203 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.7227, allocations: 23.91 kB / 0.7204 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7227, allocations: 8.062 kB / 0.7204 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.7227, allocations: 3.984 kB / 0.7204 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.7273, allocations: 3.002 MB / 0.7233 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7273, allocations: 0 / 0.7233 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.7283, allocations: 187.8 kB / 0.7235 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.7302, allocations: 303.8 kB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.7302, allocations: 11.98 kB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.7324, allocations: 2.181 MB / 0.7259 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7324, allocations: 0 / 0.7259 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.7353, allocations: 1.949 MB / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7357, allocations: 228.2 kB / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.7359, allocations: 35.73 kB / 0.7281 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.7364, allocations: 16.67 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.7365, allocations: 28.41 kB / 0.7281 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.7366, allocations: 19.98 kB / 0.7281 GB, free: 8.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009982/0.7375, allocations: 0.5772 MB / 0.7287 GB, free: 7.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7375, allocations: 0 / 0.7287 GB, free: 7.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004574/0.7421, allocations: 1.1 MB / 0.7298 GB, free: 6.863 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004953/0.7471, allocations: 1.189 MB / 0.7309 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002319/0.7494, allocations: 0.8973 MB / 0.7318 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.7494, allocations: 4 kB / 0.7318 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.7508, allocations: 0.593 MB / 0.7324 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.7531, allocations: 400.5 kB / 0.7328 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.7568, allocations: 2.144 MB / 0.7349 GB, free: 1.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.7577, allocations: 1.101 MB / 0.7359 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008404/0.7585, allocations: 346.1 kB / 0.7363 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.7587, allocations: 63.44 kB / 0.7363 GB, free: 92 kB / 0.545 GB Notification: Performance of SimCode: time 2.235e-06/0.7587, allocations: 0 / 0.7363 GB, free: 92 kB / 0.545 GB Notification: Performance of Templates: time 0.07516/0.8339, allocations: 45.68 MB / 0.7809 GB, free: 2.504 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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: 8.771300811320543]