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.002147/0.002147, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002227/0.002227, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.437/1.437, allocations: 177.2 MB / 204.9 MB, free: 8.926 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 0.001524/0.001524, allocations: 59.09 kB / 325.5 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08988, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01611/0.106, allocations: 11.92 MB / 390.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1192, allocations: 10.13 MB / 400.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.1192, allocations: 0 / 400.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1195, allocations: 59.59 kB / 401 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1198, allocations: 95.42 kB / 401.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.1315, allocations: 5.034 MB / 406.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1318, allocations: 242.8 kB / 406.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1319, allocations: 17.56 kB / 406.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.1323, allocations: 183.4 kB / 406.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1324, allocations: 67.75 kB / 406.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1325, allocations: 8 kB / 406.6 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.1449, allocations: 6.681 MB / 413.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.145, allocations: 31.83 kB / 413.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1451, allocations: 59.8 kB / 413.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007891/0.153, allocations: 3.878 MB / 417.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.153, allocations: 0 / 417.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.153, allocations: 0 / 417.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1531, allocations: 0 / 417.3 MB, free: 9.18 MB / 382.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.004551/0.1576, allocations: 1.095 MB / 418.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1576, allocations: 8.031 kB / 418.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/0.1581, allocations: 48.84 kB / 418.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1585, allocations: 170.2 kB / 418.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1585, allocations: 12.66 kB / 418.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.1585, allocations: 20.38 kB / 418.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.1599, allocations: 444.2 kB / 419.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1599, allocations: 0 / 419.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.1599, allocations: 11.98 kB / 419.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1599, allocations: 4 kB / 419.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.1614, allocations: 356.5 kB / 419.4 MB, free: 6.934 MB / 382.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.001359/0.1628, allocations: 0.997 MB / 420.4 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/0.1636, allocations: 271.8 kB / 420.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.1639, allocations: 117.8 kB / 420.8 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09759/0.2615, allocations: 26.11 MB / 446.9 MB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.2616, allocations: 34.56 kB / 446.9 MB, free: 11.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.2616, allocations: 0 / 446.9 MB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007136/0.2687, allocations: 1.5 MB / 448.4 MB, free: 9.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.2688, allocations: 110.8 kB / 448.5 MB, free: 9.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2689, allocations: 125.8 kB / 448.7 MB, free: 9.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.269, allocations: 29.7 kB / 448.7 MB, free: 9.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.269, allocations: 104.6 kB / 448.8 MB, free: 9.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.2691, allocations: 122.9 kB / 448.9 MB, free: 9.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2693, allocations: 73.75 kB / 449 MB, free: 9.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2694, allocations: 326.8 kB / 449.3 MB, free: 8.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.2698, allocations: 135.7 kB / 449.4 MB, free: 8.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.2703, allocations: 194.8 kB / 449.6 MB, free: 8.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.2712, allocations: 350.6 kB / 450 MB, free: 8.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2712, allocations: 0 / 450 MB, free: 8.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00116/0.2723, allocations: 430 kB / 450.4 MB, free: 7.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2724, allocations: 6.5 kB / 450.4 MB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2724, allocations: 4 kB / 450.4 MB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.2726, allocations: 36.83 kB / 450.4 MB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.2731, allocations: 87.88 kB / 450.5 MB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004355/0.2735, allocations: 0.5563 MB / 451.1 MB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2738, allocations: 20.02 kB / 451.1 MB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.2739, allocations: 20 kB / 451.1 MB, free: 6.914 MB / 414.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.0001554/0.274, allocations: 138.4 kB / 451.3 MB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2741, allocations: 19.91 kB / 451.3 MB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.2765, allocations: 1.495 MB / 452.8 MB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.2765, allocations: 27.91 kB / 452.8 MB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2765, allocations: 0 / 452.8 MB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2765, allocations: 7.984 kB / 452.8 MB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.2797, allocations: 1.909 MB / 454.7 MB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.2797, allocations: 4 kB / 454.7 MB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.2802, allocations: 79.98 kB / 454.8 MB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003759/0.2806, allocations: 76.75 kB / 454.9 MB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.2806, allocations: 15.98 kB / 454.9 MB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004316/0.281, allocations: 0.5836 MB / 455.5 MB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.281, allocations: 4.031 kB / 455.5 MB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.2836, allocations: 1.753 MB / 457.2 MB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.2836, allocations: 47.53 kB / 457.3 MB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.2837, allocations: 12 kB / 457.3 MB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.2841, allocations: 28.02 kB / 457.3 MB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.2842, allocations: 39.81 kB / 457.4 MB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.2842, allocations: 19.98 kB / 457.4 MB, free: 0.5273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.768e-05/0.2843, allocations: 91.27 kB / 457.5 MB, free: 448 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2843, allocations: 0 / 457.5 MB, free: 448 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002746/0.287, allocations: 0.9747 MB / 458.4 MB, free: 15.46 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.003667/0.2907, allocations: 1.149 MB / 459.6 MB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2922, allocations: 0.6049 MB / 460.2 MB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2922, allocations: 0 / 460.2 MB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.293, allocations: 474 kB / 460.7 MB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.2938, allocations: 76.14 kB / 460.7 MB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.2964, allocations: 1.339 MB / 462.1 MB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2966, allocations: 216.3 kB / 462.3 MB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.297, allocations: 136 kB / 462.4 MB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2971, allocations: 36.48 kB / 462.4 MB, free: 11.38 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2971, allocations: 0 / 462.4 MB, free: 11.38 MB / 430.1 MB Notification: Performance of Templates: time 0.2096/0.5067, allocations: 36.39 MB / 498.8 MB, free: 76.04 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/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.933117241016589]