Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001349/0.001349, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.001468/0.001468, allocations: 159.5 kB / 24.5 MB, free: 3.715 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.424/1.424, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.31 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09286, allocations: 53.35 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005835/0.09869, allocations: 4.365 MB / 383.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1009, allocations: 1.32 MB / 384.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1012, allocations: 15.94 kB / 384.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.1015, allocations: 150.7 kB / 384.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006515/0.1022, allocations: 349.3 kB / 385.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1026, allocations: 211.6 kB / 385.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1037, allocations: 1.02 MB / 386.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.1041, allocations: 194.5 kB / 386.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.1046, allocations: 434.5 kB / 386.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.1051, allocations: 386.1 kB / 387.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1053, allocations: 88 kB / 387.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1054, allocations: 92 kB / 387.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.1056, allocations: 203.3 kB / 387.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.106, allocations: 394.4 kB / 388.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1072, allocations: 1.082 MB / 389.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1072, allocations: 3.984 kB / 389.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1072, allocations: 0 / 389.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1072, allocations: 0 / 389.2 MB, free: 5.332 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.002298/0.1095, allocations: 1.179 MB / 390.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1095, allocations: 8.031 kB / 390.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.1097, allocations: 104.4 kB / 390.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.1105, allocations: 463.1 kB / 390.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.1107, allocations: 148.7 kB / 391 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.1108, allocations: 48.38 kB / 391.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.1128, allocations: 1.557 MB / 392.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1128, allocations: 7.938 kB / 392.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.1129, allocations: 24 kB / 392.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1129, allocations: 15.98 kB / 392.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.1142, allocations: 0.4997 MB / 393.2 MB, free: 0.8984 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.003332/0.1175, allocations: 1.675 MB / 394.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1189, allocations: 490.3 kB / 395.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.1195, allocations: 234.2 kB / 395.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.1196, allocations: 8.5 kB / 395.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/0.1204, allocations: 330.1 kB / 395.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.745e-06/0.1204, allocations: 0 / 395.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.005053/0.1255, allocations: 1.325 MB / 397.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005084/0.126, allocations: 0.8271 MB / 398.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.1267, allocations: 0.5578 MB / 398.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.1268, allocations: 49.64 kB / 398.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.1271, allocations: 342.1 kB / 399 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.1273, allocations: 194.3 kB / 399.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.1275, allocations: 126.3 kB / 399.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1278, allocations: 378.8 kB / 399.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.1284, allocations: 260.6 kB / 399.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.1298, allocations: 1.337 MB / 401.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.1311, allocations: 0.5603 MB / 401.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1311, allocations: 3.938 kB / 401.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002377/0.1335, allocations: 0.9503 MB / 402.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.1336, allocations: 70.36 kB / 402.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1336, allocations: 4 kB / 402.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/0.1343, allocations: 217.5 kB / 403.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.135, allocations: 119.8 kB / 403.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/0.1421, allocations: 4.289 MB / 407.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/0.1428, allocations: 75.62 kB / 407.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.1429, allocations: 31.92 kB / 407.6 MB, free: 1.531 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.0003439/0.1432, allocations: 213.8 kB / 407.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1433, allocations: 79.53 kB / 407.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1435, allocations: 74.56 kB / 407.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1435, allocations: 4 kB / 407.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1435, allocations: 4 kB / 408 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002404/0.1459, allocations: 1.049 MB / 409 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.1486, allocations: 1.32 MB / 410.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1486, allocations: 0 / 410.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.1493, allocations: 111.9 kB / 410.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.1498, allocations: 161.6 kB / 410.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.1499, allocations: 12 kB / 410.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.155, allocations: 3.653 MB / 414.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.155, allocations: 32 / 414.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.1575, allocations: 1.026 MB / 415.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.1578, allocations: 131.4 kB / 415.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.1579, allocations: 19.98 kB / 415.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.1585, allocations: 39.95 kB / 415.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.1586, allocations: 56.47 kB / 415.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.1587, allocations: 19.98 kB / 415.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.1592, allocations: 386.8 kB / 415.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 415.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008644/0.16, allocations: 259.7 kB / 416.2 MB, free: 8.531 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.0001949/0.1602, allocations: 123.3 kB / 416.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.1624, allocations: 1.045 MB / 417.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1625, allocations: 0 / 417.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.1635, allocations: 0.5351 MB / 417.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.1643, allocations: 195.5 kB / 418.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.1669, allocations: 1.301 MB / 419.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1673, allocations: 319.9 kB / 419.7 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.1676, allocations: 85.05 kB / 419.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1677, allocations: 56.5 kB / 419.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1677, allocations: 0 / 419.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of Templates: time 0.03107/0.1988, allocations: 16.83 MB / 436.6 MB, free: 4.242 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.904260337934829]