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.001258/0.001258, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001491/0.001491, allocations: 161 kB / 24.91 MB, free: 9.191 MB / 18.57 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.9256/0.9256, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.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.452e-06/1.452e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.554e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00348/0.003496, allocations: 4.382 MB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.005083, allocations: 1.269 MB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.005252, allocations: 7.938 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.005526, allocations: 138.8 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.005885, allocations: 285.5 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.006164, allocations: 207.5 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.006761, allocations: 0.9605 MB / 280.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.006951, allocations: 174.9 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.00737, allocations: 0.5418 MB / 281.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.007636, allocations: 299.2 kB / 281.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.007704, allocations: 72 kB / 281.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.007807, allocations: 80 kB / 281.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.007895, allocations: 187.3 kB / 282 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.008073, allocations: 287.4 kB / 282.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.008505, allocations: 0.611 MB / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.008507, allocations: 0 / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.008507, allocations: 4 kB / 282.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.008513, allocations: 0 / 282.9 MB, free: 7.676 MB / 266.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.0009328/0.009446, allocations: 0.9968 MB / 283.9 MB, free: 6.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.009475, allocations: 15.98 kB / 283.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.009633, allocations: 108.8 kB / 284 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.009976, allocations: 325.6 kB / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.01007, allocations: 144.4 kB / 284.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.01012, allocations: 56.38 kB / 284.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.01085, allocations: 1.01 MB / 285.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.01086, allocations: 3.938 kB / 285.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.01089, allocations: 24 kB / 285.6 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.0109, allocations: 12 kB / 285.6 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.01112, allocations: 154.9 kB / 285.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.01239, allocations: 1.047 MB / 286.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.013, allocations: 353.2 kB / 287.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.01311, allocations: 102.2 kB / 287.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.01314, allocations: 12.5 kB / 287.2 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01316, allocations: 47.06 kB / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.903e-06/0.01317, allocations: 0 / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001556/0.01472, allocations: 0.7653 MB / 288 MB, free: 2.164 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.01486, allocations: 0.5644 MB / 288.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.0151, allocations: 431.2 kB / 289 MB, free: 1.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.01513, allocations: 41.7 kB / 289.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.01522, allocations: 226.9 kB / 289.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-05/0.01532, allocations: 198.2 kB / 289.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01543, allocations: 110.3 kB / 289.6 MB, free: 456 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.01552, allocations: 374.6 kB / 289.9 MB, free: 72 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01563, allocations: 82.98 kB / 290 MB, free: 15.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.01594, allocations: 0.8151 MB / 290.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.01616, allocations: 247.8 kB / 291.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01617, allocations: 0 / 291.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006439/0.01681, allocations: 480.1 kB / 291.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.01684, allocations: 40.55 kB / 291.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01684, allocations: 0 / 291.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/0.0175, allocations: 194.2 kB / 291.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.01787, allocations: 151.8 kB / 291.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.02078, allocations: 4.283 MB / 296.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.021, allocations: 63.58 kB / 296.3 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.02102, allocations: 12 kB / 296.3 MB, free: 9.188 MB / 282.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.0001168/0.02114, allocations: 153.8 kB / 296.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.02121, allocations: 67.92 kB / 296.5 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/0.02185, allocations: 439.1 kB / 296.9 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.02185, allocations: 4 kB / 296.9 MB, free: 8.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02185, allocations: 3.938 kB / 296.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006186/0.02247, allocations: 0.7102 MB / 297.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000998/0.02347, allocations: 0.8067 MB / 298.5 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02347, allocations: 0 / 298.5 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.02385, allocations: 159.7 kB / 298.6 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.0243, allocations: 157.5 kB / 298.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.02446, allocations: 7.984 kB / 298.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.02633, allocations: 2.894 MB / 301.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02633, allocations: 4.062 kB / 301.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.02706, allocations: 0.5781 MB / 302.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.02718, allocations: 67.48 kB / 302.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.02723, allocations: 16 kB / 302.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.02742, allocations: 27.97 kB / 302.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.02749, allocations: 48.41 kB / 302.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.0275, allocations: 11.94 kB / 302.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.02763, allocations: 200.4 kB / 302.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02763, allocations: 0 / 302.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.028, allocations: 223.8 kB / 302.8 MB, free: 2.262 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.348e-05/0.02809, allocations: 100.3 kB / 302.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.02885, allocations: 0.7862 MB / 303.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.02886, allocations: 4 kB / 303.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.02918, allocations: 433.5 kB / 304.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.02957, allocations: 198.7 kB / 304.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08366/0.1132, allocations: 1.101 MB / 305.4 MB, free: 38.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.1133, allocations: 141.1 kB / 305.6 MB, free: 38.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.1136, allocations: 75.62 kB / 305.6 MB, free: 38.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.114, allocations: 294.8 kB / 305.9 MB, free: 38.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.114, allocations: 0 / 305.9 MB, free: 38.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01448/0.1285, allocations: 15.71 MB / 321.6 MB, free: 32.7 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 -s gbode -gbm=radauIIA3 -emit_protected -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.9854610259644687]