Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.0007294/0.0007294, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00093/0.001659, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007251/0.0007251, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008583/0.001583, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9803/0.9803, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.084, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.764e-05, allocations: 10.31 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003846/0.003864, allocations: 4.391 MB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.005339, allocations: 1.277 MB / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.005513, allocations: 7.938 kB / 250.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.005725, allocations: 146.7 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.006041, allocations: 281.6 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.006308, allocations: 203.6 kB / 251.3 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.006963, allocations: 0.9644 MB / 252.3 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.007176, allocations: 170.9 kB / 252.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.007735, allocations: 0.6499 MB / 253.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.008019, allocations: 295.2 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.008099, allocations: 76 kB / 253.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.008215, allocations: 80 kB / 253.5 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.008298, allocations: 119.6 kB / 253.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.008736, allocations: 243.6 kB / 253.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.009193, allocations: 0.5604 MB / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.009209, allocations: 0 / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009211, allocations: 0 / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.009229, allocations: 4 kB / 254.4 MB, free: 4.184 MB / 250.7 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.001106/0.01034, allocations: 1.161 MB / 255.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.01037, allocations: 8.625 kB / 255.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.01055, allocations: 185.9 kB / 255.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.01091, allocations: 325.6 kB / 256.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.01102, allocations: 148.4 kB / 256.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.01107, allocations: 52.38 kB / 256.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.01165, allocations: 1.017 MB / 257.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01166, allocations: 0 / 257.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.01169, allocations: 24 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.0117, allocations: 12 kB / 257.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.01191, allocations: 154.8 kB / 257.5 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.01323, allocations: 1.051 MB / 258.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.01389, allocations: 349.1 kB / 258.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01401, allocations: 106.2 kB / 259 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.01404, allocations: 12.5 kB / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.01407, allocations: 50.98 kB / 259.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.943e-06/0.01407, allocations: 0 / 259.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001575/0.01565, allocations: 0.7497 MB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.01568, allocations: 75.83 kB / 259.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.01593, allocations: 427.2 kB / 260.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.01596, allocations: 37.7 kB / 260.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01606, allocations: 226.9 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.01641, allocations: 202.2 kB / 260.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01652, allocations: 106.3 kB / 260.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.01662, allocations: 378.6 kB / 261.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.01671, allocations: 82.98 kB / 261.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.01703, allocations: 0.8112 MB / 262.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.01726, allocations: 247.8 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01726, allocations: 4 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006434/0.01791, allocations: 488 kB / 262.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.01794, allocations: 29.7 kB / 262.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01794, allocations: 4 kB / 262.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005185/0.01846, allocations: 190.4 kB / 263.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.01886, allocations: 151.8 kB / 263.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.02221, allocations: 4.28 MB / 267.5 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.02253, allocations: 71.77 kB / 267.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.02257, allocations: 19.98 kB / 267.6 MB, free: 6.055 MB / 266.7 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.0004218/0.02299, allocations: 145.8 kB / 267.7 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.02309, allocations: 59.94 kB / 267.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009744/0.02407, allocations: 435.1 kB / 268.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.02407, allocations: 11.98 kB / 268.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.02408, allocations: 3.938 kB / 268.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008363/0.02491, allocations: 0.7141 MB / 268.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.02605, allocations: 0.8105 MB / 269.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02606, allocations: 4 kB / 269.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.02647, allocations: 159.7 kB / 269.9 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.0266, allocations: 71.44 kB / 270 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.02705, allocations: 161.5 kB / 270.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.02706, allocations: 16 kB / 270.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.02907, allocations: 2.899 MB / 273.1 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02907, allocations: 0 / 273.1 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/0.02982, allocations: 0.5704 MB / 273.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.02987, allocations: 19.98 kB / 273.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.03006, allocations: 23.98 kB / 273.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.03013, allocations: 48.41 kB / 273.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.03014, allocations: 12 kB / 273.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.03027, allocations: 196.4 kB / 273.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03027, allocations: 0 / 273.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003848/0.03065, allocations: 227.8 kB / 274.1 MB, free: 15.12 MB / 282.7 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 9.906e-05/0.03075, allocations: 100.3 kB / 274.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007442/0.0315, allocations: 0.7862 MB / 275 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.03151, allocations: 8 kB / 275 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.03207, allocations: 441.6 kB / 275.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.0325, allocations: 250.2 kB / 275.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/0.04013, allocations: 1.112 MB / 276.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.04022, allocations: 139.7 kB / 277 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.04041, allocations: 77.03 kB / 277 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.04082, allocations: 297.1 kB / 277.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04083, allocations: 4 kB / 277.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of Templates: time 0.1036/0.1444, allocations: 16.86 MB / 294.2 MB, free: 30.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.999971406534314]