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.001372/0.001372, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001518/0.001518, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2267/0.2267, allocations: 46.94 MB / 360.8 MB, free: 3.918 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.002567/0.002567, allocations: 80.06 kB / 0.4967 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3161, allocations: 66.09 MB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04466/0.3607, allocations: 35.87 MB / 0.5962 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02588/0.3866, allocations: 18.05 MB / 0.6138 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.3876, allocations: 31.69 kB / 0.6139 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.3892, allocations: 401.5 kB / 0.6143 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.4037, allocations: 5.131 MB / 0.6193 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006809/0.4105, allocations: 2.543 MB / 0.6218 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002707/0.4132, allocations: 1.977 MB / 0.6237 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008139/0.414, allocations: 409.8 kB / 0.6241 GB, free: 3.332 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009054/0.4231, allocations: 4.165 MB / 0.6281 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.4347, allocations: 5.46 MB / 0.6335 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.4351, allocations: 71.94 kB / 0.6335 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/0.4501, allocations: 6.907 MB / 0.6403 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006023/0.4507, allocations: 283.1 kB / 0.6406 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000861/0.4515, allocations: 374.4 kB / 0.6409 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.4635, allocations: 4.976 MB / 0.6458 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4635, allocations: 4 kB / 0.6458 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.4635, allocations: 3.938 kB / 0.6458 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.333e-05/0.4635, allocations: 0 / 0.6458 GB, free: 12.94 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.005334/0.4689, allocations: 1.6 MB / 0.6473 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4689, allocations: 8.031 kB / 0.6474 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.4706, allocations: 224.3 kB / 0.6476 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.4719, allocations: 0.4986 MB / 0.6481 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.4721, allocations: 164.7 kB / 0.6482 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.4722, allocations: 68.12 kB / 0.6483 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.4745, allocations: 1.322 MB / 0.6496 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.4745, allocations: 3.938 kB / 0.6496 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.4746, allocations: 35.92 kB / 0.6496 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.676e-05/0.4747, allocations: 44.97 kB / 0.6496 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4765, allocations: 0.8154 MB / 0.6504 GB, free: 7.91 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.0059/0.4824, allocations: 4.494 MB / 0.6548 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.4836, allocations: 0.5177 MB / 0.6553 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.4839, allocations: 210.7 kB / 0.6555 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09585/0.5798, allocations: 26.11 MB / 0.681 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.5798, allocations: 54.3 kB / 0.6811 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/0.5799, allocations: 0 / 0.6811 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.0069/0.5868, allocations: 2.054 MB / 0.6831 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.5869, allocations: 191.9 kB / 0.6833 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/0.5878, allocations: 0.5572 MB / 0.6838 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.5879, allocations: 29.7 kB / 0.6838 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.5883, allocations: 431.8 kB / 0.6843 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.5885, allocations: 162.6 kB / 0.6844 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.5887, allocations: 158.6 kB / 0.6846 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.589, allocations: 370.8 kB / 0.6849 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.5894, allocations: 233.9 kB / 0.6851 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000772/0.5902, allocations: 0.665 MB / 0.6858 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.5914, allocations: 0.8649 MB / 0.6866 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.5915, allocations: 8 kB / 0.6866 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001708/0.5932, allocations: 0.8882 MB / 0.6875 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.5932, allocations: 15.98 kB / 0.6875 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.5932, allocations: 12 kB / 0.6875 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.5963, allocations: 265.2 kB / 0.6878 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5976, allocations: 279.6 kB / 0.6881 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.5995, allocations: 1.999 MB / 0.69 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.6001, allocations: 28 kB / 0.69 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/0.6002, allocations: 43.94 kB / 0.6901 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.0004497/0.6006, allocations: 273.5 kB / 0.6903 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.6008, allocations: 67.58 kB / 0.6904 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.6035, allocations: 2.1 MB / 0.6925 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.6035, allocations: 19.97 kB / 0.6925 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6035, allocations: 0 / 0.6925 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6035, allocations: 7.922 kB / 0.6925 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.6074, allocations: 2.823 MB / 0.6952 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6074, allocations: 0 / 0.6952 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.6083, allocations: 191.8 kB / 0.6954 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.61, allocations: 299.9 kB / 0.6957 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.6101, allocations: 19.94 kB / 0.6957 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.6119, allocations: 2.05 MB / 0.6977 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6119, allocations: 12.12 kB / 0.6977 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.6144, allocations: 1.98 MB / 0.6997 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.6148, allocations: 151.2 kB / 0.6998 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.615, allocations: 31.77 kB / 0.6998 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.6154, allocations: 16 kB / 0.6999 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.6155, allocations: 40.3 kB / 0.6999 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6155, allocations: 19.94 kB / 0.6999 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000714/0.6162, allocations: 0.5029 MB / 0.7004 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6162, allocations: 0 / 0.7004 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003295/0.6195, allocations: 1.108 MB / 0.7015 GB, free: 2.57 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.004969/0.6245, allocations: 1.186 MB / 0.7026 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.6268, allocations: 0.9132 MB / 0.7035 GB, free: 476 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6268, allocations: 128 / 0.7035 GB, free: 476 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.6283, allocations: 0.6007 MB / 0.7041 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.6305, allocations: 322.5 kB / 0.7044 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.6347, allocations: 2.183 MB / 0.7066 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/0.6353, allocations: 0.4998 MB / 0.7071 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008641/0.6362, allocations: 333.3 kB / 0.7074 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.6363, allocations: 55.44 kB / 0.7074 GB, free: 12.42 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.6363, allocations: 8 kB / 0.7074 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Templates: time 0.3834/1.02, allocations: 45.47 MB / 0.7518 GB, free: 156.9 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/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_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: 8.723635545000434]