Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001552/0.001552, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 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.00185/0.00185, allocations: 218.8 kB / 24.48 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 59.92 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3214, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004921/0.3263, allocations: 3.95 MB / 400.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.3288, allocations: 1.209 MB / 402 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.3294, allocations: 15.09 kB / 402 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.3299, allocations: 135.7 kB / 402.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.3306, allocations: 268.3 kB / 402.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.3312, allocations: 192 kB / 402.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3322, allocations: 0.9303 MB / 403.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.3325, allocations: 161.9 kB / 403.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005862/0.3331, allocations: 382 kB / 404.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.3337, allocations: 345.7 kB / 404.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3338, allocations: 75.78 kB / 404.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.334, allocations: 78.16 kB / 404.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3342, allocations: 173.6 kB / 404.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.3346, allocations: 354.6 kB / 405.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.3359, allocations: 0.9271 MB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.3359, allocations: 4 kB / 406 MB, free: 3.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3359, allocations: 0 / 406 MB, free: 3.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3359, allocations: 0 / 406 MB, free: 3.961 MB / 318.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.002294/0.3382, allocations: 1.06 MB / 407.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.3383, allocations: 17.64 kB / 407.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.3385, allocations: 90.23 kB / 407.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.3393, allocations: 425.5 kB / 407.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.3395, allocations: 149.1 kB / 407.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/0.3396, allocations: 44.17 kB / 407.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3409, allocations: 1.161 MB / 408.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.3409, allocations: 5.328 kB / 408.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.341, allocations: 21.5 kB / 409 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.341, allocations: 11 kB / 409 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.3421, allocations: 446.1 kB / 409.4 MB, free: 1.543 MB / 318.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.003042/0.3452, allocations: 1.476 MB / 410.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.347, allocations: 0.5766 MB / 411.4 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.3476, allocations: 240.3 kB / 411.7 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.3476, allocations: 11.72 kB / 411.7 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.3477, allocations: 44.25 kB / 411.7 MB, free: 84 kB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.405e-06/0.3477, allocations: 0 / 411.7 MB, free: 84 kB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.005098/0.3528, allocations: 1.246 MB / 413 MB, free: 15.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003918/0.3531, allocations: 0.5649 MB / 413.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.354, allocations: 0.4944 MB / 414 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/0.3541, allocations: 39.52 kB / 414.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.3544, allocations: 295 kB / 414.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.3546, allocations: 200.8 kB / 414.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3548, allocations: 114 kB / 414.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.355, allocations: 367.1 kB / 415 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.3556, allocations: 224.4 kB / 415.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3568, allocations: 0.962 MB / 416.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3579, allocations: 493.2 kB / 416.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3579, allocations: 0 / 416.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002632/0.3605, allocations: 0.821 MB / 417.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.3606, allocations: 40.28 kB / 417.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3606, allocations: 1.031 kB / 417.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.3617, allocations: 217.5 kB / 417.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.3624, allocations: 136.8 kB / 417.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.3704, allocations: 5.186 MB / 423.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008861/0.3713, allocations: 71.38 kB / 423.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.3713, allocations: 17.47 kB / 423.2 MB, free: 6.707 MB / 334.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.0003722/0.3717, allocations: 189.9 kB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.3718, allocations: 74.11 kB / 423.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.3742, allocations: 0.7683 MB / 424.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.3742, allocations: 5.219 kB / 424.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.3742, allocations: 0 / 424.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002261/0.3764, allocations: 1.033 MB / 425.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.3797, allocations: 1.298 MB / 426.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3797, allocations: 0 / 426.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.3805, allocations: 131.8 kB / 426.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008569/0.3814, allocations: 177.7 kB / 426.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.3814, allocations: 12 kB / 426.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005587/0.387, allocations: 3.527 MB / 430.4 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.387, allocations: 4.031 kB / 430.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.39, allocations: 1.057 MB / 431.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.3904, allocations: 127.5 kB / 431.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3905, allocations: 15.94 kB / 431.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.391, allocations: 31.97 kB / 431.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3912, allocations: 48.41 kB / 431.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.3912, allocations: 19.98 kB / 431.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.3917, allocations: 362.8 kB / 432 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3917, allocations: 0 / 432 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000822/0.3925, allocations: 227.7 kB / 432.3 MB, free: 14.2 MB / 350.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.000169/0.3927, allocations: 107.2 kB / 432.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.3952, allocations: 1.042 MB / 433.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3952, allocations: 0 / 433.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3963, allocations: 0.5078 MB / 433.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008503/0.3971, allocations: 183.8 kB / 434.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.3996, allocations: 1.291 MB / 435.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3999, allocations: 293.8 kB / 435.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.4003, allocations: 76.88 kB / 435.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4004, allocations: 59.42 kB / 435.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4004, allocations: 0 / 435.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Templates: time 0.02776/0.4282, allocations: 15.4 MB / 451.2 MB, free: 11.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.429751895368099]