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.001864/0.001864, allocations: 82.19 kB / 20.68 MB, free: 1.039 MB / 14.72 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.00225/0.00225, allocations: 163.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.459/1.459, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.833e-06/1.833e-06, allocations: 0 / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.464e-05, allocations: 3.688 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01679/0.01682, allocations: 11.93 MB / 337 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.03055, allocations: 10.13 MB / 347.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.03066, allocations: 0 / 347.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.03098, allocations: 67.58 kB / 347.2 MB, free: 15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.0313, allocations: 91.31 kB / 347.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01322/0.04452, allocations: 5.101 MB / 352.4 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.04491, allocations: 238.8 kB / 352.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.04498, allocations: 9.625 kB / 352.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.04551, allocations: 215.3 kB / 352.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.04563, allocations: 59.81 kB / 352.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.04566, allocations: 8 kB / 352.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.05854, allocations: 6.699 MB / 359.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.05864, allocations: 23.91 kB / 359.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.05877, allocations: 51.91 kB / 359.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.06964, allocations: 4.997 MB / 364.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.06965, allocations: 0 / 364.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.06965, allocations: 0 / 364.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.06966, allocations: 4 kB / 364.6 MB, free: 13.48 MB / 334.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.004927/0.07459, allocations: 1.088 MB / 365.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.07462, allocations: 12.03 kB / 365.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005033/0.07513, allocations: 48.84 kB / 365.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.07543, allocations: 169.5 kB / 366 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.07546, allocations: 12.66 kB / 366 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.07552, allocations: 16.38 kB / 366 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.07697, allocations: 440.8 kB / 366.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.07699, allocations: 4.188 kB / 366.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.07703, allocations: 7.938 kB / 366.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.07704, allocations: 4 kB / 366.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.07859, allocations: 351.5 kB / 366.8 MB, free: 11.25 MB / 334.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.001397/0.07999, allocations: 0.9973 MB / 367.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.08089, allocations: 278.9 kB / 368 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.08119, allocations: 110.5 kB / 368.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09659/0.1778, allocations: 26.1 MB / 394.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.1778, allocations: 34.56 kB / 394.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.575e-06/0.1778, allocations: 0 / 394.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.00747/0.1853, allocations: 1.495 MB / 395.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.1854, allocations: 110.8 kB / 395.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1855, allocations: 125.8 kB / 396 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.1855, allocations: 29.77 kB / 396 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.1856, allocations: 112.5 kB / 396.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1858, allocations: 126.9 kB / 396.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1859, allocations: 65.69 kB / 396.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.186, allocations: 326.8 kB / 396.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.1865, allocations: 135.7 kB / 396.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.187, allocations: 198.8 kB / 397 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.1879, allocations: 354.6 kB / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1879, allocations: 0 / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001217/0.1891, allocations: 430 kB / 397.7 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1891, allocations: 8 kB / 397.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1892, allocations: 0 / 397.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.1894, allocations: 36.83 kB / 397.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.1899, allocations: 92.03 kB / 397.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004656/0.1904, allocations: 0.5445 MB / 398.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.1907, allocations: 24 kB / 398.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.1907, allocations: 16 kB / 398.5 MB, free: 11.25 MB / 366.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.0001684/0.1909, allocations: 137.7 kB / 398.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.191, allocations: 19.91 kB / 398.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.1935, allocations: 1.499 MB / 400.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.1935, allocations: 19.97 kB / 400.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1935, allocations: 7.938 kB / 400.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1935, allocations: 3.984 kB / 400.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.1967, allocations: 1.91 MB / 402.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1967, allocations: 0 / 402.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.1972, allocations: 83.98 kB / 402.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.1975, allocations: 76.69 kB / 402.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.1976, allocations: 19.98 kB / 402.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004187/0.198, allocations: 0.5836 MB / 402.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.198, allocations: 8.125 kB / 402.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.2005, allocations: 1.75 MB / 404.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.2006, allocations: 43.58 kB / 404.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.2006, allocations: 16 kB / 404.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.201, allocations: 20.02 kB / 404.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.2011, allocations: 31.89 kB / 404.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.2011, allocations: 15.98 kB / 404.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.282e-05/0.2012, allocations: 95.2 kB / 404.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2012, allocations: 0 / 404.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002602/0.2038, allocations: 0.9786 MB / 405.8 MB, free: 3.809 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.004555/0.2083, allocations: 1.282 MB / 407.1 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2098, allocations: 0.6091 MB / 407.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2098, allocations: 64 / 407.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.2106, allocations: 477.1 kB / 408.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.2114, allocations: 80.52 kB / 408.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.2139, allocations: 1.236 MB / 409.4 MB, free: 80 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.2141, allocations: 216.3 kB / 409.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.2145, allocations: 137.8 kB / 409.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2146, allocations: 36.48 kB / 409.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2146, allocations: 4 kB / 409.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Templates: time 0.05453/0.2691, allocations: 36.48 MB / 446.3 MB, free: 11.25 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.839495077729225]