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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 102.5 kB / 19.61 MB, free: 2.559 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 195.2 kB / 22.76 MB, free: 5.621 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 251.4 MB, free: 13.54 MB / 206.1 MB [Timeout remaining time 88] 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.001539/0.001539, allocations: 44.06 kB / 369.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2998, allocations: 52.15 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00586/0.3056, allocations: 4.397 MB / 425.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.308, allocations: 1.215 MB / 426.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.3083, allocations: 11.94 kB / 426.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.3087, allocations: 134.8 kB / 427 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.3093, allocations: 273.8 kB / 427.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.3098, allocations: 199.6 kB / 427.5 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.3109, allocations: 0.9219 MB / 428.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.3112, allocations: 162.2 kB / 428.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.3117, allocations: 370.6 kB / 428.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.3122, allocations: 402.3 kB / 429.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.3124, allocations: 80 kB / 429.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3125, allocations: 76 kB / 429.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.3127, allocations: 175.4 kB / 429.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.3131, allocations: 410.2 kB / 430.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3141, allocations: 0.9334 MB / 431 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3142, allocations: 3.984 kB / 431 MB, free: 5.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3142, allocations: 0 / 431 MB, free: 5.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3142, allocations: 0 / 431 MB, free: 5.422 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.002185/0.3164, allocations: 1.128 MB / 432.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3164, allocations: 8.031 kB / 432.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3166, allocations: 96.42 kB / 432.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.3173, allocations: 493 kB / 432.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.3175, allocations: 96.95 kB / 432.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3176, allocations: 48.33 kB / 432.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.3188, allocations: 0.6516 MB / 433.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3188, allocations: 4 kB / 433.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.3189, allocations: 20 kB / 433.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3189, allocations: 15.98 kB / 433.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.32, allocations: 447.7 kB / 434 MB, free: 2.254 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.003369/0.3234, allocations: 1.952 MB / 435.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.3253, allocations: 0.66 MB / 436.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.3259, allocations: 230 kB / 436.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.3259, allocations: 16.98 kB / 436.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.326, allocations: 50.94 kB / 436.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.064e-06/0.326, allocations: 4 kB / 436.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005195/0.3312, allocations: 1.468 MB / 438.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003489/0.3315, allocations: 0.5643 MB / 438.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.3323, allocations: 0.5343 MB / 439.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.566e-05/0.3323, allocations: 41.7 kB / 439.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3326, allocations: 293.1 kB / 439.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.3328, allocations: 194.3 kB / 440 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.333, allocations: 114.1 kB / 440.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.3332, allocations: 378.8 kB / 440.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.3338, allocations: 196.9 kB / 440.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.3345, allocations: 412.3 kB / 441 MB, free: 10.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3356, allocations: 492.5 kB / 441.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3356, allocations: 0 / 441.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00239/0.338, allocations: 0.8109 MB / 442.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.3381, allocations: 33.7 kB / 442.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3381, allocations: 3.938 kB / 442.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3391, allocations: 222.4 kB / 442.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.3398, allocations: 123.8 kB / 442.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.3481, allocations: 5.614 MB / 448.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.3488, allocations: 67.75 kB / 448.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.3489, allocations: 19.98 kB / 448.4 MB, free: 2.855 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.0003586/0.3492, allocations: 208.6 kB / 448.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3494, allocations: 79.53 kB / 448.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.3517, allocations: 0.7695 MB / 449.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3517, allocations: 4.188 kB / 449.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3517, allocations: 0 / 449.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/0.354, allocations: 1.042 MB / 450.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.3575, allocations: 1.486 MB / 452 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.3576, allocations: 7.922 kB / 452 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.3583, allocations: 127.8 kB / 452.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/0.3592, allocations: 173.6 kB / 452.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.3592, allocations: 15.92 kB / 452.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.3649, allocations: 3.799 MB / 456.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3649, allocations: 3.938 kB / 456.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.3678, allocations: 1.059 MB / 457.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.3682, allocations: 208.5 kB / 457.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3683, allocations: 15.98 kB / 457.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.3688, allocations: 43.97 kB / 457.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3689, allocations: 36.5 kB / 457.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.3689, allocations: 23.92 kB / 457.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005372/0.3695, allocations: 386.8 kB / 457.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3695, allocations: 0 / 457.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008123/0.3703, allocations: 219.8 kB / 458.1 MB, free: 8.645 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.0001966/0.3705, allocations: 116 kB / 458.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.3729, allocations: 1.01 MB / 459.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3729, allocations: 0 / 459.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3739, allocations: 0.5202 MB / 459.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.3747, allocations: 190.5 kB / 459.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3771, allocations: 1.32 MB / 461.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.3776, allocations: 0.8879 MB / 462.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3778, allocations: 51.42 kB / 462.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3778, allocations: 0 / 462.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of Templates: time 0.02195/0.3997, allocations: 15.49 MB / 477.7 MB, free: 5 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