Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001395/0.001395, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001539/0.001539, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.571/1.571, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2191/0.2191, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.89 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 65.47 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04538/0.3552, allocations: 35.87 MB / 0.5932 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02602/0.3812, allocations: 18.06 MB / 0.6109 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.3821, allocations: 27.75 kB / 0.6109 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.3835, allocations: 409.5 kB / 0.6113 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.3976, allocations: 5.124 MB / 0.6163 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007495/0.4051, allocations: 2.54 MB / 0.6188 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.4082, allocations: 1.977 MB / 0.6207 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.409, allocations: 409.8 kB / 0.6211 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009191/0.4182, allocations: 4.172 MB / 0.6252 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.4295, allocations: 5.46 MB / 0.6305 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.4298, allocations: 64 kB / 0.6306 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/0.4439, allocations: 6.915 MB / 0.6373 GB, free: 6.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.4444, allocations: 279.1 kB / 0.6376 GB, free: 5.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.445, allocations: 374.5 kB / 0.6379 GB, free: 5.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.4564, allocations: 4.98 MB / 0.6428 GB, free: 472 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4564, allocations: 0 / 0.6428 GB, free: 472 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4564, allocations: 0 / 0.6428 GB, free: 472 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.4564, allocations: 7.938 kB / 0.6428 GB, free: 464 kB / 478.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.004613/0.4611, allocations: 1.599 MB / 0.6444 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4611, allocations: 12.03 kB / 0.6444 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.4626, allocations: 220.3 kB / 0.6446 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4637, allocations: 0.4987 MB / 0.6451 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.4638, allocations: 164.7 kB / 0.6452 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.4639, allocations: 68.05 kB / 0.6453 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.4661, allocations: 1.326 MB / 0.6466 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.4662, allocations: 7.938 kB / 0.6466 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.4662, allocations: 24 kB / 0.6466 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/0.4663, allocations: 40.98 kB / 0.6467 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.468, allocations: 0.8155 MB / 0.6475 GB, free: 11.43 MB / 494.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.006524/0.4745, allocations: 4.509 MB / 0.6519 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.476, allocations: 0.5098 MB / 0.6524 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.4763, allocations: 203 kB / 0.6526 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09447/0.5708, allocations: 26.11 MB / 0.6781 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.5708, allocations: 46.25 kB / 0.6781 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.394e-06/0.5708, allocations: 0 / 0.6781 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006598/0.5774, allocations: 2.074 MB / 0.6801 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.5776, allocations: 183.9 kB / 0.6803 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.5783, allocations: 0.5689 MB / 0.6809 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.5783, allocations: 37.64 kB / 0.6809 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.5787, allocations: 415.9 kB / 0.6813 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.5788, allocations: 170.6 kB / 0.6815 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.5791, allocations: 154.6 kB / 0.6816 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5793, allocations: 370.8 kB / 0.682 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.5797, allocations: 229.9 kB / 0.6822 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.5805, allocations: 0.6689 MB / 0.6828 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.5817, allocations: 0.8522 MB / 0.6837 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5817, allocations: 4 kB / 0.6837 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001597/0.5833, allocations: 0.9005 MB / 0.6845 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.5833, allocations: 8 kB / 0.6845 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.5834, allocations: 12 kB / 0.6846 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/0.5865, allocations: 268.5 kB / 0.6848 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5877, allocations: 279.6 kB / 0.6851 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.5897, allocations: 1.995 MB / 0.687 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.5903, allocations: 28 kB / 0.6871 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.5904, allocations: 59.97 kB / 0.6871 GB, free: 1.984 MB / 0.5137 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.0004345/0.5908, allocations: 274 kB / 0.6874 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.591, allocations: 67.58 kB / 0.6874 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.5937, allocations: 2.084 MB / 0.6895 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.5937, allocations: 27.95 kB / 0.6895 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5937, allocations: 4.094 kB / 0.6895 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5937, allocations: 11.98 kB / 0.6895 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.5976, allocations: 2.819 MB / 0.6923 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5976, allocations: 0 / 0.6923 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/0.5985, allocations: 183.8 kB / 0.6924 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.6003, allocations: 303.9 kB / 0.6927 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.6003, allocations: 15.94 kB / 0.6928 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.6023, allocations: 2.057 MB / 0.6948 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6024, allocations: 3.938 kB / 0.6948 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.605, allocations: 1.98 MB / 0.6967 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.6054, allocations: 147.2 kB / 0.6968 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6055, allocations: 31.78 kB / 0.6969 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.6059, allocations: 16.2 kB / 0.6969 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.606, allocations: 40.31 kB / 0.6969 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.606, allocations: 16 kB / 0.6969 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007266/0.6068, allocations: 0.5029 MB / 0.6974 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6068, allocations: 4 kB / 0.6974 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003345/0.6101, allocations: 1.1 MB / 0.6985 GB, free: 6.102 MB / 0.5294 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.004569/0.6147, allocations: 1.196 MB / 0.6997 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.6169, allocations: 0.8973 MB / 0.7005 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6169, allocations: 0 / 0.7005 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6182, allocations: 0.593 MB / 0.7011 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.6201, allocations: 331.8 kB / 0.7014 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.6236, allocations: 2.214 MB / 0.7036 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.6242, allocations: 0.496 MB / 0.7041 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.6244, allocations: 63.44 kB / 0.7042 GB, free: 248 kB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.6244, allocations: 0 / 0.7042 GB, free: 248 kB / 0.5294 GB Notification: Performance of Templates: time 0.2843/0.9087, allocations: 36.92 MB / 0.7402 GB, free: 169.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.716675847768784]