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.001972/0.001972, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002513/0.002513, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.00157/0.00157, allocations: 43.92 kB / 378.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2287, allocations: 53.37 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0184/0.2471, allocations: 13.13 MB / 444.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.262, allocations: 11.62 MB / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.2621, allocations: 0 / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.2624, allocations: 67.61 kB / 456.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.2627, allocations: 87.38 kB / 456.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01247/0.2751, allocations: 5.093 MB / 461.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.2755, allocations: 234.9 kB / 461.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.2756, allocations: 13.64 kB / 461.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.276, allocations: 199.3 kB / 462 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2762, allocations: 75.62 kB / 462.1 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.2762, allocations: 8 kB / 462.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.2895, allocations: 7.02 MB / 469.1 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.2896, allocations: 19.92 kB / 469.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2897, allocations: 75.7 kB / 469.2 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.2971, allocations: 3.882 MB / 473.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2971, allocations: 0 / 473.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2971, allocations: 0 / 473.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2971, allocations: 0 / 473.1 MB, free: 13.29 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.004785/0.3019, allocations: 1.107 MB / 474.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3019, allocations: 8.031 kB / 474.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/0.3024, allocations: 44.84 kB / 474.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.3027, allocations: 170.3 kB / 474.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3028, allocations: 8.656 kB / 474.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.3028, allocations: 20.38 kB / 474.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3041, allocations: 392.7 kB / 474.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3041, allocations: 0 / 474.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.3042, allocations: 8 kB / 474.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3042, allocations: 4 kB / 474.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3056, allocations: 355.5 kB / 475.2 MB, free: 11.11 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.001605/0.3072, allocations: 1.144 MB / 476.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.3081, allocations: 279.7 kB / 476.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.3084, allocations: 110.9 kB / 476.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0919/0.4003, allocations: 26.01 MB / 0.491 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.4004, allocations: 38.56 kB / 0.491 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.4004, allocations: 3.938 kB / 0.491 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007023/0.4074, allocations: 1.511 MB / 0.4925 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.4075, allocations: 106.8 kB / 0.4926 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4076, allocations: 121.8 kB / 0.4927 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.4076, allocations: 29.7 kB / 0.4927 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.4077, allocations: 108.6 kB / 0.4928 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4078, allocations: 123 kB / 0.493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.4079, allocations: 69.67 kB / 0.493 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4081, allocations: 326.8 kB / 0.4933 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.4085, allocations: 135.6 kB / 0.4935 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.4089, allocations: 202.7 kB / 0.4937 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.4098, allocations: 342.6 kB / 0.494 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4098, allocations: 4 kB / 0.494 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.4109, allocations: 430.1 kB / 0.4944 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4109, allocations: 8 kB / 0.4944 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4109, allocations: 3.984 kB / 0.4944 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.4112, allocations: 36.84 kB / 0.4944 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.4116, allocations: 91.81 kB / 0.4945 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/0.4121, allocations: 0.5485 MB / 0.4951 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.4124, allocations: 20.02 kB / 0.4951 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.4124, allocations: 19.98 kB / 0.4951 GB, free: 10.98 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.0001498/0.4126, allocations: 134.3 kB / 0.4952 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.4127, allocations: 15.91 kB / 0.4952 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.4151, allocations: 1.505 MB / 0.4967 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.4151, allocations: 23.95 kB / 0.4967 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4151, allocations: 3.938 kB / 0.4967 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4151, allocations: 0 / 0.4967 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.4184, allocations: 2.006 MB / 0.4987 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.4184, allocations: 4 kB / 0.4987 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.4189, allocations: 83.86 kB / 0.4988 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/0.4192, allocations: 68.92 kB / 0.4988 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.4193, allocations: 19.92 kB / 0.4989 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004425/0.4197, allocations: 0.5952 MB / 0.4994 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4197, allocations: 0 / 0.4994 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.4222, allocations: 1.741 MB / 0.5011 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.4223, allocations: 55.53 kB / 0.5012 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.4224, allocations: 8 kB / 0.5012 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.4227, allocations: 19.97 kB / 0.5012 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.4228, allocations: 35.94 kB / 0.5013 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4229, allocations: 19.98 kB / 0.5013 GB, free: 4.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.4229, allocations: 95.2 kB / 0.5014 GB, free: 4.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4229, allocations: 0 / 0.5014 GB, free: 4.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002705/0.4256, allocations: 0.9708 MB / 0.5023 GB, free: 3.445 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.003812/0.4294, allocations: 1.151 MB / 0.5034 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.4309, allocations: 0.6088 MB / 0.504 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4309, allocations: 0 / 0.504 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008503/0.4318, allocations: 477.4 kB / 0.5045 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.4325, allocations: 74.39 kB / 0.5046 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4351, allocations: 1.352 MB / 0.5059 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.4356, allocations: 0.8177 MB / 0.5067 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.4359, allocations: 137.8 kB / 0.5068 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4361, allocations: 39.41 kB / 0.5069 GB, free: 14.73 MB / 430.1 MB Notification: Performance of SimCode: time 5e-07/0.4361, allocations: 0 / 0.5069 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Templates: time 0.2332/0.6693, allocations: 36.9 MB / 0.5429 GB, free: 107 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.4167670358438045]