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.001863/0.001863, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001643/0.001643, allocations: 187.8 kB / 23.71 MB, free: 4.188 MB / 14.72 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.423/1.423, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 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 0.001576/0.001576, allocations: 43.92 kB / 370.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2238, allocations: 52.18 MB / 423 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01642/0.2402, allocations: 11.83 MB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.2539, allocations: 10.13 MB / 445 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.254, allocations: 4 kB / 445 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.2543, allocations: 63.59 kB / 445.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2546, allocations: 75.44 kB / 445.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.2686, allocations: 5.047 MB / 450.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.269, allocations: 234.9 kB / 450.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.2691, allocations: 9.641 kB / 450.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.2695, allocations: 179.4 kB / 450.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2696, allocations: 71.69 kB / 450.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2696, allocations: 8 kB / 450.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.2818, allocations: 6.677 MB / 457.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.2819, allocations: 27.92 kB / 457.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.282, allocations: 59.78 kB / 457.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006392/0.2884, allocations: 3.871 MB / 461.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2884, allocations: 0 / 461.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2884, allocations: 0 / 461.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2884, allocations: 0 / 461.3 MB, free: 8.133 MB / 366.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.004313/0.2927, allocations: 1.088 MB / 462.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2927, allocations: 12.03 kB / 462.4 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.2932, allocations: 48.8 kB / 462.5 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.2935, allocations: 162.3 kB / 462.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2936, allocations: 12.66 kB / 462.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.2936, allocations: 20.33 kB / 462.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.295, allocations: 448.2 kB / 463.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.295, allocations: 0 / 463.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.295, allocations: 4 kB / 463.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.295, allocations: 4 kB / 463.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.2965, allocations: 359.5 kB / 463.4 MB, free: 5.898 MB / 366.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.001373/0.2978, allocations: 1.009 MB / 464.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.2987, allocations: 267.8 kB / 464.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.299, allocations: 110.5 kB / 464.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09043/0.3894, allocations: 25.15 MB / 490 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.3895, allocations: 42.5 kB / 490 MB, free: 11.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.255e-06/0.3895, allocations: 4 kB / 490 MB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006885/0.3963, allocations: 1.5 MB / 491.5 MB, free: 9.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.3964, allocations: 110.8 kB / 491.6 MB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.3965, allocations: 125.7 kB / 491.8 MB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3966, allocations: 29.7 kB / 491.8 MB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.3966, allocations: 100.7 kB / 491.9 MB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3968, allocations: 126.9 kB / 492 MB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3969, allocations: 73.53 kB / 492.1 MB, free: 9.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.397, allocations: 326.8 kB / 492.4 MB, free: 8.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.3974, allocations: 131.9 kB / 492.5 MB, free: 8.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.3979, allocations: 202.6 kB / 492.7 MB, free: 8.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.3987, allocations: 346.6 kB / 493.1 MB, free: 8.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3987, allocations: 0 / 493.1 MB, free: 8.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001125/0.3999, allocations: 430 kB / 493.5 MB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3999, allocations: 4 kB / 493.5 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3999, allocations: 4 kB / 493.5 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.4001, allocations: 44.77 kB / 493.5 MB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.4006, allocations: 83.88 kB / 493.6 MB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004306/0.401, allocations: 0.5486 MB / 494.2 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.4013, allocations: 24 kB / 494.2 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.4014, allocations: 16 kB / 494.2 MB, free: 6.832 MB / 398.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.0001527/0.4015, allocations: 141.7 kB / 494.3 MB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4016, allocations: 19.84 kB / 494.4 MB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.4039, allocations: 1.503 MB / 495.9 MB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.404, allocations: 27.91 kB / 495.9 MB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.404, allocations: 0 / 495.9 MB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.404, allocations: 7.984 kB / 495.9 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.4071, allocations: 1.908 MB / 497.8 MB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4071, allocations: 4 kB / 497.8 MB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.4075, allocations: 87.98 kB / 497.9 MB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.4079, allocations: 68.8 kB / 498 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.4079, allocations: 11.98 kB / 498 MB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004175/0.4083, allocations: 0.5913 MB / 498.6 MB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4083, allocations: 4.031 kB / 498.6 MB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.4108, allocations: 1.741 MB / 0.4886 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.4109, allocations: 51.47 kB / 0.4886 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.4109, allocations: 16 kB / 0.4886 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.4113, allocations: 20.03 kB / 0.4887 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.4114, allocations: 35.88 kB / 0.4887 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.4114, allocations: 19.98 kB / 0.4887 GB, free: 464 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.046e-05/0.4115, allocations: 91.27 kB / 0.4888 GB, free: 372 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4115, allocations: 3.938 kB / 0.4888 GB, free: 368 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002568/0.414, allocations: 0.9592 MB / 0.4897 GB, free: 15.4 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.003686/0.4177, allocations: 1.141 MB / 0.4909 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.4192, allocations: 0.6124 MB / 0.4915 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4192, allocations: 0 / 0.4915 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008424/0.42, allocations: 470.5 kB / 0.4919 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.4208, allocations: 84.12 kB / 0.492 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.4234, allocations: 1.336 MB / 0.4933 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4236, allocations: 212.3 kB / 0.4935 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.424, allocations: 137.7 kB / 0.4936 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.4241, allocations: 35.42 kB / 0.4937 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4241, allocations: 0 / 0.4937 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.05204/0.4762, allocations: 36.68 MB / 0.5295 GB, free: 6.688 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] 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.064113492146134]