Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 46.58 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08663, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01602/0.1027, allocations: 11.83 MB / 383.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.1166, allocations: 10.14 MB / 393.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1167, allocations: 0 / 393.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1171, allocations: 63.59 kB / 393.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1174, allocations: 83.42 kB / 393.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.1299, allocations: 5.023 MB / 398.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1303, allocations: 234.9 kB / 398.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.1303, allocations: 5.641 kB / 398.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.1308, allocations: 187.3 kB / 399.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1309, allocations: 71.7 kB / 399.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.1309, allocations: 12 kB / 399.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.1434, allocations: 6.673 MB / 405.9 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.1435, allocations: 19.92 kB / 405.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1436, allocations: 71.72 kB / 406 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.1529, allocations: 3.859 MB / 409.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1529, allocations: 8 kB / 409.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1529, allocations: 0 / 409.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1529, allocations: 0 / 409.8 MB, free: 0.9727 MB / 366.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.004527/0.1575, allocations: 1.088 MB / 410.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1575, allocations: 12.92 kB / 410.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.158, allocations: 48.8 kB / 411 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.1583, allocations: 158.3 kB / 411.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1584, allocations: 12.66 kB / 411.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.1584, allocations: 20.33 kB / 411.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.1598, allocations: 444.2 kB / 411.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1598, allocations: 8 kB / 411.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.1598, allocations: 4 kB / 411.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1598, allocations: 11.88 kB / 411.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1613, allocations: 347.6 kB / 412 MB, free: 14.74 MB / 382.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.001406/0.1627, allocations: 1.001 MB / 413 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.1636, allocations: 275.8 kB / 413.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.1639, allocations: 110.5 kB / 413.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09436/0.2583, allocations: 25.15 MB / 438.5 MB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.2583, allocations: 38.5 kB / 438.5 MB, free: 4.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.2583, allocations: 0 / 438.5 MB, free: 4.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007246/0.2656, allocations: 1.507 MB / 440 MB, free: 2.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.2657, allocations: 106.8 kB / 440.1 MB, free: 2.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2658, allocations: 117.8 kB / 440.2 MB, free: 2.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2658, allocations: 33.7 kB / 440.3 MB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.2659, allocations: 108.7 kB / 440.4 MB, free: 2.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.266, allocations: 126.9 kB / 440.5 MB, free: 1.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2661, allocations: 73.47 kB / 440.6 MB, free: 1.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2663, allocations: 326.8 kB / 440.9 MB, free: 1.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.2667, allocations: 131.9 kB / 441 MB, free: 1.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.2672, allocations: 202.7 kB / 441.2 MB, free: 1.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.2681, allocations: 342.6 kB / 441.6 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2681, allocations: 3.938 kB / 441.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00115/0.2692, allocations: 426 kB / 442 MB, free: 436 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2692, allocations: 4 kB / 442 MB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2692, allocations: 4 kB / 442 MB, free: 428 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.2695, allocations: 40.77 kB / 442 MB, free: 384 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.27, allocations: 96.03 kB / 442.1 MB, free: 288 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/0.2704, allocations: 0.5484 MB / 442.7 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2707, allocations: 23.97 kB / 442.7 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.2708, allocations: 12 kB / 442.7 MB, free: 15.67 MB / 414.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.0001582/0.2709, allocations: 142.1 kB / 442.8 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.271, allocations: 15.91 kB / 442.9 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.2734, allocations: 1.512 MB / 444.4 MB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.2734, allocations: 27.91 kB / 444.4 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2734, allocations: 0 / 444.4 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2734, allocations: 3.984 kB / 444.4 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.2766, allocations: 1.913 MB / 446.3 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.2766, allocations: 4 kB / 446.3 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.277, allocations: 83.98 kB / 446.4 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/0.2773, allocations: 68.8 kB / 446.5 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.2774, allocations: 15.98 kB / 446.5 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004212/0.2778, allocations: 0.5914 MB / 447.1 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2778, allocations: 4.094 kB / 447.1 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.2803, allocations: 1.742 MB / 448.8 MB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.2803, allocations: 55.53 kB / 448.9 MB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.2804, allocations: 12 kB / 448.9 MB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.2808, allocations: 24.03 kB / 448.9 MB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.2808, allocations: 35.88 kB / 448.9 MB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.2809, allocations: 15.98 kB / 449 MB, free: 9.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.527e-05/0.2809, allocations: 91.27 kB / 449 MB, free: 9.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2809, allocations: 0 / 449 MB, free: 9.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002626/0.2836, allocations: 0.9669 MB / 450 MB, free: 8.23 MB / 414.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.004253/0.2878, allocations: 1.147 MB / 451.2 MB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.2893, allocations: 0.6046 MB / 451.8 MB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2893, allocations: 4.438 kB / 451.8 MB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.2901, allocations: 473.7 kB / 452.2 MB, free: 6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.2909, allocations: 80.52 kB / 452.3 MB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.2934, allocations: 1.332 MB / 453.6 MB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2936, allocations: 208.3 kB / 453.8 MB, free: 4.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.294, allocations: 137.7 kB / 454 MB, free: 4.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2941, allocations: 44.47 kB / 454 MB, free: 4.141 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2941, allocations: 3.938 kB / 454 MB, free: 4.137 MB / 414.1 MB Notification: Performance of Templates: time 0.2057/0.4998, allocations: 36.31 MB / 490.3 MB, free: 90.98 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.0.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.005250977003016]