Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001716/0.001716, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00226/0.00226, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.543/1.543, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.2354/0.2354, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 75.88 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3282, allocations: 66.09 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04342/0.3716, allocations: 35.87 MB / 0.597 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02726/0.3988, allocations: 18.06 MB / 0.6146 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.3999, allocations: 27.75 kB / 0.6146 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.4015, allocations: 409.5 kB / 0.615 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.4164, allocations: 5.13 MB / 0.62 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007819/0.4242, allocations: 2.531 MB / 0.6225 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.4274, allocations: 1.977 MB / 0.6244 GB, free: 3.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.4281, allocations: 413.8 kB / 0.6248 GB, free: 3.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009428/0.4376, allocations: 4.168 MB / 0.6289 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.4486, allocations: 5.463 MB / 0.6342 GB, free: 9.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.4488, allocations: 68 kB / 0.6343 GB, free: 9.516 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01448/0.4633, allocations: 6.915 MB / 0.641 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.4639, allocations: 279 kB / 0.6413 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007087/0.4646, allocations: 378.4 kB / 0.6417 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.4765, allocations: 4.972 MB / 0.6465 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4765, allocations: 0 / 0.6465 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4765, allocations: 0 / 0.6465 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.4765, allocations: 0 / 0.6465 GB, free: 12.96 MB / 494.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.004487/0.481, allocations: 1.6 MB / 0.6481 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4811, allocations: 12.03 kB / 0.6481 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.4825, allocations: 220.3 kB / 0.6483 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.4836, allocations: 0.5064 MB / 0.6488 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.4838, allocations: 164.7 kB / 0.6489 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.4839, allocations: 64.11 kB / 0.649 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.4861, allocations: 1.318 MB / 0.6503 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.4861, allocations: 11.94 kB / 0.6503 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.4862, allocations: 27.98 kB / 0.6503 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.4863, allocations: 44.98 kB / 0.6504 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.488, allocations: 0.8154 MB / 0.6512 GB, free: 7.934 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.006095/0.4941, allocations: 4.501 MB / 0.6556 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.4954, allocations: 0.5056 MB / 0.6561 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.4958, allocations: 214.8 kB / 0.6563 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09434/0.5901, allocations: 26.11 MB / 0.6818 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.5902, allocations: 42.31 kB / 0.6818 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.574e-06/0.5902, allocations: 0 / 0.6818 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006579/0.5968, allocations: 2.077 MB / 0.6838 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.5969, allocations: 183.9 kB / 0.684 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.5976, allocations: 0.5611 MB / 0.6846 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.5976, allocations: 33.7 kB / 0.6846 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.5979, allocations: 419.9 kB / 0.685 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.5981, allocations: 174.7 kB / 0.6852 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.5983, allocations: 158.6 kB / 0.6853 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5985, allocations: 366.8 kB / 0.6857 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.5989, allocations: 229.9 kB / 0.6859 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.5997, allocations: 0.665 MB / 0.6865 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.6009, allocations: 0.8649 MB / 0.6874 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6009, allocations: 3.938 kB / 0.6874 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001573/0.6024, allocations: 0.8966 MB / 0.6883 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6025, allocations: 8 kB / 0.6883 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6025, allocations: 16.12 kB / 0.6883 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.6057, allocations: 268.5 kB / 0.6885 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.6069, allocations: 279.6 kB / 0.6888 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.6093, allocations: 1.998 MB / 0.6907 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.6099, allocations: 28 kB / 0.6908 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.61, allocations: 47.92 kB / 0.6908 GB, free: 14.48 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.0004691/0.6104, allocations: 271 kB / 0.6911 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6106, allocations: 67.58 kB / 0.6911 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.6134, allocations: 2.084 MB / 0.6932 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/0.6134, allocations: 31.95 kB / 0.6932 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6134, allocations: 0 / 0.6932 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6134, allocations: 3.938 kB / 0.6932 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.6174, allocations: 2.812 MB / 0.696 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6174, allocations: 4 kB / 0.696 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.6183, allocations: 183.8 kB / 0.6961 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.6201, allocations: 308 kB / 0.6964 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.6201, allocations: 15.92 kB / 0.6964 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.622, allocations: 2.066 MB / 0.6985 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.622, allocations: 3.938 kB / 0.6985 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.6245, allocations: 1.981 MB / 0.7004 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.6249, allocations: 143.1 kB / 0.7005 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.625, allocations: 35.72 kB / 0.7006 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.6254, allocations: 15.98 kB / 0.7006 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.6255, allocations: 40.25 kB / 0.7006 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.6256, allocations: 16 kB / 0.7006 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007139/0.6263, allocations: 0.5109 MB / 0.7011 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6263, allocations: 0 / 0.7011 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003222/0.6295, allocations: 1.1 MB / 0.7022 GB, free: 2.602 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.004489/0.634, allocations: 1.195 MB / 0.7034 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.6362, allocations: 0.917 MB / 0.7043 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6362, allocations: 0 / 0.7043 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.6375, allocations: 0.5893 MB / 0.7049 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.6393, allocations: 324.6 kB / 0.7052 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.6428, allocations: 2.216 MB / 0.7073 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.6434, allocations: 0.4921 MB / 0.7078 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.6436, allocations: 63.44 kB / 0.7079 GB, free: 12.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/0.6436, allocations: 4 kB / 0.7079 GB, free: 12.73 MB / 0.545 GB Notification: Performance of Templates: time 0.3184/0.962, allocations: 36.92 MB / 0.7439 GB, free: 164.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.663365077227354]