Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00114/0.00114, allocations: 84.98 kB / 23 MB, free: 1.5 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.001273/0.001273, allocations: 180.2 kB / 26.4 MB, free: 7.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9751/0.9751, allocations: 158.6 MB / 188.3 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.322e-05, allocations: 2.312 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01247/0.0125, allocations: 12.78 MB / 265 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009245/0.02174, allocations: 11.08 MB / 276.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.02186, allocations: 4 kB / 276.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.0222, allocations: 67.52 kB / 276.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.02249, allocations: 87.38 kB / 276.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.03343, allocations: 5.078 MB / 281.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.03374, allocations: 246.7 kB / 281.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.03378, allocations: 13.64 kB / 281.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.03415, allocations: 207.5 kB / 281.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.03425, allocations: 63.81 kB / 281.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.03426, allocations: 8 kB / 281.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009031/0.0433, allocations: 6.699 MB / 288.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.04337, allocations: 27.91 kB / 288.6 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.04345, allocations: 51.91 kB / 288.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007713/0.05117, allocations: 4.943 MB / 293.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.05117, allocations: 4 kB / 293.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05117, allocations: 0 / 293.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.05118, allocations: 0 / 293.6 MB, free: 13.77 MB / 282.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.002629/0.05381, allocations: 1.109 MB / 294.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.05385, allocations: 15.98 kB / 294.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.05416, allocations: 76.61 kB / 294.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.05436, allocations: 172.3 kB / 294.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.05437, allocations: 8.375 kB / 295 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.05441, allocations: 20.38 kB / 295 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.05498, allocations: 411.4 kB / 295.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.05499, allocations: 8.125 kB / 295.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.05501, allocations: 7.938 kB / 295.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.05501, allocations: 4 kB / 295.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.05569, allocations: 231.7 kB / 295.6 MB, free: 11.6 MB / 282.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.0007712/0.05646, allocations: 1.324 MB / 296.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.05684, allocations: 257.2 kB / 297.2 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.05691, allocations: 78.97 kB / 297.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03845/0.09536, allocations: 21.65 MB / 318.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.0954, allocations: 45.33 kB / 319 MB, free: 4.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.0954, allocations: 0 / 319 MB, free: 4.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.002649/0.09805, allocations: 1.154 MB / 320.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.09809, allocations: 114.7 kB / 320.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.09818, allocations: 189.7 kB / 320.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.0982, allocations: 37.7 kB / 320.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.09826, allocations: 143.4 kB / 320.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.09833, allocations: 126.9 kB / 320.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.09842, allocations: 75.31 kB / 320.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.09854, allocations: 0.5001 MB / 321.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.09863, allocations: 67.94 kB / 321.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.09876, allocations: 169.2 kB / 321.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.09899, allocations: 249.5 kB / 321.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.09899, allocations: 0 / 321.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003799/0.09937, allocations: 316.9 kB / 322.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.0994, allocations: 11.94 kB / 322.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.09941, allocations: 3.984 kB / 322.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.09953, allocations: 27.67 kB / 322.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.09975, allocations: 92.05 kB / 322.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003256/0.1001, allocations: 0.7922 MB / 323 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1002, allocations: 8 kB / 323 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1002, allocations: 19.98 kB / 323 MB, free: 15.81 MB / 314.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,state2.phase,state.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.000109/0.1003, allocations: 180.4 kB / 323.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.1004, allocations: 31.84 kB / 323.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008081/0.1012, allocations: 0.8568 MB / 324.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.1012, allocations: 31.98 kB / 324.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1012, allocations: 4 kB / 324.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1012, allocations: 0 / 324.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.1026, allocations: 1.205 MB / 325.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1026, allocations: 0 / 325.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.1028, allocations: 80 kB / 325.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.103, allocations: 51.62 kB / 325.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.103, allocations: 15.98 kB / 325.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002472/0.1033, allocations: 0.8038 MB / 326.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1033, allocations: 0 / 326.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.104, allocations: 1.139 MB / 327.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.1041, allocations: 59.41 kB / 327.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1041, allocations: 12 kB / 327.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1043, allocations: 15.98 kB / 327.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1043, allocations: 31.94 kB / 327.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1043, allocations: 12 kB / 327.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.1044, allocations: 127.2 kB / 327.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1044, allocations: 4 kB / 327.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00213/0.1065, allocations: 0.9669 MB / 328.7 MB, free: 10.04 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.002969/0.1095, allocations: 1.316 MB / 330 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.11, allocations: 370.7 kB / 330.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.11, allocations: 0 / 330.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.1103, allocations: 262.8 kB / 330.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.1107, allocations: 84.5 kB / 330.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1124, allocations: 1.064 MB / 331.7 MB, free: 6.887 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.905e-05/0.1125, allocations: 131.7 kB / 331.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1127, allocations: 125.8 kB / 332 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.1129, allocations: 162.1 kB / 332.1 MB, free: 6.453 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1129, allocations: 0 / 332.1 MB, free: 6.453 MB / 314.7 MB Notification: Performance of Templates: time 0.1315/0.2445, allocations: 42.34 MB / 374.5 MB, free: 77.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.246872993186116]