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.001839/0.001839, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001897/0.001897, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.514/1.514, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 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 1.483e-06/1.483e-06, allocations: 0 / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.302e-05, allocations: 6.25 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01926/0.01929, allocations: 12.87 MB / 280.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.132/0.1513, allocations: 11.24 MB / 291.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1514, allocations: 0.9688 kB / 291.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1518, allocations: 63.69 kB / 291.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1521, allocations: 91.22 kB / 291.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01349/0.1656, allocations: 5.085 MB / 296.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.166, allocations: 243.7 kB / 296.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.166, allocations: 6.047 kB / 296.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.1665, allocations: 215.2 kB / 297.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1666, allocations: 61.94 kB / 297.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.1666, allocations: 8.5 kB / 297.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.1794, allocations: 6.686 MB / 303.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.1795, allocations: 28.5 kB / 303.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1796, allocations: 55.69 kB / 303.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008883/0.1885, allocations: 4.98 MB / 308.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1885, allocations: 0 / 308.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1885, allocations: 3.031 kB / 308.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1885, allocations: 0 / 308.9 MB, free: 9.602 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.003687/0.1922, allocations: 1.111 MB / 310 MB, free: 8.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1922, allocations: 12.3 kB / 310 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/0.1927, allocations: 72.56 kB / 310.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1929, allocations: 165.6 kB / 310.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1929, allocations: 10.88 kB / 310.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.193, allocations: 17.44 kB / 310.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.194, allocations: 448.9 kB / 310.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.194, allocations: 3.031 kB / 310.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.194, allocations: 10.66 kB / 310.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.194, allocations: 3.281 kB / 310.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.195, allocations: 327.1 kB / 311.1 MB, free: 8.113 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.0009924/0.196, allocations: 1.378 MB / 312.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.1967, allocations: 277.7 kB / 312.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.1969, allocations: 106.8 kB / 312.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09185/0.2887, allocations: 25.19 MB / 338 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.2888, allocations: 43 kB / 338.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.194e-06/0.2888, allocations: 3.891 kB / 338.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.005921/0.2947, allocations: 1.387 MB / 339.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.2948, allocations: 106.8 kB / 339.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.295, allocations: 193.8 kB / 339.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.295, allocations: 33.7 kB / 339.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2951, allocations: 156.2 kB / 339.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2953, allocations: 133.6 kB / 340.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2954, allocations: 79.3 kB / 340.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005318/0.2959, allocations: 0.504 MB / 340.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.2963, allocations: 127.9 kB / 340.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.2967, allocations: 221 kB / 341 MB, free: 11.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007942/0.2975, allocations: 362.9 kB / 341.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2975, allocations: 0 / 341.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001071/0.2986, allocations: 432.7 kB / 341.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2986, allocations: 11.03 kB / 341.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2986, allocations: 4 kB / 341.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.2989, allocations: 39.66 kB / 341.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.2993, allocations: 79.23 kB / 341.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006334/0.3, allocations: 0.8227 MB / 342.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3002, allocations: 12 kB / 342.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.3003, allocations: 15.98 kB / 342.7 MB, free: 9.316 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.000187/0.3004, allocations: 187.5 kB / 342.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3006, allocations: 27.19 kB / 342.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3025, allocations: 1.008 MB / 344 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.3025, allocations: 19.97 kB / 344 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3025, allocations: 0 / 344 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3025, allocations: 4 kB / 344 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.3051, allocations: 1.387 MB / 345.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3051, allocations: 4.75 kB / 345.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.3055, allocations: 70.95 kB / 345.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.3058, allocations: 63.7 kB / 345.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.3058, allocations: 15.92 kB / 345.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006038/0.3065, allocations: 0.8109 MB / 346.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3065, allocations: 4.875 kB / 346.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.3089, allocations: 1.341 MB / 347.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.3089, allocations: 59.47 kB / 347.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.309, allocations: 8 kB / 347.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.3093, allocations: 17.58 kB / 347.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.3094, allocations: 30.95 kB / 347.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.3094, allocations: 19.98 kB / 347.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.364e-05/0.3095, allocations: 139.1 kB / 347.9 MB, free: 4 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3095, allocations: 0 / 347.9 MB, free: 4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002896/0.3124, allocations: 0.9747 MB / 348.9 MB, free: 3.023 MB / 298.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.003904/0.3163, allocations: 1.283 MB / 350.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.3176, allocations: 467.8 kB / 350.7 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3176, allocations: 0 / 350.7 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.3183, allocations: 334.9 kB / 351 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.3191, allocations: 84.61 kB / 351.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3215, allocations: 1.113 MB / 352.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3218, allocations: 212.3 kB / 352.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003743/0.3222, allocations: 138.5 kB / 352.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3223, allocations: 32.48 kB / 352.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3223, allocations: 0 / 352.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of Templates: time 0.06041/0.3827, allocations: 37.31 MB / 389.9 MB, free: 10.25 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] 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.042767123086378]