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.001784/0.001784, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002173/0.002173, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002025/0.002025, allocations: 55.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 53.42 MB / 431.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00548/0.2794, allocations: 3.972 MB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2815, allocations: 1.187 MB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.2818, allocations: 15.88 kB / 436.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.2821, allocations: 134.8 kB / 436.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.2827, allocations: 269.8 kB / 437.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.2832, allocations: 191.7 kB / 437.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.2841, allocations: 0.9336 MB / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.2844, allocations: 161.1 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.2849, allocations: 382.6 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.2854, allocations: 350.4 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2855, allocations: 79.94 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.2857, allocations: 80 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2858, allocations: 175.3 kB / 439.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.2862, allocations: 346.5 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009813/0.2872, allocations: 0.9363 MB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2872, allocations: 4 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2872, allocations: 0 / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2872, allocations: 0 / 440.8 MB, free: 13.29 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.00208/0.2893, allocations: 1.061 MB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2893, allocations: 15.97 kB / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.2896, allocations: 92.42 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.2904, allocations: 435.2 kB / 442.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.2906, allocations: 140.4 kB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.2907, allocations: 48.38 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.2921, allocations: 1.161 MB / 443.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2921, allocations: 0 / 443.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.2922, allocations: 20 kB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.2922, allocations: 12 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2933, allocations: 455.6 kB / 444.2 MB, free: 9.578 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.002967/0.2962, allocations: 1.475 MB / 445.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.2981, allocations: 0.5683 MB / 446.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/0.2988, allocations: 238 kB / 446.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.2988, allocations: 17.02 kB / 446.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.2989, allocations: 50.94 kB / 446.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.134e-06/0.2989, allocations: 0 / 446.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.00501/0.3039, allocations: 1.235 MB / 447.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003463/0.3042, allocations: 0.5643 MB / 448.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.3049, allocations: 0.499 MB / 448.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.3049, allocations: 37.7 kB / 448.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.3052, allocations: 297.6 kB / 449.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.3054, allocations: 194.3 kB / 449.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3056, allocations: 114.3 kB / 449.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3058, allocations: 366.8 kB / 449.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.3063, allocations: 222.9 kB / 450.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.3074, allocations: 0.9632 MB / 451 MB, free: 2.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.3085, allocations: 495.5 kB / 451.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3085, allocations: 0 / 451.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002441/0.311, allocations: 0.8268 MB / 452.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.311, allocations: 33.7 kB / 452.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.311, allocations: 11.91 kB / 452.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.312, allocations: 222.4 kB / 452.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.3128, allocations: 123.8 kB / 452.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/0.3208, allocations: 5.189 MB / 457.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/0.3215, allocations: 71.75 kB / 458 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.3216, allocations: 20 kB / 458 MB, free: 10.94 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.0003544/0.3219, allocations: 190.4 kB / 458.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.3221, allocations: 79.55 kB / 458.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.3245, allocations: 0.7598 MB / 459 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3245, allocations: 8 kB / 459 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3245, allocations: 0 / 459 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00228/0.3268, allocations: 1.033 MB / 460.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.33, allocations: 1.305 MB / 461.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.33, allocations: 3.938 kB / 461.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.3307, allocations: 131.8 kB / 461.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/0.3316, allocations: 169.6 kB / 461.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.3316, allocations: 8 kB / 461.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.337, allocations: 3.528 MB / 465.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.337, allocations: 3.938 kB / 465.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.3399, allocations: 1.05 MB / 466.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.3402, allocations: 131.4 kB / 466.4 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3404, allocations: 19.94 kB / 466.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.3409, allocations: 36.19 kB / 466.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.341, allocations: 44.42 kB / 466.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.341, allocations: 15.98 kB / 466.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004525/0.3415, allocations: 362.8 kB / 466.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3415, allocations: 0 / 466.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.3423, allocations: 227.7 kB / 467.1 MB, free: 1.445 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.0001512/0.3424, allocations: 115.2 kB / 467.2 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.3448, allocations: 1.034 MB / 468.2 MB, free: 240 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3448, allocations: 0 / 468.2 MB, free: 240 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.3458, allocations: 0.5158 MB / 468.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.3466, allocations: 174.5 kB / 468.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.349, allocations: 1.302 MB / 470.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3493, allocations: 289.8 kB / 470.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.3496, allocations: 76.92 kB / 470.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.3498, allocations: 51.44 kB / 470.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3498, allocations: 0 / 470.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02528/0.375, allocations: 15.42 MB / 486 MB, free: 14.61 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.198733899742365]