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.001626/0.001626, allocations: 114.6 kB / 18.5 MB, free: 4.562 MB / 14.72 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.001585/0.001585, allocations: 198.6 kB / 21.45 MB, free: 1.613 MB / 14.72 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 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 0.001851/0.001851, allocations: 67.89 kB / 373.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1073, allocations: 53.32 MB / 427.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01875/0.1261, allocations: 13.07 MB / 440.2 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2173/0.3433, allocations: 11.56 MB / 451.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3435, allocations: 1.719 kB / 451.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.3438, allocations: 70.88 kB / 451.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.3441, allocations: 89.92 kB / 451.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02118/0.3653, allocations: 5.087 MB / 457 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.3658, allocations: 232.1 kB / 457.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/0.3659, allocations: 6.984 kB / 457.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.3664, allocations: 203.5 kB / 457.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3666, allocations: 75.03 kB / 457.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.3666, allocations: 8.812 kB / 457.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02372/0.3904, allocations: 7 MB / 464.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3905, allocations: 28.34 kB / 464.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3907, allocations: 72.67 kB / 464.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.4044, allocations: 3.884 MB / 468.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.4045, allocations: 0 / 468.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4045, allocations: 3.984 kB / 468.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4045, allocations: 0 / 468.5 MB, free: 5.703 MB / 366.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.00848/0.413, allocations: 1.175 MB / 469.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.413, allocations: 9.531 kB / 469.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.414, allocations: 48.66 kB / 469.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.4144, allocations: 221.6 kB / 470 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.4145, allocations: 11.03 kB / 470 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.4145, allocations: 13.59 kB / 470 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.4168, allocations: 391.3 kB / 470.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.4169, allocations: 1.5 kB / 470.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.4169, allocations: 9.375 kB / 470.4 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4169, allocations: 7.844 kB / 470.4 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.4197, allocations: 365.4 kB / 470.7 MB, free: 4.137 MB / 366.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.001989/0.4217, allocations: 1.174 MB / 471.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.4233, allocations: 280.9 kB / 472.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.4238, allocations: 111.5 kB / 472.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1176/0.5414, allocations: 52.79 MB / 0.5128 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5414, allocations: 35.25 kB / 0.5128 GB, free: 14.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.5414, allocations: 4 kB / 0.5128 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.00732/0.5487, allocations: 1.591 MB / 0.5144 GB, free: 13.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.5488, allocations: 106.8 kB / 0.5145 GB, free: 12.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.5489, allocations: 121.9 kB / 0.5146 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.5489, allocations: 33.7 kB / 0.5146 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.549, allocations: 111.9 kB / 0.5147 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5491, allocations: 119 kB / 0.5148 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.5493, allocations: 65.69 kB / 0.5149 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5494, allocations: 326.8 kB / 0.5152 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.5498, allocations: 139.7 kB / 0.5154 GB, free: 11.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.5503, allocations: 194.5 kB / 0.5155 GB, free: 11.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.5512, allocations: 358.5 kB / 0.5159 GB, free: 11.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5512, allocations: 3.938 kB / 0.5159 GB, free: 11.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001176/0.5524, allocations: 429.9 kB / 0.5163 GB, free: 10.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5524, allocations: 4 kB / 0.5163 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5524, allocations: 4 kB / 0.5163 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.5527, allocations: 37.05 kB / 0.5163 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.5532, allocations: 95.88 kB / 0.5164 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.5536, allocations: 0.5445 MB / 0.517 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.5539, allocations: 20.34 kB / 0.517 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.5539, allocations: 16.09 kB / 0.517 GB, free: 10.22 MB / 430.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.0001604/0.5541, allocations: 137.8 kB / 0.5171 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.5542, allocations: 25.52 kB / 0.5171 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.5565, allocations: 1.442 MB / 0.5186 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.5566, allocations: 27.91 kB / 0.5186 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5566, allocations: 0.875 kB / 0.5186 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5566, allocations: 3.984 kB / 0.5186 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.5598, allocations: 1.973 MB / 0.5205 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5598, allocations: 4 kB / 0.5205 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.5602, allocations: 87.98 kB / 0.5206 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.5605, allocations: 64.8 kB / 0.5207 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.5606, allocations: 16.86 kB / 0.5207 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004148/0.561, allocations: 0.5874 MB / 0.5213 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.561, allocations: 7.969 kB / 0.5213 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.5635, allocations: 1.691 MB / 0.5229 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5637, allocations: 135.4 kB / 0.523 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.5637, allocations: 12 kB / 0.5231 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.5641, allocations: 19.98 kB / 0.5231 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.5642, allocations: 34.14 kB / 0.5231 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.5642, allocations: 19.98 kB / 0.5231 GB, free: 3.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.5643, allocations: 91.28 kB / 0.5232 GB, free: 3.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5643, allocations: 0 / 0.5232 GB, free: 3.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00362/0.5679, allocations: 0.9708 MB / 0.5242 GB, free: 2.734 MB / 430.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.005653/0.5735, allocations: 1.149 MB / 0.5253 GB, free: 1.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.5751, allocations: 0.5971 MB / 0.5259 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5751, allocations: 4 kB / 0.5259 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.576, allocations: 444.7 kB / 0.5263 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.5768, allocations: 75 kB / 0.5264 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.5795, allocations: 1.316 MB / 0.5276 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.58, allocations: 0.8177 MB / 0.5284 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.5804, allocations: 137.8 kB / 0.5286 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.5806, allocations: 39.41 kB / 0.5286 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5806, allocations: 4 kB / 0.5286 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Templates: time 0.05745/0.638, allocations: 36.36 MB / 0.5641 GB, free: 9.871 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] 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.114387409761548]