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.0007227/0.0007227, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002044, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007972/0.0007972, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001945, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.896/0.896, allocations: 177.5 MB / 190 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08113/0.9771, allocations: 53.88 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] 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.233e-06/1.233e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.504e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01088/0.0109, allocations: 13.11 MB / 258.3 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008889/0.01979, allocations: 11.31 MB / 269.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.01986, allocations: 4 kB / 269.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.02007, allocations: 55.59 kB / 269.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.02025, allocations: 95.3 kB / 269.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.02766, allocations: 4.602 MB / 274.4 MB, free: 264 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.0279, allocations: 246.8 kB / 274.6 MB, free: 16 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.02794, allocations: 10.28 kB / 274.6 MB, free: 0 / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.02851, allocations: 220 kB / 274.8 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.02863, allocations: 59 kB / 274.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.02865, allocations: 7 kB / 274.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/0.03987, allocations: 7.18 MB / 282.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.03995, allocations: 24.19 kB / 282.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.04001, allocations: 42.66 kB / 282.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004284/0.04429, allocations: 3.742 MB / 285.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.0443, allocations: 0 / 285.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0443, allocations: 1.094 kB / 285.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.04431, allocations: 0 / 285.9 MB, free: 3.461 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.002492/0.04681, allocations: 1.338 MB / 287.2 MB, free: 18.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.04683, allocations: 9.75 kB / 287.2 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.0471, allocations: 87.92 kB / 287.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.04726, allocations: 143.9 kB / 287.4 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.04727, allocations: 12.53 kB / 287.5 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.0473, allocations: 21.27 kB / 287.5 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.04778, allocations: 398.4 kB / 287.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.04779, allocations: 3.469 kB / 287.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.04781, allocations: 12 kB / 287.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.04781, allocations: 3.531 kB / 287.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.04815, allocations: 217.7 kB / 288.1 MB, free: 18.54 MB / 282.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.0005851/0.04874, allocations: 0.8993 MB / 289 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.04905, allocations: 238.7 kB / 289.2 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.04909, allocations: 60.28 kB / 289.3 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1075/0.1566, allocations: 67.31 MB / 356.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.1567, allocations: 42.12 kB / 356.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.1567, allocations: 4 kB / 356.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002916/0.1596, allocations: 1.211 MB / 357.9 MB, free: 2.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1596, allocations: 106.8 kB / 358 MB, free: 2.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.1597, allocations: 133.6 kB / 358.1 MB, free: 2.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1597, allocations: 33.7 kB / 358.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1598, allocations: 103.9 kB / 358.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.1598, allocations: 121.9 kB / 358.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.1599, allocations: 65.5 kB / 358.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.16, allocations: 328.8 kB / 358.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.16, allocations: 58.38 kB / 358.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.1601, allocations: 130.9 kB / 358.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1603, allocations: 223 kB / 359.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1603, allocations: 0 / 359.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002593/0.1606, allocations: 259.2 kB / 359.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1606, allocations: 8 kB / 359.4 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1606, allocations: 2.344 kB / 359.4 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.1607, allocations: 28.83 kB / 359.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.1609, allocations: 99.06 kB / 359.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002069/0.1611, allocations: 0.5243 MB / 360 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1613, allocations: 12 kB / 360.1 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.1613, allocations: 15.98 kB / 360.1 MB, free: 204 kB / 330.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,state2.phase,state.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 8.859e-05/0.1614, allocations: 136.9 kB / 360.2 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.1614, allocations: 23.98 kB / 360.2 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.1622, allocations: 0.8828 MB / 361.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.1622, allocations: 24.67 kB / 361.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1622, allocations: 0 / 361.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1622, allocations: 12.02 kB / 361.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.1632, allocations: 1.059 MB / 362.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1632, allocations: 1.875 kB / 362.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.1634, allocations: 83.11 kB / 362.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.1634, allocations: 51.66 kB / 362.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.1636, allocations: 58.08 kB / 362.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1636, allocations: 12.97 kB / 362.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001733/0.1638, allocations: 0.5277 MB / 362.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1638, allocations: 0 / 362.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.1644, allocations: 1.018 MB / 364 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1644, allocations: 8 kB / 364 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1646, allocations: 19.98 kB / 364 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1646, allocations: 27.94 kB / 364 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1646, allocations: 11.98 kB / 364 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.1647, allocations: 17.61 kB / 364 MB, free: 12.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1647, allocations: 0 / 364 MB, free: 12.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001965/0.1666, allocations: 0.9707 MB / 365 MB, free: 11.24 MB / 346.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.002581/0.1692, allocations: 1.397 MB / 366.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.1696, allocations: 316.8 kB / 366.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.1696, allocations: 6.141 kB / 366.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1699, allocations: 269.1 kB / 367 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1703, allocations: 168.8 kB / 367.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.1735, allocations: 0.997 MB / 368.1 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.1735, allocations: 135.7 kB / 368.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1737, allocations: 136.9 kB / 368.4 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.1739, allocations: 123.3 kB / 368.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1739, allocations: 0 / 368.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of Templates: time 0.02951/0.2034, allocations: 36.34 MB / 404.9 MB, free: 3.625 MB / 378.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4353470597416162]