Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001701/0.001701, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 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.002021/0.002021, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 51.92 kB / 374.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 53.34 MB / 427.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.1991/0.3043, allocations: 4.396 MB / 431.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.3067, allocations: 1.25 MB / 433.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.3071, allocations: 11.25 kB / 433.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3075, allocations: 137.7 kB / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.308, allocations: 266.5 kB / 433.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.3085, allocations: 204.2 kB / 433.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000849/0.3093, allocations: 0.9274 MB / 434.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.3096, allocations: 169.2 kB / 434.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.3101, allocations: 374.9 kB / 435.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.3105, allocations: 403.9 kB / 435.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3106, allocations: 75.97 kB / 435.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3108, allocations: 82.91 kB / 435.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3109, allocations: 173.4 kB / 435.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.3112, allocations: 420.3 kB / 436.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3122, allocations: 0.9292 MB / 437.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3122, allocations: 0 / 437.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3122, allocations: 3.938 kB / 437.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.3123, allocations: 0 / 437.2 MB, free: 7.105 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.002024/0.3143, allocations: 1.134 MB / 438.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.3143, allocations: 10.61 kB / 438.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.3146, allocations: 91.94 kB / 438.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.3153, allocations: 491.3 kB / 439 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.3154, allocations: 92.94 kB / 439.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.3155, allocations: 57.86 kB / 439.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3166, allocations: 0.6451 MB / 439.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.3166, allocations: 8.25 kB / 439.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.3167, allocations: 22.69 kB / 439.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3167, allocations: 10.38 kB / 439.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3178, allocations: 445.5 kB / 440.2 MB, free: 5.246 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.003014/0.3208, allocations: 1.953 MB / 442.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.3227, allocations: 0.6586 MB / 442.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.3233, allocations: 236 kB / 443.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.3233, allocations: 16.09 kB / 443.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3233, allocations: 44.34 kB / 443.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.415e-06/0.3233, allocations: 0 / 443.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005198/0.3285, allocations: 1.477 MB / 444.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.3286, allocations: 0.563 MB / 445.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.3293, allocations: 0.5393 MB / 445.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.3294, allocations: 39.42 kB / 445.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3296, allocations: 284.4 kB / 446 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3297, allocations: 202.4 kB / 446.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.3299, allocations: 112.7 kB / 446.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.33, allocations: 373.6 kB / 446.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.3305, allocations: 190 kB / 446.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.3312, allocations: 422.5 kB / 447.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3322, allocations: 488.5 kB / 447.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3322, allocations: 0 / 447.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002389/0.3346, allocations: 0.8058 MB / 448.6 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.3346, allocations: 32.97 kB / 448.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.3346, allocations: 1.188 kB / 448.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3357, allocations: 223.7 kB / 448.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.3364, allocations: 129.5 kB / 449 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008739/0.3452, allocations: 5.61 MB / 454.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.3462, allocations: 81.03 kB / 454.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.3462, allocations: 18 kB / 454.7 MB, free: 11.15 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.0004021/0.3466, allocations: 198.8 kB / 454.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3468, allocations: 73.23 kB / 454.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.3494, allocations: 0.7658 MB / 455.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3494, allocations: 6.625 kB / 455.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3494, allocations: 1.188 kB / 455.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002412/0.3518, allocations: 1.042 MB / 456.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.3555, allocations: 1.488 MB / 458.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.3555, allocations: 3.938 kB / 458.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.3563, allocations: 128.2 kB / 458.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008664/0.3572, allocations: 182.6 kB / 458.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.3572, allocations: 11.75 kB / 458.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.3631, allocations: 3.801 MB / 462.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3631, allocations: 5.469 kB / 462.4 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.3663, allocations: 1.077 MB / 463.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.3668, allocations: 202.5 kB / 463.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3669, allocations: 16.84 kB / 463.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.3674, allocations: 37.91 kB / 463.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3676, allocations: 43.36 kB / 463.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.3676, allocations: 17.19 kB / 463.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005444/0.3681, allocations: 386.5 kB / 464.1 MB, free: 4.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3681, allocations: 0 / 464.1 MB, free: 4.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008292/0.369, allocations: 217.4 kB / 464.3 MB, free: 4.574 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.000188/0.3692, allocations: 125.8 kB / 464.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.3719, allocations: 1.002 MB / 465.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3719, allocations: 2.781 kB / 465.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.373, allocations: 0.5211 MB / 466 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.374, allocations: 189.2 kB / 466.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3766, allocations: 1.326 MB / 467.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.3772, allocations: 0.8857 MB / 468.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.3774, allocations: 55.17 kB / 468.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3774, allocations: 0 / 468.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of Templates: time 0.0232/0.4006, allocations: 15.49 MB / 483.9 MB, free: 5.887 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.497876153996913]