Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 123.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 247 MB, free: 4.371 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 43.92 kB / 358.7 MB, free: 8.676 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 49.44 MB / 408.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006006/0.1081, allocations: 4.828 MB / 412.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1106, allocations: 1.351 MB / 414.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.111, allocations: 4 kB / 414.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.1114, allocations: 158.7 kB / 414.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007232/0.1122, allocations: 329.4 kB / 414.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.1127, allocations: 227.5 kB / 415 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1138, allocations: 1.027 MB / 416 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.1143, allocations: 293.9 kB / 416.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.1148, allocations: 410.5 kB / 416.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.1153, allocations: 450.1 kB / 417.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1155, allocations: 88 kB / 417.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1157, allocations: 88 kB / 417.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.1159, allocations: 195.3 kB / 417.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.1163, allocations: 469.9 kB / 418 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.1174, allocations: 1.093 MB / 419 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1175, allocations: 0 / 419 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.119e-06/0.1175, allocations: 3.984 kB / 419.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1175, allocations: 0 / 419.1 MB, free: 12.17 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.002266/0.1198, allocations: 1.243 MB / 420.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1198, allocations: 8.031 kB / 420.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.12, allocations: 100.4 kB / 420.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.1208, allocations: 0.5165 MB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.1209, allocations: 105.3 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.1211, allocations: 52.38 kB / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.1225, allocations: 0.8005 MB / 421.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1225, allocations: 3.953 kB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.1226, allocations: 24 kB / 421.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1226, allocations: 12 kB / 421.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.1239, allocations: 0.4997 MB / 422.4 MB, free: 8.594 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.003487/0.1274, allocations: 2.17 MB / 424.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.1287, allocations: 0.5259 MB / 425.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.1294, allocations: 266.4 kB / 425.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.1294, allocations: 9.641 kB / 425.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.1302, allocations: 331 kB / 425.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.086e-06/0.1302, allocations: 0 / 425.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00516/0.1354, allocations: 1.489 MB / 427.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004979/0.1359, allocations: 0.8194 MB / 428 MB, free: 2.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.1367, allocations: 0.5862 MB / 428.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/0.1368, allocations: 49.69 kB / 428.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.1372, allocations: 341.2 kB / 429 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.1374, allocations: 190.3 kB / 429.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.1376, allocations: 130.2 kB / 429.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1378, allocations: 378.7 kB / 429.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.1384, allocations: 217 kB / 429.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/0.1393, allocations: 0.5169 MB / 430.4 MB, free: 44 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1921/0.3314, allocations: 0.5611 MB / 430.9 MB, free: 22.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3315, allocations: 0 / 430.9 MB, free: 22.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002242/0.3337, allocations: 0.9004 MB / 431.8 MB, free: 22.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.3338, allocations: 64.83 kB / 431.9 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3338, allocations: 0 / 431.9 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.3345, allocations: 222.2 kB / 432.1 MB, free: 22.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.3351, allocations: 120.9 kB / 432.2 MB, free: 22.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.3408, allocations: 4.595 MB / 436.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/0.3416, allocations: 80.92 kB / 436.9 MB, free: 19.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.3417, allocations: 26.27 kB / 436.9 MB, free: 19.34 MB / 350.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.0003259/0.342, allocations: 216.2 kB / 437.2 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3421, allocations: 83.53 kB / 437.2 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.3423, allocations: 76.72 kB / 437.3 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3423, allocations: 7.906 kB / 437.3 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3423, allocations: 0.5625 kB / 437.3 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002173/0.3445, allocations: 1.052 MB / 438.4 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.3472, allocations: 1.538 MB / 439.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3472, allocations: 1.734 kB / 439.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.3479, allocations: 107.4 kB / 440 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.3484, allocations: 167.4 kB / 440.2 MB, free: 18.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.3485, allocations: 14.27 kB / 440.2 MB, free: 18.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.3527, allocations: 3.939 MB / 444.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3528, allocations: 3.938 kB / 444.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.3552, allocations: 1.029 MB / 445.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.3556, allocations: 216.7 kB / 445.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3557, allocations: 18.89 kB / 445.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.3563, allocations: 44.36 kB / 445.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.3565, allocations: 50.19 kB / 445.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.3565, allocations: 16.17 kB / 445.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000548/0.3571, allocations: 424.6 kB / 445.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3571, allocations: 4.062 kB / 445.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008422/0.3579, allocations: 253.6 kB / 446.2 MB, free: 14.81 MB / 350.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.0001638/0.3581, allocations: 120 kB / 446.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.3602, allocations: 1.016 MB / 447.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.3602, allocations: 3.5 kB / 447.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.3611, allocations: 0.5482 MB / 447.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.362, allocations: 214.3 kB / 448.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.3647, allocations: 1.353 MB / 449.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3651, allocations: 0.913 MB / 450.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3653, allocations: 58.7 kB / 450.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3653, allocations: 0 / 450.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Templates: time 0.02063/0.3859, allocations: 16.18 MB / 466.6 MB, free: 4.512 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.998528765048832]