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.001765/0.001765, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002157/0.002157, allocations: 185.5 kB / 23.71 MB, free: 4.434 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.491/1.491, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.001796/0.001796, allocations: 47.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2362, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005803/0.242, allocations: 3.959 MB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2445, allocations: 1.159 MB / 428.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.2449, allocations: 7.938 kB / 428.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.2453, allocations: 134.8 kB / 428.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007466/0.2461, allocations: 273.8 kB / 428.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.2466, allocations: 203.6 kB / 428.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.2478, allocations: 0.9297 MB / 429.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.2481, allocations: 161 kB / 429.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.2487, allocations: 370.7 kB / 430.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.2493, allocations: 354.3 kB / 430.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.2494, allocations: 76 kB / 430.7 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.2496, allocations: 80 kB / 430.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.2498, allocations: 167.4 kB / 430.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.2503, allocations: 354.5 kB / 431.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2513, allocations: 0.9257 MB / 432.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2513, allocations: 4 kB / 432.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2513, allocations: 0 / 432.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.2513, allocations: 0 / 432.2 MB, free: 5.32 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.002198/0.2535, allocations: 1.057 MB / 433.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.2535, allocations: 8.031 kB / 433.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.2537, allocations: 92.42 kB / 433.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008339/0.2545, allocations: 435.2 kB / 433.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.2547, allocations: 140.4 kB / 433.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.2548, allocations: 52.33 kB / 433.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.2563, allocations: 1.157 MB / 435.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2563, allocations: 3.984 kB / 435.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.2564, allocations: 20 kB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.2564, allocations: 15.94 kB / 435.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2575, allocations: 447.7 kB / 435.6 MB, free: 1.625 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.003059/0.2606, allocations: 1.475 MB / 437 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.2625, allocations: 0.5691 MB / 437.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.2631, allocations: 240.2 kB / 437.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.2631, allocations: 16.36 kB / 437.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.2632, allocations: 47 kB / 437.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.565e-06/0.2632, allocations: 0 / 437.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004845/0.268, allocations: 1.246 MB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003052/0.2683, allocations: 0.5643 MB / 439.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.2689, allocations: 0.5028 MB / 440.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.269, allocations: 37.7 kB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.2692, allocations: 293.7 kB / 440.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.2694, allocations: 194.3 kB / 440.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2696, allocations: 114.3 kB / 440.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2698, allocations: 370.8 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.2703, allocations: 218.9 kB / 441.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.2713, allocations: 0.9635 MB / 442.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2724, allocations: 495.5 kB / 442.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2724, allocations: 3.938 kB / 442.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002299/0.2747, allocations: 0.8191 MB / 443.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2748, allocations: 33.7 kB / 443.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2748, allocations: 4.031 kB / 443.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009772/0.2758, allocations: 226.3 kB / 444 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.2765, allocations: 123.8 kB / 444.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007687/0.2841, allocations: 5.19 MB / 449.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.2848, allocations: 71.75 kB / 449.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.2848, allocations: 20 kB / 449.4 MB, free: 2.973 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.000295/0.2851, allocations: 189.8 kB / 449.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.2852, allocations: 79.5 kB / 449.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.2875, allocations: 0.7598 MB / 450.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2875, allocations: 4 kB / 450.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2875, allocations: 0 / 450.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002256/0.2898, allocations: 1.037 MB / 451.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.2929, allocations: 1.293 MB / 452.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2929, allocations: 4 kB / 452.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.2937, allocations: 131.8 kB / 452.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008378/0.2946, allocations: 173.5 kB / 453 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.2946, allocations: 8 kB / 453 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005548/0.3001, allocations: 3.542 MB / 456.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3002, allocations: 3.984 kB / 456.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.3031, allocations: 1.057 MB / 457.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.3035, allocations: 127.4 kB / 457.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3036, allocations: 19.94 kB / 457.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.3041, allocations: 35.95 kB / 457.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3042, allocations: 44.42 kB / 457.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3043, allocations: 15.98 kB / 457.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004696/0.3047, allocations: 358.9 kB / 458.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3047, allocations: 0 / 458.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007958/0.3055, allocations: 223.8 kB / 458.4 MB, free: 9.477 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.0001604/0.3057, allocations: 115.2 kB / 458.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.3082, allocations: 1.03 MB / 459.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3082, allocations: 4 kB / 459.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.3093, allocations: 0.5119 MB / 460.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.3101, allocations: 182.4 kB / 460.3 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3125, allocations: 1.275 MB / 461.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3128, allocations: 289.8 kB / 461.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.3131, allocations: 76.94 kB / 461.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3132, allocations: 51.38 kB / 462 MB, free: 5.809 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3132, allocations: 0 / 462 MB, free: 5.809 MB / 366.1 MB Notification: Performance of Templates: time 0.02626/0.3395, allocations: 15.42 MB / 477.4 MB, free: 6.715 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/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: 5.23382263071835]