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.001553/0.001553, allocations: 82.12 kB / 20.68 MB, free: 1.023 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.001428/0.001428, allocations: 150.7 kB / 23.94 MB, free: 4.16 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.445/1.445, allocations: 173.3 MB / 200.4 MB, free: 12.84 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 2.385e-06/2.385e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.249e-05, allocations: 9.031 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.02747/0.0275, allocations: 11.8 MB / 330.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.05165, allocations: 10.13 MB / 340.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.05183, allocations: 0 / 340.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.05229, allocations: 65.34 kB / 340.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.05282, allocations: 93.05 kB / 341 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02261/0.07543, allocations: 5.087 MB / 346.1 MB, free: 472 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.07584, allocations: 246.7 kB / 346.3 MB, free: 224 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.0759, allocations: 9.578 kB / 346.3 MB, free: 208 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.07648, allocations: 211.5 kB / 346.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.07662, allocations: 59.81 kB / 346.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.07665, allocations: 8 kB / 346.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.09198, allocations: 6.684 MB / 353.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.09213, allocations: 27.89 kB / 353.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.0923, allocations: 55.84 kB / 353.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.1061, allocations: 4.97 MB / 358.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.1061, allocations: 4 kB / 358.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1061, allocations: 0 / 358.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1061, allocations: 4 kB / 358.3 MB, free: 4.168 MB / 318.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.005314/0.1114, allocations: 1.08 MB / 359.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1115, allocations: 8.922 kB / 359.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005739/0.112, allocations: 60.8 kB / 359.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1124, allocations: 157.6 kB / 359.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.1124, allocations: 12.66 kB / 359.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.1125, allocations: 16.33 kB / 359.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.114, allocations: 440.8 kB / 360.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.114, allocations: 192 / 360.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.1141, allocations: 15.92 kB / 360.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1141, allocations: 4 kB / 360.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1157, allocations: 355.5 kB / 360.5 MB, free: 1.941 MB / 318.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.001486/0.1172, allocations: 1.009 MB / 361.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009558/0.1181, allocations: 267.8 kB / 361.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.1184, allocations: 106.5 kB / 361.8 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09758/0.216, allocations: 25.15 MB / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.2161, allocations: 38.5 kB / 387 MB, free: 7.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.384e-06/0.2161, allocations: 0 / 387 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.007677/0.2237, allocations: 1.507 MB / 388.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.2239, allocations: 110.8 kB / 388.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.224, allocations: 125.7 kB / 388.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.2241, allocations: 33.7 kB / 388.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.2242, allocations: 104.6 kB / 388.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2243, allocations: 119 kB / 389 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.2245, allocations: 73.64 kB / 389.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.2247, allocations: 326.8 kB / 389.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2252, allocations: 135.9 kB / 389.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.2257, allocations: 202.5 kB / 389.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.2266, allocations: 342.6 kB / 390.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2266, allocations: 4 kB / 390.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00128/0.2279, allocations: 430.1 kB / 390.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2279, allocations: 8 kB / 390.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.228, allocations: 4 kB / 390.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.2282, allocations: 32.83 kB / 390.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.2287, allocations: 95.81 kB / 390.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/0.2292, allocations: 0.5368 MB / 391.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2295, allocations: 32.06 kB / 391.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.2296, allocations: 12 kB / 391.2 MB, free: 2.879 MB / 350.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.0001929/0.2298, allocations: 141.7 kB / 391.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2299, allocations: 15.91 kB / 391.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.2324, allocations: 1.494 MB / 392.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/0.2324, allocations: 23.97 kB / 392.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2325, allocations: 3.938 kB / 392.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2325, allocations: 3.984 kB / 392.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.2359, allocations: 1.917 MB / 394.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2359, allocations: 0 / 394.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.2364, allocations: 87.86 kB / 394.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.2367, allocations: 80.81 kB / 395 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.2367, allocations: 15.98 kB / 395 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004607/0.2372, allocations: 0.5914 MB / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2372, allocations: 0 / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.2399, allocations: 1.745 MB / 397.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.24, allocations: 55.84 kB / 397.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.2401, allocations: 8 kB / 397.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.2404, allocations: 28.03 kB / 397.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.2405, allocations: 35.97 kB / 397.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.2406, allocations: 19.91 kB / 397.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.123e-05/0.2406, allocations: 95.27 kB / 397.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2406, allocations: 0 / 397.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002824/0.2435, allocations: 0.9631 MB / 398.5 MB, free: 11.43 MB / 366.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.005032/0.2485, allocations: 1.278 MB / 399.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.2501, allocations: 0.6085 MB / 400.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2501, allocations: 0 / 400.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008925/0.251, allocations: 474.5 kB / 400.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.2518, allocations: 75.3 kB / 401 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2544, allocations: 1.229 MB / 402.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2546, allocations: 212.3 kB / 402.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.255, allocations: 137.7 kB / 402.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2551, allocations: 40.47 kB / 402.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2551, allocations: 0 / 402.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of Templates: time 0.05831/0.3135, allocations: 36.42 MB / 439 MB, free: 2.961 MB / 398.1 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: 7.0672379694879055]