Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 112.3 kB / 21.18 MB, free: 0.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 215 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 68.02 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2006, allocations: 53.32 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01639/0.217, allocations: 13.13 MB / 445.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.2313, allocations: 11.61 MB / 456.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.2314, allocations: 4 kB / 456.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.2316, allocations: 75.55 kB / 456.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.2319, allocations: 87.42 kB / 456.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01124/0.2432, allocations: 5.082 MB / 462 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.2435, allocations: 231 kB / 462.2 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.2436, allocations: 9.453 kB / 462.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.244, allocations: 195.3 kB / 462.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2441, allocations: 83.56 kB / 462.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.2441, allocations: 8 kB / 462.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.2561, allocations: 7.005 MB / 469.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.2561, allocations: 27.89 kB / 469.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.2562, allocations: 67.73 kB / 469.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.2613, allocations: 3.882 MB / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2613, allocations: 0 / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2613, allocations: 0 / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2613, allocations: 4 kB / 473.5 MB, free: 13.8 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.004562/0.2659, allocations: 1.171 MB / 474.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2659, allocations: 12.03 kB / 474.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.2664, allocations: 52.84 kB / 474.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.2668, allocations: 220.1 kB / 475 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2668, allocations: 12.66 kB / 475 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.2668, allocations: 12.38 kB / 475 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.2682, allocations: 392.8 kB / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2682, allocations: 0 / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.2683, allocations: 4 kB / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2683, allocations: 8 kB / 475.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.2698, allocations: 363.5 kB / 475.7 MB, free: 11.45 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.001487/0.2713, allocations: 1.176 MB / 476.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.2722, allocations: 279.7 kB / 477.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.2725, allocations: 110.9 kB / 477.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.113/0.3855, allocations: 52.79 MB / 0.5177 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.3856, allocations: 42.56 kB / 0.5177 GB, free: 14.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.335e-06/0.3856, allocations: 0 / 0.5177 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.007327/0.3929, allocations: 1.589 MB / 0.5193 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.393, allocations: 110.8 kB / 0.5194 GB, free: 12.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3931, allocations: 121.7 kB / 0.5195 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.3931, allocations: 29.7 kB / 0.5195 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.3932, allocations: 104.7 kB / 0.5196 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3933, allocations: 126.9 kB / 0.5197 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3935, allocations: 69.69 kB / 0.5198 GB, free: 12.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3936, allocations: 326.8 kB / 0.5201 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.394, allocations: 135.7 kB / 0.5202 GB, free: 11.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.3945, allocations: 202.8 kB / 0.5204 GB, free: 11.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.3954, allocations: 346.6 kB / 0.5208 GB, free: 10.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3954, allocations: 3.938 kB / 0.5208 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00117/0.3966, allocations: 430 kB / 0.5212 GB, free: 10.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3966, allocations: 4 kB / 0.5212 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3966, allocations: 4 kB / 0.5212 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.3968, allocations: 36.83 kB / 0.5212 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.3973, allocations: 88.03 kB / 0.5213 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000424/0.3978, allocations: 0.5601 MB / 0.5218 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.3981, allocations: 19.97 kB / 0.5219 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3981, allocations: 16 kB / 0.5219 GB, free: 9.789 MB / 446.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.000153/0.3982, allocations: 133.8 kB / 0.522 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3984, allocations: 27.91 kB / 0.522 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.4007, allocations: 1.436 MB / 0.5234 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.4007, allocations: 7.938 kB / 0.5234 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4007, allocations: 0 / 0.5234 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.4008, allocations: 132.6 kB / 0.5236 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.4009, allocations: 12.03 kB / 0.5236 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.4013, allocations: 27.97 kB / 0.5236 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.4013, allocations: 27.91 kB / 0.5236 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002145/0.4035, allocations: 1.216 MB / 0.5248 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002398/0.4059, allocations: 1.692 MB / 0.5265 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006389/0.4065, allocations: 370 kB / 0.5268 GB, free: 4.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.4066, allocations: 99.2 kB / 0.5269 GB, free: 4.559 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.4066, allocations: 0 / 0.5269 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005546/0.4121, allocations: 1.538 MB / 0.5284 GB, free: 3.012 MB / 446.1 MB Notification: Performance of SimCode: time 0.001416/0.4135, allocations: 1.232 MB / 0.5296 GB, free: 1.738 MB / 446.1 MB Notification: Performance of Templates: time 0.2057/0.6193, allocations: 39.39 MB / 0.5681 GB, free: 111.5 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.881515985820442]