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.001587/0.001587, allocations: 120.5 kB / 18.41 MB, free: 4.656 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.001659/0.001659, allocations: 190.7 kB / 21.35 MB, free: 1.727 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.454/1.454, allocations: 222.9 MB / 247 MB, free: 4.34 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 0.001585/0.001585, allocations: 43.92 kB / 358.6 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1156, allocations: 49.45 MB / 408.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01764/0.1333, allocations: 12.9 MB / 421 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2425/0.3759, allocations: 11.54 MB / 432.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.376, allocations: 0 / 432.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.3764, allocations: 72.92 kB / 432.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.3767, allocations: 89.45 kB / 432.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.39, allocations: 5.062 MB / 437.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.3905, allocations: 231.1 kB / 438 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.3905, allocations: 12.67 kB / 438 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.391, allocations: 191 kB / 438.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3911, allocations: 70.86 kB / 438.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3912, allocations: 8.812 kB / 438.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/0.4059, allocations: 6.996 MB / 445.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.406, allocations: 30.7 kB / 445.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.4062, allocations: 66.69 kB / 445.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009724/0.4159, allocations: 3.878 MB / 449.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.416, allocations: 5.094 kB / 449.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.416, allocations: 0 / 449.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.416, allocations: 0 / 449.2 MB, free: 2.828 MB / 350.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.005408/0.4214, allocations: 1.168 MB / 450.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4214, allocations: 12.94 kB / 450.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.4219, allocations: 50.33 kB / 450.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.4222, allocations: 218.2 kB / 450.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.4223, allocations: 10.38 kB / 450.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.4223, allocations: 20.06 kB / 450.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.4235, allocations: 394.2 kB / 451.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4235, allocations: 7.688 kB / 451.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.4236, allocations: 6.031 kB / 451.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4236, allocations: 4.375 kB / 451.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.4249, allocations: 356.6 kB / 451.4 MB, free: 1.488 MB / 350.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.001133/0.4261, allocations: 1.183 MB / 452.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.4269, allocations: 278 kB / 452.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.4272, allocations: 118.3 kB / 453 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.105/0.5321, allocations: 47.65 MB / 0.4889 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.5322, allocations: 40.78 kB / 0.489 GB, free: 1.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.737e-06/0.5322, allocations: 1.172 kB / 0.489 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007137/0.5394, allocations: 1.579 MB / 0.4905 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.5395, allocations: 110.8 kB / 0.4906 GB, free: 96 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5397, allocations: 122.9 kB / 0.4907 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.5397, allocations: 27.14 kB / 0.4908 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.5398, allocations: 108.3 kB / 0.4909 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.54, allocations: 128.2 kB / 0.491 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.5401, allocations: 67.03 kB / 0.4911 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5402, allocations: 330 kB / 0.4914 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.5407, allocations: 136.7 kB / 0.4915 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.5411, allocations: 197.5 kB / 0.4917 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.542, allocations: 342 kB / 0.492 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.542, allocations: 5.062 kB / 0.492 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001125/0.5432, allocations: 433.7 kB / 0.4924 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5432, allocations: 8 kB / 0.4924 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5432, allocations: 3.984 kB / 0.4924 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.5435, allocations: 34.53 kB / 0.4925 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.544, allocations: 89.25 kB / 0.4926 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004774/0.5444, allocations: 0.5547 MB / 0.4931 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5448, allocations: 22.06 kB / 0.4931 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.5448, allocations: 19.67 kB / 0.4931 GB, free: 13.82 MB / 414.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.0001979/0.545, allocations: 139.3 kB / 0.4933 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5451, allocations: 15.91 kB / 0.4933 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.5476, allocations: 1.441 MB / 0.4947 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/0.5476, allocations: 28.27 kB / 0.4947 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.5476, allocations: 0.8906 kB / 0.4947 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5476, allocations: 4 kB / 0.4947 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.551, allocations: 1.987 MB / 0.4967 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5511, allocations: 7.938 kB / 0.4967 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.5515, allocations: 83.86 kB / 0.4968 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000349/0.5519, allocations: 76.81 kB / 0.4968 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.5519, allocations: 15.98 kB / 0.4968 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/0.5524, allocations: 0.5836 MB / 0.4974 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.5524, allocations: 7.938 kB / 0.4974 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.555, allocations: 1.696 MB / 0.4991 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.5552, allocations: 133.1 kB / 0.4992 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.5552, allocations: 8 kB / 0.4992 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.5556, allocations: 20.02 kB / 0.4992 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.5557, allocations: 35.91 kB / 0.4993 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.5557, allocations: 19.98 kB / 0.4993 GB, free: 7.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.5558, allocations: 95.2 kB / 0.4994 GB, free: 7.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5558, allocations: 0 / 0.4994 GB, free: 7.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004051/0.5599, allocations: 0.9669 MB / 0.5003 GB, free: 6.582 MB / 414.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.006494/0.5664, allocations: 1.14 MB / 0.5014 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.5682, allocations: 0.6086 MB / 0.502 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5682, allocations: 0 / 0.502 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009748/0.5692, allocations: 0.5209 MB / 0.5025 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.57, allocations: 76.98 kB / 0.5026 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.5727, allocations: 1.329 MB / 0.5039 GB, free: 2.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.5733, allocations: 0.8215 MB / 0.5047 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.5735, allocations: 39.42 kB / 0.5047 GB, free: 2.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5735, allocations: 0 / 0.5047 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Templates: time 0.03866/0.6122, allocations: 21.77 MB / 0.526 GB, free: 12.3 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.963274498004466]