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.001642/0.001642, allocations: 108.8 kB / 21.18 MB, free: 0.7617 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.002/0.002, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.433/1.433, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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.001675/0.001675, allocations: 43.94 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2709, allocations: 52.18 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006403/0.2773, allocations: 4.429 MB / 428.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2798, allocations: 1.211 MB / 429.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.2803, allocations: 11.94 kB / 429.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.2809, allocations: 134.8 kB / 429.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.2817, allocations: 273.8 kB / 429.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.2824, allocations: 195.7 kB / 430.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.2837, allocations: 0.9219 MB / 431 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.284, allocations: 174.6 kB / 431.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.2847, allocations: 374.7 kB / 431.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.2854, allocations: 410.3 kB / 432 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.2855, allocations: 76 kB / 432 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.2857, allocations: 76 kB / 432.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2859, allocations: 167.4 kB / 432.3 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.2864, allocations: 426 kB / 432.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2874, allocations: 0.918 MB / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2874, allocations: 0 / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2874, allocations: 0 / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2874, allocations: 0 / 433.6 MB, free: 4.918 MB / 334.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.002099/0.2895, allocations: 1.061 MB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2895, allocations: 12.03 kB / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2897, allocations: 88.42 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.2904, allocations: 423.2 kB / 435.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.2907, allocations: 156.4 kB / 435.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/0.2908, allocations: 52.31 kB / 435.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.2919, allocations: 0.6593 MB / 436.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.292, allocations: 0 / 436.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.292, allocations: 19.94 kB / 436.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.292, allocations: 12 kB / 436.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2931, allocations: 451.7 kB / 436.5 MB, free: 1.836 MB / 334.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.003188/0.2963, allocations: 1.877 MB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.2982, allocations: 0.5879 MB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.2987, allocations: 234 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.2988, allocations: 16.33 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.2988, allocations: 47 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.713e-06/0.2988, allocations: 0 / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004967/0.3038, allocations: 1.242 MB / 440.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003357/0.3041, allocations: 0.5683 MB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.3049, allocations: 0.5304 MB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.3049, allocations: 45.64 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.3052, allocations: 297.1 kB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.3054, allocations: 194.3 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3056, allocations: 110.3 kB / 442.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3058, allocations: 370.8 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.3063, allocations: 197.2 kB / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.307, allocations: 417.1 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3081, allocations: 491.5 kB / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3081, allocations: 0 / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002357/0.3104, allocations: 0.8095 MB / 444.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.3105, allocations: 36.98 kB / 444.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3105, allocations: 4 kB / 444.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3115, allocations: 222.4 kB / 444.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.3123, allocations: 127.8 kB / 444.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008153/0.3204, allocations: 5.294 MB / 450.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.3212, allocations: 75.69 kB / 450.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.3213, allocations: 16 kB / 450.3 MB, free: 3.281 MB / 350.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.0003803/0.3216, allocations: 193.8 kB / 450.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.3218, allocations: 71.58 kB / 450.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.3242, allocations: 0.7797 MB / 451.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3242, allocations: 8 kB / 451.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.3242, allocations: 0 / 451.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002253/0.3265, allocations: 1.033 MB / 452.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.3299, allocations: 1.472 MB / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3299, allocations: 3.938 kB / 453.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.3307, allocations: 127.8 kB / 453.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008566/0.3315, allocations: 177.5 kB / 454.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.3316, allocations: 15.98 kB / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.3372, allocations: 3.592 MB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3372, allocations: 3.984 kB / 457.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.3401, allocations: 1.069 MB / 458.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.3405, allocations: 131.4 kB / 458.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.3406, allocations: 12 kB / 458.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.3412, allocations: 35.97 kB / 459 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3413, allocations: 48.41 kB / 459 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.3414, allocations: 19.92 kB / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000559/0.3419, allocations: 386.8 kB / 459.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3419, allocations: 0 / 459.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008294/0.3427, allocations: 223.8 kB / 459.6 MB, free: 9.457 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.0001748/0.3429, allocations: 111.2 kB / 459.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.3454, allocations: 1.005 MB / 460.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3454, allocations: 4 kB / 460.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.3465, allocations: 0.5117 MB / 461.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.3475, allocations: 182.5 kB / 461.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3503, allocations: 1.32 MB / 462.8 MB, free: 6.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.3509, allocations: 0.8879 MB / 463.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.3511, allocations: 55.42 kB / 463.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3511, allocations: 11.94 kB / 463.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of Templates: time 0.02465/0.3758, allocations: 15.49 MB / 479.2 MB, free: 5.812 MB / 382.1 MB " [Timeout remaining time 660] 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.115328168030828]