Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 83.58 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9145/0.9145, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.292e-05, allocations: 6.25 kB / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01707/0.01711, allocations: 13.03 MB / 286 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1184/0.1355, allocations: 11.27 MB / 297.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.1356, allocations: 1.125 kB / 297.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1359, allocations: 65.03 kB / 297.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1362, allocations: 92.62 kB / 297.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.1465, allocations: 5.098 MB / 302.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1468, allocations: 242.3 kB / 302.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.1468, allocations: 11.02 kB / 302.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.1472, allocations: 215.3 kB / 303 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.1472, allocations: 60.41 kB / 303 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1473, allocations: 10.55 kB / 303 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007952/0.1552, allocations: 6.693 MB / 309.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1553, allocations: 27.5 kB / 309.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.1553, allocations: 51.45 kB / 309.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.1605, allocations: 4.969 MB / 314.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1605, allocations: 4 kB / 314.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1605, allocations: 0 / 314.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1606, allocations: 0 / 314.8 MB, free: 7.465 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.002331/0.1629, allocations: 1.114 MB / 315.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1629, allocations: 12.03 kB / 315.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.1633, allocations: 77.38 kB / 316 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1635, allocations: 160.4 kB / 316.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1635, allocations: 16.64 kB / 316.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.1635, allocations: 20.27 kB / 316.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.1642, allocations: 432.2 kB / 316.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1642, allocations: 4.375 kB / 316.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1642, allocations: 7.938 kB / 316.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1642, allocations: 7.062 kB / 316.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.1647, allocations: 258.1 kB / 316.9 MB, free: 5.273 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.0006875/0.1654, allocations: 1.359 MB / 318.2 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.1658, allocations: 273.2 kB / 318.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.1658, allocations: 87.03 kB / 318.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04362/0.2095, allocations: 26.13 MB / 344.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2095, allocations: 41.38 kB / 344.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.404e-06/0.2095, allocations: 4 kB / 344.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.00291/0.2124, allocations: 1.246 MB / 346 MB, free: 7.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2125, allocations: 106.8 kB / 346.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.2126, allocations: 185.9 kB / 346.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2126, allocations: 29.7 kB / 346.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.2126, allocations: 155.3 kB / 346.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.2127, allocations: 122.4 kB / 346.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.2128, allocations: 83.11 kB / 346.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2129, allocations: 0.4962 MB / 347.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.213, allocations: 91.94 kB / 347.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2132, allocations: 178.5 kB / 347.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.2135, allocations: 281.2 kB / 347.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2135, allocations: 0 / 347.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004451/0.2139, allocations: 356.9 kB / 348 MB, free: 5.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2139, allocations: 7.938 kB / 348 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2139, allocations: 4 kB / 348 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.2141, allocations: 43.59 kB / 348.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2143, allocations: 80.77 kB / 348.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003089/0.2146, allocations: 0.8002 MB / 349 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2147, allocations: 16 kB / 349 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.2148, allocations: 15.98 kB / 349 MB, free: 4.777 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.0001019/0.2149, allocations: 180.5 kB / 349.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.2149, allocations: 23.91 kB / 349.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.2159, allocations: 0.9663 MB / 350.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.2159, allocations: 19.97 kB / 350.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2159, allocations: 4 kB / 350.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2159, allocations: 4.016 kB / 350.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.2171, allocations: 1.318 MB / 351.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2172, allocations: 4 kB / 351.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.2174, allocations: 75.88 kB / 351.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.2175, allocations: 58.48 kB / 351.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.2175, allocations: 23.86 kB / 351.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002826/0.2178, allocations: 0.7961 MB / 352.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2178, allocations: 0 / 352.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.219, allocations: 1.248 MB / 353.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.2191, allocations: 51.56 kB / 353.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.2191, allocations: 8 kB / 353.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2193, allocations: 16 kB / 353.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.2194, allocations: 35.88 kB / 353.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.2194, allocations: 15.98 kB / 353.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.145e-05/0.2195, allocations: 143 kB / 354 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2195, allocations: 0 / 354 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002223/0.2217, allocations: 0.9669 MB / 354.9 MB, free: 14.69 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.003273/0.225, allocations: 1.293 MB / 356.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.2257, allocations: 408 kB / 356.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2257, allocations: 0 / 356.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.2261, allocations: 299.1 kB / 356.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.2267, allocations: 85.88 kB / 357 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2287, allocations: 1.093 MB / 358.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.2288, allocations: 131.7 kB / 358.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000253/0.2291, allocations: 130 kB / 358.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2292, allocations: 44.47 kB / 358.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2292, allocations: 0 / 358.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Templates: time 0.04379/0.273, allocations: 37.39 MB / 395.8 MB, free: 5.941 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.346900127828121]