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.008274/0.008274, allocations: 94.22 kB / 21.93 MB, free: 5.727 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.00236/0.00236, allocations: 214 kB / 25.22 MB, free: 3.285 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.46/1.46, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.002033/0.002033, allocations: 57.64 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2845, allocations: 49.14 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01468/0.2992, allocations: 11.84 MB / 409.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.3126, allocations: 10.13 MB / 419.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3128, allocations: 1.062 kB / 419.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.3132, allocations: 67.91 kB / 419.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.3135, allocations: 89.02 kB / 419.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01694/0.3305, allocations: 5.016 MB / 424.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.3309, allocations: 248.3 kB / 425 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.331, allocations: 6.766 kB / 425 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.3315, allocations: 175.6 kB / 425.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3316, allocations: 68.34 kB / 425.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3317, allocations: 7.406 kB / 425.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.3464, allocations: 6.679 MB / 431.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3465, allocations: 27.91 kB / 431.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3466, allocations: 59.78 kB / 432 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.3576, allocations: 3.871 MB / 435.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3576, allocations: 3.938 kB / 435.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3576, allocations: 0 / 435.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3576, allocations: 0 / 435.9 MB, free: 12.87 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.005141/0.3627, allocations: 1.087 MB / 436.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3628, allocations: 11.98 kB / 437 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.3633, allocations: 56.8 kB / 437 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.3637, allocations: 162.3 kB / 437.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.3637, allocations: 8.375 kB / 437.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.3638, allocations: 16.38 kB / 437.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.3651, allocations: 435.4 kB / 437.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3651, allocations: 4 kB / 437.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3651, allocations: 8 kB / 437.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3651, allocations: 4 kB / 437.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3666, allocations: 355.5 kB / 438 MB, free: 10.64 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.001453/0.368, allocations: 1.001 MB / 439 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.3689, allocations: 275.7 kB / 439.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.3692, allocations: 106.5 kB / 439.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08999/0.4591, allocations: 25.15 MB / 464.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.4592, allocations: 38.56 kB / 464.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/0.4592, allocations: 0 / 464.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.006966/0.4662, allocations: 1.516 MB / 466.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.4662, allocations: 106.8 kB / 466.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4664, allocations: 121.7 kB / 466.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.4664, allocations: 37.69 kB / 466.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.4665, allocations: 100.7 kB / 466.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4666, allocations: 122.9 kB / 466.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.4667, allocations: 69.69 kB / 466.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4669, allocations: 322.8 kB / 466.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.4673, allocations: 140.3 kB / 467.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.4677, allocations: 198.5 kB / 467.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.4685, allocations: 342.6 kB / 467.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4685, allocations: 0 / 467.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001095/0.4696, allocations: 433.8 kB / 468 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4696, allocations: 4.219 kB / 468 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4696, allocations: 8 kB / 468 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.4699, allocations: 40.83 kB / 468.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.4703, allocations: 87.88 kB / 468.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004604/0.4708, allocations: 0.5522 MB / 468.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.4711, allocations: 20.02 kB / 468.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.4711, allocations: 20.09 kB / 468.7 MB, free: 11.57 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.0001881/0.4713, allocations: 143.6 kB / 468.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4714, allocations: 15.91 kB / 468.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.4737, allocations: 1.478 MB / 470.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.4738, allocations: 23.91 kB / 470.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4738, allocations: 4.031 kB / 470.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4738, allocations: 11.92 kB / 470.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.4769, allocations: 1.904 MB / 472.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.477, allocations: 4 kB / 472.3 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.4774, allocations: 87.86 kB / 472.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.4777, allocations: 76.88 kB / 472.5 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.4778, allocations: 11.98 kB / 472.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000452/0.4782, allocations: 0.5875 MB / 473.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4782, allocations: 7.969 kB / 473.1 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.4808, allocations: 1.741 MB / 474.8 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.4808, allocations: 51.52 kB / 474.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.4809, allocations: 8 kB / 474.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4812, allocations: 24.02 kB / 474.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.4813, allocations: 39.83 kB / 475 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.4814, allocations: 19.98 kB / 475 MB, free: 5.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.4814, allocations: 91.27 kB / 475.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4814, allocations: 0 / 475.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003836/0.4853, allocations: 0.9672 MB / 476 MB, free: 4.141 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.004512/0.4898, allocations: 1.142 MB / 477.2 MB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.4914, allocations: 0.6088 MB / 477.8 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4914, allocations: 3.938 kB / 477.8 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.4923, allocations: 465.2 kB / 478.2 MB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.4931, allocations: 75.91 kB / 478.3 MB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4957, allocations: 1.368 MB / 479.7 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.4959, allocations: 212.3 kB / 479.9 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.496, allocations: 47.41 kB / 479.9 MB, free: 152 kB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.496, allocations: 0 / 479.9 MB, free: 152 kB / 382.1 MB Notification: Performance of Templates: time 0.03444/0.5305, allocations: 21.9 MB / 0.4901 GB, free: 10.21 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/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: 9.871181974187493]