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.001447/0.001447, allocations: 91.61 kB / 22.18 MB, free: 2.371 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.001546/0.001546, allocations: 160.6 kB / 25.45 MB, free: 9.359 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.8148/0.8148, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.633e-06/1.633e-06, allocations: 0 / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.054e-05, allocations: 2.281 kB / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0113/0.01132, allocations: 11.81 MB / 311.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008205/0.01953, allocations: 10.13 MB / 321.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.01961, allocations: 4 kB / 321.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.01991, allocations: 63.53 kB / 321.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.02019, allocations: 91.3 kB / 321.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009376/0.02956, allocations: 5.072 MB / 326.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.02983, allocations: 242.8 kB / 327.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.02987, allocations: 9.625 kB / 327.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.03023, allocations: 215.3 kB / 327.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.03032, allocations: 63.8 kB / 327.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.03033, allocations: 8 kB / 327.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00809/0.03842, allocations: 6.687 MB / 334.1 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.03849, allocations: 27.89 kB / 334.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.03856, allocations: 51.91 kB / 334.1 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.04497, allocations: 4.974 MB / 339.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.04497, allocations: 4 kB / 339.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04498, allocations: 0 / 339.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.04498, allocations: 0 / 339.1 MB, free: 15.37 MB / 330.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.002187/0.04717, allocations: 1.087 MB / 340.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.0472, allocations: 15.98 kB / 340.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.04744, allocations: 56.78 kB / 340.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.04772, allocations: 157.6 kB / 340.4 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.04774, allocations: 12.38 kB / 340.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.04777, allocations: 24.3 kB / 340.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.04842, allocations: 428.1 kB / 340.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.04844, allocations: 16.06 kB / 340.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.04846, allocations: 7.938 kB / 340.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.04846, allocations: 4 kB / 340.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.04913, allocations: 347.6 kB / 341.2 MB, free: 13.14 MB / 330.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.0007846/0.04992, allocations: 1.005 MB / 342.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.05035, allocations: 275.8 kB / 342.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.0505, allocations: 110.5 kB / 342.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1792/0.2297, allocations: 25.14 MB / 367.8 MB, free: 58.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2297, allocations: 35.78 kB / 367.8 MB, free: 58.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.006e-06/0.2297, allocations: 1.312 kB / 367.8 MB, free: 58.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.003354/0.2331, allocations: 1.501 MB / 369.3 MB, free: 56.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2331, allocations: 106.8 kB / 369.4 MB, free: 56.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.2332, allocations: 127.3 kB / 369.5 MB, free: 56.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2332, allocations: 33.7 kB / 369.6 MB, free: 56.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.2332, allocations: 94.95 kB / 369.7 MB, free: 56.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.2333, allocations: 134 kB / 369.8 MB, free: 56.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.2334, allocations: 73.75 kB / 369.9 MB, free: 56.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.2334, allocations: 326.8 kB / 370.2 MB, free: 55.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2336, allocations: 135.7 kB / 370.3 MB, free: 55.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.2338, allocations: 202.5 kB / 370.5 MB, free: 55.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.2342, allocations: 349.2 kB / 370.8 MB, free: 55.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2342, allocations: 4 kB / 370.9 MB, free: 55.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005417/0.2347, allocations: 423.8 kB / 371.3 MB, free: 54.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2347, allocations: 4 kB / 371.3 MB, free: 54.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2347, allocations: 4 kB / 371.3 MB, free: 54.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.2349, allocations: 32.83 kB / 371.3 MB, free: 54.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2351, allocations: 95.81 kB / 371.4 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002238/0.2354, allocations: 0.5486 MB / 371.9 MB, free: 54.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2355, allocations: 24.78 kB / 372 MB, free: 54.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.2355, allocations: 12 kB / 372 MB, free: 54 MB / 330.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 9.234e-05/0.2356, allocations: 135.9 kB / 372.1 MB, free: 53.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.2356, allocations: 19.89 kB / 372.1 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.2367, allocations: 1.505 MB / 373.6 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.2368, allocations: 27.91 kB / 373.7 MB, free: 52.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2368, allocations: 0 / 373.7 MB, free: 52.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2368, allocations: 3.984 kB / 373.7 MB, free: 52.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2382, allocations: 1.903 MB / 375.6 MB, free: 50.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2382, allocations: 0.875 kB / 375.6 MB, free: 50.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.2384, allocations: 85.3 kB / 375.7 MB, free: 50.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.2386, allocations: 76.75 kB / 375.7 MB, free: 50.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.2386, allocations: 15.98 kB / 375.8 MB, free: 50.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002361/0.2389, allocations: 0.5875 MB / 376.3 MB, free: 49.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2389, allocations: 1.312 kB / 376.3 MB, free: 49.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.2401, allocations: 1.745 MB / 378.1 MB, free: 47.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.2402, allocations: 53.22 kB / 378.1 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2402, allocations: 18.19 kB / 378.2 MB, free: 47.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2404, allocations: 20.03 kB / 378.2 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.2404, allocations: 35.88 kB / 378.2 MB, free: 47.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2404, allocations: 15.98 kB / 378.2 MB, free: 47.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.651e-05/0.2405, allocations: 93.33 kB / 378.3 MB, free: 47.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2405, allocations: 0 / 378.3 MB, free: 47.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002231/0.2427, allocations: 0.9597 MB / 379.3 MB, free: 46.71 MB / 330.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.00235/0.245, allocations: 1.278 MB / 380.6 MB, free: 45.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.2457, allocations: 0.6135 MB / 381.2 MB, free: 44.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2457, allocations: 4 kB / 381.2 MB, free: 44.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.2461, allocations: 469.4 kB / 381.6 MB, free: 44.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.2465, allocations: 81.47 kB / 381.7 MB, free: 44.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2477, allocations: 1.272 MB / 383 MB, free: 43.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2478, allocations: 212.3 kB / 383.2 MB, free: 42.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.2479, allocations: 44.47 kB / 383.2 MB, free: 42.81 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2479, allocations: 4 kB / 383.2 MB, free: 42.8 MB / 330.7 MB Notification: Performance of Templates: time 0.01709/0.265, allocations: 22.03 MB / 405.3 MB, free: 20.77 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.077259732410312]