Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.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.002012/0.002012, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002425/0.002425, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.482/1.482, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.968e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01929/0.01932, allocations: 11.91 MB / 284.1 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1228/0.1421, allocations: 10.11 MB / 294.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.1422, allocations: 1.562 kB / 294.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.1425, allocations: 64.97 kB / 294.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1428, allocations: 95.86 kB / 294.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.1545, allocations: 5.093 MB / 299.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1548, allocations: 234.7 kB / 299.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.1548, allocations: 15.09 kB / 299.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.1552, allocations: 217.9 kB / 299.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1553, allocations: 65.59 kB / 300 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1554, allocations: 8.281 kB / 300 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.1667, allocations: 6.694 MB / 306.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.1667, allocations: 32.16 kB / 306.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1669, allocations: 51.08 kB / 306.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00693/0.1738, allocations: 4.99 MB / 311.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1738, allocations: 2.562 kB / 311.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1738, allocations: 0 / 311.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1738, allocations: 0 / 311.7 MB, free: 7.922 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.004239/0.1781, allocations: 1.088 MB / 312.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1781, allocations: 15.98 kB / 312.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.1786, allocations: 80.56 kB / 312.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1789, allocations: 157.6 kB / 313.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1789, allocations: 16.66 kB / 313.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.179, allocations: 20.31 kB / 313.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1801, allocations: 437.1 kB / 313.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1801, allocations: 10.44 kB / 313.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.1802, allocations: 7.938 kB / 313.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1802, allocations: 8 kB / 313.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.1815, allocations: 351.6 kB / 313.9 MB, free: 5.988 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.001071/0.1826, allocations: 1.002 MB / 314.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.1833, allocations: 274.1 kB / 315.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.1836, allocations: 110.5 kB / 315.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09319/0.2768, allocations: 26.1 MB / 341.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.2768, allocations: 42.5 kB / 341.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.2768, allocations: 0 / 341.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.007727/0.2846, allocations: 1.526 MB / 343 MB, free: 8.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.2847, allocations: 106.8 kB / 343.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2848, allocations: 118.9 kB / 343.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.2848, allocations: 37.69 kB / 343.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.2849, allocations: 100.6 kB / 343.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.2851, allocations: 127 kB / 343.4 MB, free: 8.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.2852, allocations: 73.47 kB / 343.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2854, allocations: 330.8 kB / 343.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.2858, allocations: 136.8 kB / 344 MB, free: 7.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.2863, allocations: 194.8 kB / 344.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.2873, allocations: 346.6 kB / 344.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2873, allocations: 0 / 344.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001278/0.2886, allocations: 445.9 kB / 344.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2886, allocations: 4 kB / 344.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2886, allocations: 4.219 kB / 344.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.2888, allocations: 44.83 kB / 345 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2894, allocations: 93.62 kB / 345.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004888/0.2898, allocations: 0.5406 MB / 345.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.2902, allocations: 24 kB / 345.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.2902, allocations: 16 kB / 345.7 MB, free: 5.977 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.0001756/0.2904, allocations: 141.8 kB / 345.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2905, allocations: 27.91 kB / 345.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.2934, allocations: 1.505 MB / 347.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.2934, allocations: 19.97 kB / 347.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2934, allocations: 0 / 347.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2934, allocations: 4.031 kB / 347.3 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.2969, allocations: 1.903 MB / 349.2 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.2969, allocations: 4 kB / 349.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.2974, allocations: 83.86 kB / 349.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.2977, allocations: 72.88 kB / 349.4 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.2978, allocations: 19.92 kB / 349.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005191/0.2983, allocations: 0.5875 MB / 350 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.2983, allocations: 4.031 kB / 350 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.3011, allocations: 1.754 MB / 351.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.3012, allocations: 51.53 kB / 351.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.3013, allocations: 8 kB / 351.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3017, allocations: 20.03 kB / 351.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3017, allocations: 35.88 kB / 351.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.3018, allocations: 27.92 kB / 351.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.306e-05/0.3019, allocations: 94.73 kB / 352 MB, free: 15.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3019, allocations: 0 / 352 MB, free: 15.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003178/0.3051, allocations: 0.9669 MB / 353 MB, free: 14.54 MB / 314.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.00571/0.3108, allocations: 1.293 MB / 354.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.3124, allocations: 0.6092 MB / 354.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3125, allocations: 0 / 354.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.3134, allocations: 473.1 kB / 355.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.3143, allocations: 84.95 kB / 355.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.3171, allocations: 1.254 MB / 356.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3174, allocations: 216.2 kB / 356.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.3178, allocations: 141 kB / 357 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.318, allocations: 32.48 kB / 357.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.318, allocations: 0 / 357.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of Templates: time 0.06053/0.3785, allocations: 36.67 MB / 393.7 MB, free: 5.91 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.983404524042271]