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.001883/0.001883, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002026/0.002026, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.465/1.465, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 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 1.473e-06/1.473e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.037e-05, allocations: 6.25 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01789/0.01792, allocations: 11.82 MB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.03333, allocations: 10.12 MB / 289.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.03343, allocations: 0 / 289.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.03375, allocations: 59.59 kB / 289.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.03406, allocations: 99.23 kB / 289.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.115/0.1491, allocations: 5.069 MB / 294.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.1494, allocations: 240.1 kB / 294.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1495, allocations: 7.781 kB / 294.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.1499, allocations: 213.9 kB / 294.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.15, allocations: 63.3 kB / 295 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.15, allocations: 8.188 kB / 295 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.1617, allocations: 6.686 MB / 301.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.1617, allocations: 32.44 kB / 301.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1619, allocations: 55.17 kB / 301.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.1687, allocations: 4.979 MB / 306.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1687, allocations: 0 / 306.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1687, allocations: 0 / 306.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1687, allocations: 6.438 kB / 306.7 MB, free: 10.72 MB / 266.7 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.003886/0.1726, allocations: 1.077 MB / 307.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1726, allocations: 9.016 kB / 307.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.1731, allocations: 80.2 kB / 307.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1734, allocations: 174.4 kB / 308.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1734, allocations: 16.59 kB / 308.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.1734, allocations: 14.97 kB / 308.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.1746, allocations: 447.2 kB / 308.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1746, allocations: 384 / 308.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.1746, allocations: 10.97 kB / 308.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1746, allocations: 2.625 kB / 308.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.1759, allocations: 353.9 kB / 308.9 MB, free: 9.266 MB / 266.7 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.0009917/0.1769, allocations: 0.9999 MB / 309.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.1777, allocations: 272.5 kB / 310.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.1779, allocations: 109.9 kB / 310.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08571/0.2636, allocations: 25.15 MB / 335.4 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.2637, allocations: 39.56 kB / 335.5 MB, free: 12 kB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.635e-06/0.2637, allocations: 1.266 kB / 335.5 MB, free: 12 kB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.007452/0.2711, allocations: 1.519 MB / 337 MB, free: 14.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.2712, allocations: 117.9 kB / 337.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2714, allocations: 121.7 kB / 337.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.2714, allocations: 29.7 kB / 337.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.2715, allocations: 104.6 kB / 337.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.2716, allocations: 122 kB / 337.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2718, allocations: 69.67 kB / 337.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2719, allocations: 326.8 kB / 337.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.2726, allocations: 135.4 kB / 338 MB, free: 13.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.2731, allocations: 202.3 kB / 338.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.274, allocations: 349 kB / 338.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.274, allocations: 0 / 338.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001259/0.2752, allocations: 446.2 kB / 339 MB, free: 12.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2753, allocations: 8 kB / 339 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2753, allocations: 0 / 339 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.2755, allocations: 41.06 kB / 339 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.276, allocations: 90.88 kB / 339.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004984/0.2765, allocations: 0.5514 MB / 339.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.2768, allocations: 15.98 kB / 339.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.2769, allocations: 19.98 kB / 339.7 MB, free: 11.66 MB / 298.7 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.0001917/0.277, allocations: 147.5 kB / 339.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2772, allocations: 27.91 kB / 339.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.2798, allocations: 1.493 MB / 341.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.2798, allocations: 23.95 kB / 341.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2798, allocations: 0 / 341.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2798, allocations: 6.016 kB / 341.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.2832, allocations: 1.927 MB / 343.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2832, allocations: 0 / 343.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.2837, allocations: 79.03 kB / 343.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.2841, allocations: 76.73 kB / 343.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.2841, allocations: 16.06 kB / 343.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000508/0.2846, allocations: 0.5982 MB / 344.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.2846, allocations: 0.875 kB / 344.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.2876, allocations: 1.751 MB / 345.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.2877, allocations: 51.56 kB / 345.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.2877, allocations: 12 kB / 345.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2881, allocations: 19.98 kB / 345.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.2882, allocations: 34.75 kB / 345.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.2882, allocations: 19.92 kB / 346 MB, free: 5.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.2883, allocations: 87.28 kB / 346 MB, free: 5.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2883, allocations: 4 kB / 346.1 MB, free: 5.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00292/0.2912, allocations: 0.9669 MB / 347 MB, free: 4.246 MB / 298.7 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.004225/0.2954, allocations: 1.281 MB / 348.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.297, allocations: 0.6127 MB / 348.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.297, allocations: 0 / 348.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008861/0.2979, allocations: 461.4 kB / 349.4 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.2987, allocations: 80.97 kB / 349.4 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.3012, allocations: 1.261 MB / 350.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3015, allocations: 208.3 kB / 350.9 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.3018, allocations: 137.7 kB / 351 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.302, allocations: 40.42 kB / 351.1 MB, free: 272 kB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.302, allocations: 0 / 351.1 MB, free: 272 kB / 298.7 MB Notification: Performance of Templates: time 0.0583/0.3603, allocations: 36.6 MB / 387.7 MB, free: 11.77 MB / 346.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/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: 6.980663678026758]