Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001768/0.001768, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.00216/0.00216, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 58.12 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09587, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006131/0.102, allocations: 4.379 MB / 383.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1044, allocations: 1.336 MB / 384.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.1047, allocations: 11.94 kB / 384.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.105, allocations: 146.7 kB / 384.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006506/0.1057, allocations: 333.4 kB / 385.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.1061, allocations: 223.6 kB / 385.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1073, allocations: 1.034 MB / 386.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.1076, allocations: 190.5 kB / 386.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.1082, allocations: 418.6 kB / 387 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.1087, allocations: 390.1 kB / 387.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1088, allocations: 88 kB / 387.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.109, allocations: 88 kB / 387.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1092, allocations: 195.3 kB / 387.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.1096, allocations: 402.3 kB / 388.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1108, allocations: 1.089 MB / 389.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1108, allocations: 4 kB / 389.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1108, allocations: 0 / 389.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1108, allocations: 0 / 389.2 MB, free: 5.129 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00232/0.1131, allocations: 1.168 MB / 390.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1132, allocations: 15.98 kB / 390.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.1134, allocations: 100.4 kB / 390.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.1142, allocations: 467.1 kB / 390.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.1144, allocations: 156.7 kB / 391.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.981e-05/0.1145, allocations: 52.38 kB / 391.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.1163, allocations: 1.546 MB / 392.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1163, allocations: 0 / 392.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.1164, allocations: 35.92 kB / 392.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1164, allocations: 12 kB / 392.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1179, allocations: 0.4919 MB / 393.2 MB, free: 0.7148 MB / 350.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.004323/0.1222, allocations: 1.679 MB / 394.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.1242, allocations: 490.2 kB / 395.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009009/0.1251, allocations: 230.2 kB / 395.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.1252, allocations: 12.42 kB / 395.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.1263, allocations: 330.1 kB / 395.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 3.346e-06/0.1263, allocations: 0 / 395.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.007713/0.134, allocations: 1.326 MB / 397.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006381/0.1347, allocations: 0.8271 MB / 398.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.1358, allocations: 0.5578 MB / 398.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.136, allocations: 37.7 kB / 398.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.1365, allocations: 357 kB / 399 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.1368, allocations: 194.3 kB / 399.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.1371, allocations: 126.3 kB / 399.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.1373, allocations: 370.8 kB / 399.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/0.1383, allocations: 272.6 kB / 400 MB, free: 9.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.1403, allocations: 1.329 MB / 401.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.1422, allocations: 0.5564 MB / 401.8 MB, free: 7.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1422, allocations: 8 kB / 401.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003966/0.1462, allocations: 0.9503 MB / 402.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.295e-05/0.1463, allocations: 59.41 kB / 402.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1463, allocations: 4.031 kB / 402.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.1476, allocations: 225.5 kB / 403.1 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.1487, allocations: 111.9 kB / 403.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.161, allocations: 4.274 MB / 407.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.1624, allocations: 83.61 kB / 407.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.1625, allocations: 23.94 kB / 407.6 MB, free: 1.363 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006251/0.1631, allocations: 213.8 kB / 407.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.1634, allocations: 87.47 kB / 407.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.1637, allocations: 78.67 kB / 407.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.1637, allocations: 7.938 kB / 408 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1637, allocations: 0 / 408 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00397/0.1677, allocations: 1.041 MB / 409 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.1726, allocations: 1.316 MB / 410.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1726, allocations: 0 / 410.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.1738, allocations: 111.8 kB / 410.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.1748, allocations: 169.6 kB / 410.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.1749, allocations: 15.98 kB / 410.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009232/0.1841, allocations: 3.658 MB / 414.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1841, allocations: 0 / 414.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.1887, allocations: 1.022 MB / 415.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.1893, allocations: 135.4 kB / 415.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.1895, allocations: 16 kB / 415.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.1907, allocations: 48.02 kB / 415.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.1909, allocations: 52.39 kB / 415.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.191, allocations: 16 kB / 415.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009622/0.1919, allocations: 390.8 kB / 415.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1919, allocations: 4 kB / 415.9 MB, free: 8.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001512/0.1935, allocations: 259.7 kB / 416.2 MB, free: 8.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002572/0.1937, allocations: 115.2 kB / 416.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004027/0.1977, allocations: 1.048 MB / 417.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.1978, allocations: 7.938 kB / 417.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.1997, allocations: 0.5277 MB / 417.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.2014, allocations: 205.8 kB / 418.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/0.2064, allocations: 1.3 MB / 419.4 MB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.207, allocations: 319.9 kB / 419.7 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006348/0.2076, allocations: 81.06 kB / 419.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.2078, allocations: 52.48 kB / 419.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2078, allocations: 0 / 419.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of Templates: time 0.05559/0.2634, allocations: 16.81 MB / 436.6 MB, free: 4.066 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.054936667904258]