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.001507/0.001507, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001708/0.001708, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.001486/0.001486, allocations: 43.92 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2233, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01675/0.2401, allocations: 13.14 MB / 445.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.2542, allocations: 11.61 MB / 457.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2543, allocations: 4 kB / 457.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.2547, allocations: 71.5 kB / 457.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.255, allocations: 83.42 kB / 457.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.2685, allocations: 5.098 MB / 462.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.269, allocations: 234.9 kB / 462.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.2691, allocations: 5.641 kB / 462.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.2697, allocations: 199.3 kB / 462.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.2699, allocations: 79.67 kB / 462.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.2699, allocations: 8 kB / 462.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/0.2844, allocations: 7.02 MB / 469.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2845, allocations: 19.92 kB / 469.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2847, allocations: 67.73 kB / 470 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.2949, allocations: 3.89 MB / 473.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2949, allocations: 0 / 473.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2949, allocations: 0 / 473.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2949, allocations: 0 / 473.9 MB, free: 13.33 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.005395/0.3003, allocations: 1.103 MB / 475 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3004, allocations: 12.03 kB / 475 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.3009, allocations: 44.84 kB / 475 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.3013, allocations: 162.4 kB / 475.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.3013, allocations: 12.59 kB / 475.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.3014, allocations: 24.31 kB / 475.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3028, allocations: 388.8 kB / 475.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3028, allocations: 0 / 475.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.3028, allocations: 12 kB / 475.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3028, allocations: 7.984 kB / 475.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.3043, allocations: 351.5 kB / 476 MB, free: 11.14 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.001607/0.3059, allocations: 1.144 MB / 477.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.3068, allocations: 275.8 kB / 477.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.307, allocations: 110.9 kB / 477.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09071/0.3977, allocations: 26.01 MB / 0.4917 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.3978, allocations: 50.42 kB / 0.4918 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.093e-06/0.3978, allocations: 4 kB / 0.4918 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.006948/0.4047, allocations: 1.506 MB / 0.4932 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.4048, allocations: 106.8 kB / 0.4933 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.405, allocations: 125.7 kB / 0.4935 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.405, allocations: 33.77 kB / 0.4935 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.4051, allocations: 104.6 kB / 0.4936 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.4052, allocations: 126.9 kB / 0.4937 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4053, allocations: 61.69 kB / 0.4938 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4055, allocations: 334.8 kB / 0.4941 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.4059, allocations: 135.7 kB / 0.4942 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.4063, allocations: 194.8 kB / 0.4944 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00083/0.4072, allocations: 350.5 kB / 0.4947 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4072, allocations: 4 kB / 0.4947 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001126/0.4083, allocations: 426 kB / 0.4951 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4083, allocations: 8 kB / 0.4952 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4083, allocations: 0 / 0.4952 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.4086, allocations: 36.84 kB / 0.4952 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.409, allocations: 92.03 kB / 0.4953 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004582/0.4095, allocations: 0.5484 MB / 0.4958 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.4098, allocations: 20.02 kB / 0.4958 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.4098, allocations: 19.98 kB / 0.4959 GB, free: 11.02 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.000177/0.41, allocations: 144 kB / 0.496 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.4101, allocations: 15.91 kB / 0.496 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.4124, allocations: 1.497 MB / 0.4975 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.4124, allocations: 24 kB / 0.4975 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4124, allocations: 4.359 kB / 0.4975 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4124, allocations: 0 / 0.4975 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.4156, allocations: 1.998 MB / 0.4994 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.4156, allocations: 4 kB / 0.4994 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.4161, allocations: 95.92 kB / 0.4995 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.4164, allocations: 64.8 kB / 0.4996 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.4164, allocations: 15.98 kB / 0.4996 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004216/0.4168, allocations: 0.5952 MB / 0.5002 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4168, allocations: 4.031 kB / 0.5002 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.4192, allocations: 1.737 MB / 0.5019 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.4193, allocations: 59.61 kB / 0.502 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.4193, allocations: 12 kB / 0.502 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4197, allocations: 19.92 kB / 0.502 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.4198, allocations: 31.94 kB / 0.502 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.4198, allocations: 23.92 kB / 0.502 GB, free: 4.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.4199, allocations: 95.2 kB / 0.5021 GB, free: 4.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4199, allocations: 4 kB / 0.5021 GB, free: 4.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002718/0.4226, allocations: 0.9708 MB / 0.5031 GB, free: 3.473 MB / 414.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.004463/0.4271, allocations: 1.152 MB / 0.5042 GB, free: 2.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.4285, allocations: 0.6053 MB / 0.5048 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4285, allocations: 0 / 0.5048 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008135/0.4293, allocations: 468.6 kB / 0.5052 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.4301, allocations: 76.59 kB / 0.5053 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.4326, allocations: 1.376 MB / 0.5067 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.4331, allocations: 0.8177 MB / 0.5075 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4332, allocations: 39.42 kB / 0.5075 GB, free: 14.86 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4332, allocations: 0 / 0.5075 GB, free: 14.86 MB / 430.1 MB Notification: Performance of Templates: time 0.0346/0.4678, allocations: 21.93 MB / 0.5289 GB, free: 8.91 MB / 446.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/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: 9.314647197024897]