Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.00194/0.00194, allocations: 122 kB / 18.45 MB, free: 4.473 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.001601/0.001601, allocations: 189.2 kB / 21.4 MB, free: 1.535 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.611/1.611, allocations: 225.6 MB / 249.8 MB, free: 3.59 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 55.91 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 52.13 MB / 418.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006123/0.1089, allocations: 4.4 MB / 423.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.1114, allocations: 1.215 MB / 424.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.1117, allocations: 8 kB / 424.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1122, allocations: 138.8 kB / 424.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005816/0.1128, allocations: 273.7 kB / 425 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.1132, allocations: 187.7 kB / 425.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1142, allocations: 0.9336 MB / 426.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.1145, allocations: 168.6 kB / 426.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.115, allocations: 374.6 kB / 426.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.1155, allocations: 394.4 kB / 427 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1156, allocations: 76 kB / 427.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1157, allocations: 80 kB / 427.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1159, allocations: 175.3 kB / 427.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.1163, allocations: 414.1 kB / 427.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1173, allocations: 0.926 MB / 428.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1173, allocations: 0 / 428.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1173, allocations: 4 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1173, allocations: 0 / 428.7 MB, free: 2.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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002103/0.1194, allocations: 1.132 MB / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1195, allocations: 12.03 kB / 429.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.1196, allocations: 88.42 kB / 429.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.1204, allocations: 497.1 kB / 430.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.1206, allocations: 92.97 kB / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.1207, allocations: 48.33 kB / 430.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1219, allocations: 0.6516 MB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1219, allocations: 0 / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.1219, allocations: 24 kB / 431.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1219, allocations: 8 kB / 431.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.123, allocations: 455.6 kB / 431.6 MB, free: 15.16 MB / 366.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.00324/0.1262, allocations: 1.948 MB / 433.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1281, allocations: 0.6556 MB / 434.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.1287, allocations: 234.8 kB / 434.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.1287, allocations: 12.44 kB / 434.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1288, allocations: 42.94 kB / 434.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 3.306e-06/0.1288, allocations: 0 / 434.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.0049/0.1337, allocations: 1.48 MB / 436 MB, free: 10.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003195/0.134, allocations: 0.5682 MB / 436.6 MB, free: 9.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.1347, allocations: 0.5421 MB / 437.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.1347, allocations: 37.7 kB / 437.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.135, allocations: 293.1 kB / 437.4 MB, free: 8.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1352, allocations: 194.3 kB / 437.6 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.1354, allocations: 118.2 kB / 437.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1355, allocations: 366.8 kB / 438.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.1361, allocations: 197 kB / 438.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.1368, allocations: 412.3 kB / 438.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1379, allocations: 496.5 kB / 439.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1379, allocations: 0 / 439.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002283/0.1401, allocations: 0.8032 MB / 440 MB, free: 6.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.1402, allocations: 33.7 kB / 440 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1402, allocations: 4 kB / 440 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.1412, allocations: 218.4 kB / 440.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.1419, allocations: 123.8 kB / 440.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.288/0.43, allocations: 5.621 MB / 446 MB, free: 29.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4313, allocations: 75.22 kB / 446.1 MB, free: 29.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.4314, allocations: 17.89 kB / 446.1 MB, free: 29.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.432, allocations: 194.2 kB / 446.3 MB, free: 29.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.4322, allocations: 72.92 kB / 446.3 MB, free: 29.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.4362, allocations: 0.7686 MB / 447.1 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4362, allocations: 8.891 kB / 447.1 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4362, allocations: 1.5 kB / 447.1 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003591/0.4398, allocations: 1.037 MB / 448.1 MB, free: 28.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/0.4455, allocations: 1.491 MB / 449.6 MB, free: 28.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4455, allocations: 0 / 449.6 MB, free: 28.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.4469, allocations: 130.4 kB / 449.8 MB, free: 28.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.4484, allocations: 178.3 kB / 449.9 MB, free: 28.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.4485, allocations: 14.95 kB / 450 MB, free: 28.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008028/0.4565, allocations: 3.797 MB / 453.7 MB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.4565, allocations: 5.375 kB / 453.8 MB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.4614, allocations: 1.065 MB / 454.8 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.462, allocations: 206.7 kB / 455 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.4622, allocations: 17.48 kB / 455 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4632, allocations: 36.88 kB / 455.1 MB, free: 25.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.4635, allocations: 51.72 kB / 455.1 MB, free: 25.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.4636, allocations: 16.2 kB / 455.1 MB, free: 25.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008762/0.4644, allocations: 384.6 kB / 455.5 MB, free: 24.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4644, allocations: 0 / 455.5 MB, free: 24.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001431/0.4659, allocations: 219.7 kB / 455.7 MB, free: 24.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.4661, allocations: 116.4 kB / 455.8 MB, free: 24.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00416/0.4703, allocations: 1.011 MB / 456.9 MB, free: 24.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4703, allocations: 1.25 kB / 456.9 MB, free: 24.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.4719, allocations: 0.516 MB / 457.4 MB, free: 24.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.4736, allocations: 190.6 kB / 457.6 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.4777, allocations: 1.326 MB / 458.9 MB, free: 23.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.4784, allocations: 0.8871 MB / 459.8 MB, free: 22.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.4788, allocations: 53.67 kB / 459.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of SimCode: time 1.913e-06/0.4788, allocations: 1 kB / 459.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of Templates: time 0.02993/0.5087, allocations: 15.49 MB / 475.3 MB, free: 16.69 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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: 9.000898328144103]