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.002632/0.002632, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002934/0.002934, allocations: 160.8 kB / 24.27 MB, free: 156 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.584/1.584, allocations: 177 MB / 204.5 MB, free: 5.633 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.503e-06/1.503e-06, allocations: 0 / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.99e-05/4.14e-05, allocations: 2.312 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01946/0.0195, allocations: 12.96 MB / 285.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1195/0.139, allocations: 11.25 MB / 296.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.418e-05/0.1391, allocations: 1.125 kB / 296.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1394, allocations: 64.91 kB / 296.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1396, allocations: 95.83 kB / 296.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.1517, allocations: 5.096 MB / 301.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.152, allocations: 241.4 kB / 301.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.152, allocations: 13.92 kB / 301.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.1525, allocations: 213.5 kB / 302.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1526, allocations: 57.72 kB / 302.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1526, allocations: 7.344 kB / 302.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.1639, allocations: 6.7 MB / 308.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.1639, allocations: 27.11 kB / 308.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1641, allocations: 50.64 kB / 308.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007861/0.1719, allocations: 5 MB / 313.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1719, allocations: 0 / 313.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1719, allocations: 0 / 313.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1719, allocations: 0 / 313.9 MB, free: 7.332 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.003676/0.1756, allocations: 1.112 MB / 315 MB, free: 6.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1757, allocations: 11.98 kB / 315.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.1761, allocations: 76.58 kB / 315.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1764, allocations: 169.9 kB / 315.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1764, allocations: 10.84 kB / 315.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.1764, allocations: 20.36 kB / 315.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/0.1774, allocations: 443.8 kB / 315.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1774, allocations: 384 / 315.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1774, allocations: 11.94 kB / 315.8 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1774, allocations: 0 / 315.8 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1785, allocations: 339.6 kB / 316.1 MB, free: 5.051 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.001028/0.1795, allocations: 1.372 MB / 317.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.1801, allocations: 277.2 kB / 317.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1803, allocations: 107 kB / 317.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09963/0.28, allocations: 26.13 MB / 344 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.28, allocations: 41.39 kB / 344 MB, free: 9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/0.28, allocations: 0 / 344 MB, free: 9 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.005968/0.286, allocations: 1.398 MB / 345.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.2861, allocations: 110.8 kB / 345.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2862, allocations: 186.9 kB / 345.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.2863, allocations: 29.7 kB / 345.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2864, allocations: 159.3 kB / 345.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2865, allocations: 129.8 kB / 346 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.2867, allocations: 83.12 kB / 346.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.287, allocations: 0.5001 MB / 346.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2873, allocations: 123.9 kB / 346.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.2878, allocations: 221.4 kB / 346.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.2886, allocations: 361.2 kB / 347.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2886, allocations: 0 / 347.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001122/0.2897, allocations: 428.8 kB / 347.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.2897, allocations: 11.94 kB / 347.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2897, allocations: 224 / 347.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.29, allocations: 48.23 kB / 347.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.2905, allocations: 87.88 kB / 347.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006531/0.2911, allocations: 0.8151 MB / 348.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.2914, allocations: 15.98 kB / 348.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.2914, allocations: 16 kB / 348.7 MB, free: 4.102 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.000225/0.2916, allocations: 195.4 kB / 348.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2918, allocations: 27.91 kB / 348.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.2939, allocations: 1.001 MB / 349.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.2939, allocations: 19.97 kB / 349.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2939, allocations: 0 / 349.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.294, allocations: 3.984 kB / 349.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.2966, allocations: 1.385 MB / 351.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2966, allocations: 0 / 351.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.297, allocations: 71.88 kB / 351.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.2973, allocations: 59.59 kB / 351.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.2974, allocations: 19.92 kB / 351.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005984/0.298, allocations: 0.8197 MB / 352.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.298, allocations: 3.938 kB / 352.3 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.3001, allocations: 1.342 MB / 353.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.3001, allocations: 51.52 kB / 353.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3002, allocations: 12 kB / 353.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.3005, allocations: 20.05 kB / 353.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.3006, allocations: 31.94 kB / 353.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.3006, allocations: 12 kB / 353.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.3007, allocations: 144.2 kB / 353.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3007, allocations: 0 / 353.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003001/0.3037, allocations: 0.9669 MB / 354.9 MB, free: 13.78 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.004726/0.3085, allocations: 1.29 MB / 356.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.3101, allocations: 476.2 kB / 356.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3101, allocations: 0 / 356.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.3108, allocations: 326.3 kB / 356.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.3116, allocations: 86.86 kB / 357 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.314, allocations: 1.12 MB / 358.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3143, allocations: 220.3 kB / 358.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.3147, allocations: 136.2 kB / 358.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3148, allocations: 36.48 kB / 358.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3148, allocations: 4 kB / 358.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of Templates: time 0.06281/0.3776, allocations: 37.36 MB / 395.9 MB, free: 4.84 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=240 -emit_protected -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","/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: 7.19708365702536]