Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.00196/0.00196, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.0026/0.0026, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001956/0.001956, allocations: 59.86 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2764, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0145/0.2909, allocations: 11.84 MB / 408.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.3061, allocations: 10.13 MB / 418.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.3063, allocations: 1.062 kB / 418.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.3067, allocations: 64.73 kB / 418.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.3072, allocations: 81 kB / 418.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0175/0.3247, allocations: 5.026 MB / 424 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.3251, allocations: 240.8 kB / 424.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.703e-05/0.3252, allocations: 5.766 kB / 424.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.3258, allocations: 180.3 kB / 424.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3259, allocations: 64.94 kB / 424.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.326, allocations: 7.094 kB / 424.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/0.3428, allocations: 6.68 MB / 431.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.343, allocations: 35.83 kB / 431.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3431, allocations: 55.8 kB / 431.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.3551, allocations: 3.871 MB / 435.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3551, allocations: 8 kB / 435.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3551, allocations: 0 / 435.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3551, allocations: 0 / 435.1 MB, free: 12.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00528/0.3604, allocations: 1.08 MB / 436.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3604, allocations: 19.98 kB / 436.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005474/0.361, allocations: 52.8 kB / 436.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.3613, allocations: 158.3 kB / 436.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.3614, allocations: 12.38 kB / 436.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.3614, allocations: 12.38 kB / 436.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.3628, allocations: 439.4 kB / 436.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3628, allocations: 4 kB / 436.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3629, allocations: 4 kB / 436.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3629, allocations: 4 kB / 436.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.3644, allocations: 359.5 kB / 437.2 MB, free: 10.63 MB / 350.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.001596/0.366, allocations: 1.005 MB / 438.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.3669, allocations: 267.8 kB / 438.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.3672, allocations: 118.5 kB / 438.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09515/0.4624, allocations: 25.14 MB / 463.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.4624, allocations: 42.48 kB / 463.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.485e-06/0.4624, allocations: 4 kB / 463.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.007213/0.4696, allocations: 1.493 MB / 465.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.4697, allocations: 110.8 kB / 465.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4699, allocations: 133.6 kB / 465.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4699, allocations: 29.7 kB / 465.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.47, allocations: 100.7 kB / 465.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4701, allocations: 123 kB / 465.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4703, allocations: 69.69 kB / 465.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4704, allocations: 326.8 kB / 466.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.4708, allocations: 131.9 kB / 466.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.4713, allocations: 202.5 kB / 466.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.4722, allocations: 354.6 kB / 466.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4722, allocations: 0 / 466.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001194/0.4734, allocations: 426 kB / 467.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4734, allocations: 11.98 kB / 467.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4734, allocations: 0 / 467.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.4737, allocations: 36.84 kB / 467.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.4741, allocations: 87.88 kB / 467.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004744/0.4746, allocations: 0.5602 MB / 467.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.4749, allocations: 19.98 kB / 468 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.475, allocations: 15.98 kB / 468 MB, free: 11.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.4751, allocations: 139.6 kB / 468.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4752, allocations: 19.91 kB / 468.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.4776, allocations: 1.482 MB / 469.6 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/0.4776, allocations: 23.91 kB / 469.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4776, allocations: 0 / 469.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.4776, allocations: 3.984 kB / 469.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.481, allocations: 1.912 MB / 471.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.481, allocations: 0 / 471.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.4815, allocations: 87.98 kB / 471.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.4818, allocations: 72.75 kB / 471.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.4818, allocations: 15.98 kB / 471.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/0.4823, allocations: 0.5915 MB / 472.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.4823, allocations: 3.938 kB / 472.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.485, allocations: 1.745 MB / 474.1 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.4851, allocations: 51.52 kB / 474.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.4852, allocations: 12.09 kB / 474.1 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.4855, allocations: 20.02 kB / 474.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.4856, allocations: 44.19 kB / 474.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.4857, allocations: 15.98 kB / 474.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.4858, allocations: 95.2 kB / 474.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4858, allocations: 0 / 474.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003344/0.4891, allocations: 0.9669 MB / 475.3 MB, free: 4.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004998/0.4941, allocations: 1.141 MB / 476.4 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4957, allocations: 0.6129 MB / 477 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4957, allocations: 0 / 477 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.4966, allocations: 473.5 kB / 477.5 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/0.4975, allocations: 71.94 kB / 477.6 MB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.5001, allocations: 1.347 MB / 478.9 MB, free: 452 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.5003, allocations: 216.3 kB / 479.1 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.5007, allocations: 129.8 kB / 479.2 MB, free: 80 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5009, allocations: 43.41 kB / 479.3 MB, free: 40 kB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5009, allocations: 0 / 479.3 MB, free: 40 kB / 382.1 MB Notification: Performance of Templates: time 0.0561/0.557, allocations: 36.66 MB / 0.5039 GB, free: 11.29 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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: 7.389063799753785]