Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001823/0.001823, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002242/0.002242, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.86 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2156, allocations: 53.35 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005583/0.2212, allocations: 3.974 MB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2233, allocations: 1.193 MB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.2235, allocations: 11.94 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.2238, allocations: 130.8 kB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.2244, allocations: 269.8 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.2248, allocations: 203.6 kB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2258, allocations: 0.9329 MB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.2261, allocations: 169.1 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.2266, allocations: 382.6 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.2271, allocations: 398.4 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2272, allocations: 80 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.2274, allocations: 83.98 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2276, allocations: 175.4 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.2279, allocations: 350.5 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2289, allocations: 0.9335 MB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.229, allocations: 0 / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.229, allocations: 0 / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.229, allocations: 0 / 441.6 MB, free: 13.46 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.002194/0.2312, allocations: 1.061 MB / 442.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2312, allocations: 15.97 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.2314, allocations: 88.47 kB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.2322, allocations: 431.3 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.2324, allocations: 148.4 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.2325, allocations: 44.38 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.234, allocations: 1.165 MB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2341, allocations: 4 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.2341, allocations: 16 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.2341, allocations: 12 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2353, allocations: 443.7 kB / 445 MB, free: 9.77 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.003025/0.2383, allocations: 1.475 MB / 446.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.2403, allocations: 0.5804 MB / 447 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.2409, allocations: 242 kB / 447.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.241, allocations: 12.38 kB / 447.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.241, allocations: 43 kB / 447.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.913e-06/0.241, allocations: 0 / 447.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.0054/0.2464, allocations: 1.246 MB / 448.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003008/0.2467, allocations: 0.5644 MB / 449.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.2473, allocations: 0.495 MB / 449.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.2474, allocations: 37.7 kB / 449.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.2476, allocations: 297.6 kB / 449.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2478, allocations: 194.3 kB / 450.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.248, allocations: 106.3 kB / 450.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2482, allocations: 370.8 kB / 450.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.2488, allocations: 226.9 kB / 450.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2498, allocations: 0.9592 MB / 451.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2509, allocations: 495.5 kB / 452.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2509, allocations: 0 / 452.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002498/0.2534, allocations: 0.8307 MB / 453.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.2535, allocations: 33.7 kB / 453.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2535, allocations: 0 / 453.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.2546, allocations: 230.3 kB / 453.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.2554, allocations: 127.8 kB / 453.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008235/0.2636, allocations: 5.189 MB / 458.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.2643, allocations: 71.91 kB / 458.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.2643, allocations: 19.98 kB / 458.8 MB, free: 11.11 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.0002753/0.2646, allocations: 193.7 kB / 458.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.2647, allocations: 71.56 kB / 459 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.2673, allocations: 0.7637 MB / 459.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2673, allocations: 8 kB / 459.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.2673, allocations: 0 / 459.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002442/0.2697, allocations: 1.029 MB / 460.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.273, allocations: 1.305 MB / 462.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.273, allocations: 0 / 462.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.2738, allocations: 131.8 kB / 462.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009567/0.2748, allocations: 177.5 kB / 462.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.2748, allocations: 11.98 kB / 462.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.2805, allocations: 3.523 MB / 466 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2805, allocations: 0 / 466 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.2835, allocations: 1.065 MB / 467 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.2838, allocations: 123.4 kB / 467.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.2839, allocations: 19.92 kB / 467.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.2844, allocations: 35.97 kB / 467.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2846, allocations: 44.41 kB / 467.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.2846, allocations: 20 kB / 467.3 MB, free: 2.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004234/0.285, allocations: 358.9 kB / 467.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.285, allocations: 0 / 467.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007138/0.2857, allocations: 219.8 kB / 467.8 MB, free: 1.625 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.0001483/0.2859, allocations: 115.2 kB / 467.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.2883, allocations: 1.034 MB / 469 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2883, allocations: 0 / 469 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.2894, allocations: 0.5156 MB / 469.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.2902, allocations: 178.8 kB / 469.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2925, allocations: 1.297 MB / 471 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2929, allocations: 293.7 kB / 471.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.2931, allocations: 72.94 kB / 471.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.2933, allocations: 59.42 kB / 471.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2933, allocations: 0 / 471.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02526/0.3185, allocations: 15.55 MB / 486.9 MB, free: 14.7 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.97108520999609]