Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.005284/0.005284, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001379/0.001379, allocations: 224.6 kB / 25.3 MB, free: 3.211 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.422/1.422, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.94 MB / 362.3 MB, free: 4.211 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 79.86 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 66.09 MB / 0.5628 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04777/0.3927, allocations: 39.76 MB / 0.6016 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02643/0.4191, allocations: 20.33 MB / 0.6214 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008846/0.42, allocations: 27.75 kB / 0.6215 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.4213, allocations: 449.3 kB / 0.6219 GB, free: 7.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01421/0.4355, allocations: 5.154 MB / 0.6269 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00804/0.4435, allocations: 2.594 MB / 0.6295 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.4466, allocations: 1.977 MB / 0.6314 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007104/0.4473, allocations: 413.8 kB / 0.6318 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009734/0.457, allocations: 4.191 MB / 0.6359 GB, free: 8.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.4683, allocations: 5.487 MB / 0.6412 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.4685, allocations: 64 kB / 0.6413 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.4833, allocations: 7.278 MB / 0.6484 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.4838, allocations: 279.2 kB / 0.6487 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.4845, allocations: 457.9 kB / 0.6491 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.4958, allocations: 4.988 MB / 0.654 GB, free: 6.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4958, allocations: 0 / 0.654 GB, free: 6.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4958, allocations: 0 / 0.654 GB, free: 6.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.4958, allocations: 0 / 0.654 GB, free: 6.293 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.004638/0.5004, allocations: 1.596 MB / 0.6555 GB, free: 4.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5005, allocations: 8.031 kB / 0.6555 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.5021, allocations: 224.3 kB / 0.6558 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5031, allocations: 0.5064 MB / 0.6563 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.5033, allocations: 109.3 kB / 0.6564 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5034, allocations: 56.12 kB / 0.6564 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.5055, allocations: 1.079 MB / 0.6575 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.5055, allocations: 7.984 kB / 0.6575 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/0.5056, allocations: 28 kB / 0.6575 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/0.5057, allocations: 44.92 kB / 0.6575 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.5074, allocations: 0.8233 MB / 0.6583 GB, free: 1.633 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.00758/0.515, allocations: 5.436 MB / 0.6637 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5164, allocations: 0.5175 MB / 0.6642 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.5168, allocations: 210.2 kB / 0.6644 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08637/0.6032, allocations: 26 MB / 0.6898 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.6032, allocations: 42.5 kB / 0.6898 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.325e-06/0.6032, allocations: 0 / 0.6898 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006671/0.6099, allocations: 2.065 MB / 0.6918 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.6101, allocations: 199.7 kB / 0.692 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/0.611, allocations: 0.6445 MB / 0.6926 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.611, allocations: 33.7 kB / 0.6927 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.6113, allocations: 404.2 kB / 0.693 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6115, allocations: 178.5 kB / 0.6932 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.6117, allocations: 154.6 kB / 0.6934 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.612, allocations: 382.8 kB / 0.6937 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.6124, allocations: 225.9 kB / 0.6939 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.6132, allocations: 0.5936 MB / 0.6945 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.6144, allocations: 0.861 MB / 0.6954 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.6144, allocations: 7.984 kB / 0.6954 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001604/0.616, allocations: 0.8959 MB / 0.6962 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.6161, allocations: 12 kB / 0.6963 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.6161, allocations: 12 kB / 0.6963 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/0.6194, allocations: 285.2 kB / 0.6965 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.6206, allocations: 279.5 kB / 0.6968 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6227, allocations: 2.018 MB / 0.6988 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.6233, allocations: 31.98 kB / 0.6988 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.6234, allocations: 44 kB / 0.6989 GB, free: 7.133 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.0004656/0.6238, allocations: 277.4 kB / 0.6991 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.624, allocations: 75.53 kB / 0.6992 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.6267, allocations: 2.089 MB / 0.7012 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.6267, allocations: 23.97 kB / 0.7013 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6267, allocations: 0 / 0.7013 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6267, allocations: 3.984 kB / 0.7013 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.6309, allocations: 3.056 MB / 0.7042 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6309, allocations: 0 / 0.7042 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009157/0.6318, allocations: 183.8 kB / 0.7044 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.6335, allocations: 303.9 kB / 0.7047 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.6335, allocations: 12 kB / 0.7047 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.6354, allocations: 2.092 MB / 0.7068 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6354, allocations: 0 / 0.7068 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.6378, allocations: 1.996 MB / 0.7087 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.6382, allocations: 151.1 kB / 0.7089 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.6383, allocations: 39.91 kB / 0.7089 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.6387, allocations: 12 kB / 0.7089 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.6388, allocations: 32.38 kB / 0.7089 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.6389, allocations: 19.98 kB / 0.709 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008215/0.6397, allocations: 0.5732 MB / 0.7095 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6397, allocations: 0 / 0.7095 GB, free: 11.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003385/0.6431, allocations: 1.096 MB / 0.7106 GB, free: 10.87 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.004203/0.6473, allocations: 1.195 MB / 0.7117 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.6495, allocations: 0.9054 MB / 0.7126 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6495, allocations: 0 / 0.7126 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6507, allocations: 0.5929 MB / 0.7132 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.6528, allocations: 411.1 kB / 0.7136 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.6564, allocations: 2.221 MB / 0.7158 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.6571, allocations: 1.093 MB / 0.7168 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.6573, allocations: 67.44 kB / 0.7169 GB, free: 4.32 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.6573, allocations: 0 / 0.7169 GB, free: 4.32 MB / 0.545 GB Notification: Performance of Templates: time 0.3017/0.9591, allocations: 37.4 MB / 0.7534 GB, free: 152.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.628333972068503]