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.001976/0.001976, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002417/0.002417, allocations: 212.1 kB / 23.73 MB, free: 4.387 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001624/0.001624, allocations: 47.92 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2356, allocations: 53.38 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01643/0.252, allocations: 11.92 MB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.2658, allocations: 10.12 MB / 453.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2659, allocations: 0 / 453.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.2663, allocations: 63.53 kB / 453.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.2667, allocations: 91.42 kB / 453.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.2802, allocations: 5.031 MB / 458.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.2806, allocations: 234.9 kB / 459 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.2807, allocations: 13.62 kB / 459 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.2811, allocations: 187.4 kB / 459.2 MB, free: 11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2813, allocations: 71.69 kB / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.2813, allocations: 8 kB / 459.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/0.2941, allocations: 6.685 MB / 466 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.2941, allocations: 31.91 kB / 466 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.2943, allocations: 59.78 kB / 466.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008125/0.3024, allocations: 3.878 MB / 469.9 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3024, allocations: 0 / 469.9 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3024, allocations: 0 / 469.9 MB, free: 260 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3024, allocations: 0 / 469.9 MB, free: 260 kB / 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.004639/0.307, allocations: 1.091 MB / 471 MB, free: 15.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3071, allocations: 12.03 kB / 471.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.3076, allocations: 48.84 kB / 471.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3079, allocations: 162.3 kB / 471.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.308, allocations: 12.66 kB / 471.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.308, allocations: 20.36 kB / 471.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3093, allocations: 444.1 kB / 471.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3093, allocations: 4 kB / 471.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.3094, allocations: 7.984 kB / 471.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3094, allocations: 8 kB / 471.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.3108, allocations: 355.5 kB / 472.1 MB, free: 14.01 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.001404/0.3122, allocations: 0.9817 MB / 473.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000863/0.3131, allocations: 279.7 kB / 473.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.3134, allocations: 110.5 kB / 473.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09765/0.411, allocations: 26.11 MB / 499.6 MB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4111, allocations: 42.44 kB / 499.6 MB, free: 2.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.4111, allocations: 0 / 499.6 MB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007361/0.4184, allocations: 1.514 MB / 0.4894 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.4185, allocations: 106.8 kB / 0.4895 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4186, allocations: 117.8 kB / 0.4896 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.4187, allocations: 33.7 kB / 0.4896 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.4188, allocations: 112.6 kB / 0.4897 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4189, allocations: 122.9 kB / 0.4898 GB, free: 288 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.419, allocations: 69.75 kB / 0.4899 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4192, allocations: 326.8 kB / 0.4902 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.4196, allocations: 135.7 kB / 0.4904 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.4201, allocations: 194.8 kB / 0.4905 GB, free: 15.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.421, allocations: 350.6 kB / 0.4909 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.421, allocations: 0 / 0.4909 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001212/0.4222, allocations: 430 kB / 0.4913 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4222, allocations: 4 kB / 0.4913 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4222, allocations: 4 kB / 0.4913 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.4224, allocations: 40.83 kB / 0.4913 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.4229, allocations: 87.88 kB / 0.4914 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.4234, allocations: 0.5486 MB / 0.492 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.4237, allocations: 23.97 kB / 0.492 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.4237, allocations: 12 kB / 0.492 GB, free: 13.99 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.0001722/0.4239, allocations: 141.8 kB / 0.4921 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.424, allocations: 15.91 kB / 0.4921 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.4265, allocations: 1.498 MB / 0.4936 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.4265, allocations: 23.91 kB / 0.4936 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4265, allocations: 384 / 0.4936 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4265, allocations: 3.984 kB / 0.4936 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.4297, allocations: 1.904 MB / 0.4955 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4297, allocations: 4 kB / 0.4955 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.4302, allocations: 91.78 kB / 0.4956 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.4305, allocations: 76.88 kB / 0.4956 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.4306, allocations: 11.98 kB / 0.4957 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004441/0.431, allocations: 0.5914 MB / 0.4962 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.431, allocations: 0 / 0.4962 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.4336, allocations: 1.741 MB / 0.4979 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.4336, allocations: 55.53 kB / 0.498 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.4337, allocations: 8 kB / 0.498 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.4341, allocations: 27.97 kB / 0.498 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.4342, allocations: 35.88 kB / 0.4981 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4342, allocations: 19.98 kB / 0.4981 GB, free: 7.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.4343, allocations: 91.27 kB / 0.4982 GB, free: 7.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4343, allocations: 0 / 0.4982 GB, free: 7.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002588/0.4368, allocations: 0.9708 MB / 0.4991 GB, free: 6.551 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.004617/0.4415, allocations: 1.148 MB / 0.5002 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.443, allocations: 0.6127 MB / 0.5008 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.443, allocations: 0 / 0.5008 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.4439, allocations: 473.9 kB / 0.5013 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.4447, allocations: 87.73 kB / 0.5014 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.4474, allocations: 1.333 MB / 0.5027 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4476, allocations: 224.2 kB / 0.5029 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.448, allocations: 133.8 kB / 0.503 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.4481, allocations: 39.42 kB / 0.503 GB, free: 2.449 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4481, allocations: 0 / 0.503 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Templates: time 0.232/0.6801, allocations: 36.76 MB / 0.5389 GB, free: 109.7 MB / 446.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/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: 7.265617575496435]