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.0008585/0.0008585, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003239/0.003239, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8158/0.8158, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744e-06/1.744e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.146e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01186/0.01188, allocations: 11.93 MB / 337.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.02142, allocations: 10.13 MB / 347.9 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.0215, allocations: 0 / 347.9 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.0218, allocations: 55.66 kB / 347.9 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.02206, allocations: 91.25 kB / 348 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008889/0.03095, allocations: 5.106 MB / 353.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.03119, allocations: 242.8 kB / 353.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.03124, allocations: 5.641 kB / 353.4 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.03156, allocations: 219.3 kB / 353.6 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.03164, allocations: 59.86 kB / 353.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.03166, allocations: 12 kB / 353.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007059/0.03871, allocations: 6.688 MB / 360.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.03876, allocations: 31.83 kB / 360.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.03882, allocations: 55.91 kB / 360.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.04384, allocations: 4.989 MB / 365.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.04385, allocations: 0 / 365.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.04385, allocations: 0 / 365.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.04385, allocations: 0 / 365.4 MB, free: 7.727 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.002336/0.04619, allocations: 1.091 MB / 366.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.04622, allocations: 15.97 kB / 366.5 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.04647, allocations: 48.84 kB / 366.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.04672, allocations: 165.5 kB / 366.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.04674, allocations: 8.656 kB / 366.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.04678, allocations: 12.38 kB / 366.7 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.04744, allocations: 444.5 kB / 367.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.04745, allocations: 4.188 kB / 367.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.04747, allocations: 7.938 kB / 367.2 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.04748, allocations: 4 kB / 367.2 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006545/0.04813, allocations: 355.5 kB / 367.5 MB, free: 5.492 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.0008117/0.04895, allocations: 1.001 MB / 368.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.04939, allocations: 267.8 kB / 368.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.04953, allocations: 122.5 kB / 368.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04161/0.09115, allocations: 26.08 MB / 395 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.09118, allocations: 38.56 kB / 395 MB, free: 9.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.504e-06/0.09118, allocations: 0 / 395 MB, free: 9.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00361/0.09479, allocations: 1.511 MB / 396.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.09484, allocations: 110.8 kB / 396.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.09492, allocations: 121.8 kB / 396.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.09495, allocations: 29.7 kB / 396.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.095, allocations: 108.6 kB / 396.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.09506, allocations: 123 kB / 397 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.09514, allocations: 69.67 kB / 397.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.09521, allocations: 322.8 kB / 397.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.09541, allocations: 139.7 kB / 397.5 MB, free: 7.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.09564, allocations: 194.8 kB / 397.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.09607, allocations: 358.5 kB / 398.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09607, allocations: 0 / 398.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005657/0.09664, allocations: 434.3 kB / 398.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.09665, allocations: 8 kB / 398.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.09666, allocations: 224 / 398.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.09681, allocations: 36.84 kB / 398.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.09704, allocations: 91.81 kB / 398.6 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002541/0.0973, allocations: 0.5485 MB / 399.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.09742, allocations: 19.98 kB / 399.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.09744, allocations: 19.92 kB / 399.2 MB, free: 5.473 MB / 362.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 0.0001048/0.09755, allocations: 141.8 kB / 399.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.0976, allocations: 15.91 kB / 399.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.09883, allocations: 1.498 MB / 400.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.09884, allocations: 19.95 kB / 400.9 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.09885, allocations: 4 kB / 400.9 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.09885, allocations: 4.031 kB / 400.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1006, allocations: 1.902 MB / 402.8 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1006, allocations: 3.984 kB / 402.8 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1008, allocations: 79.88 kB / 402.9 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.101, allocations: 84.8 kB / 403 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.101, allocations: 15.94 kB / 403 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002256/0.1012, allocations: 0.5836 MB / 403.6 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1012, allocations: 4.031 kB / 403.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1025, allocations: 1.746 MB / 405.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.1025, allocations: 47.58 kB / 405.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1025, allocations: 12.03 kB / 405.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1027, allocations: 19.98 kB / 405.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1027, allocations: 39.81 kB / 405.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1028, allocations: 16 kB / 405.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.1028, allocations: 91.27 kB / 405.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1028, allocations: 0 / 405.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001895/0.1047, allocations: 0.9785 MB / 406.5 MB, free: 14.04 MB / 378.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.002433/0.1071, allocations: 1.285 MB / 407.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.1079, allocations: 0.613 MB / 408.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1079, allocations: 0 / 408.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.1083, allocations: 465.4 kB / 408.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1087, allocations: 80.34 kB / 409 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1102, allocations: 1.284 MB / 410.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.1103, allocations: 208.3 kB / 410.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.1104, allocations: 44.47 kB / 410.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1104, allocations: 0 / 410.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of Templates: time 0.01792/0.1283, allocations: 22.2 MB / 432.7 MB, free: 3.789 MB / 394.7 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/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: 5.5090269688516855]