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.001327/0.001327, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002478/0.002478, allocations: 211.6 kB / 23.73 MB, free: 4.531 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001537/0.001537, allocations: 43.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2462, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006167/0.2524, allocations: 3.972 MB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.2549, allocations: 1.191 MB / 436.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.2552, allocations: 15.94 kB / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.2557, allocations: 130.9 kB / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006739/0.2564, allocations: 273.7 kB / 437.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.2569, allocations: 195.6 kB / 437.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.258, allocations: 0.9297 MB / 438.3 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.2584, allocations: 169.1 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.259, allocations: 386.6 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.2595, allocations: 402.4 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2596, allocations: 76 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2598, allocations: 87.94 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.26, allocations: 163.5 kB / 439.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.2603, allocations: 350.5 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2614, allocations: 0.9402 MB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2614, allocations: 0 / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2614, allocations: 0 / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2614, allocations: 0 / 440.8 MB, free: 13.45 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.002037/0.2634, allocations: 1.061 MB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2634, allocations: 12.03 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.2637, allocations: 96.41 kB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.2645, allocations: 419.3 kB / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.2647, allocations: 152.4 kB / 442.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.2648, allocations: 44.38 kB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.2663, allocations: 1.165 MB / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.2663, allocations: 0 / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.2664, allocations: 24 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.2664, allocations: 11.98 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2675, allocations: 447.7 kB / 444.2 MB, free: 9.758 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.003013/0.2705, allocations: 1.475 MB / 445.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.2724, allocations: 0.5782 MB / 446.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.2729, allocations: 234 kB / 446.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.273, allocations: 12.38 kB / 446.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.273, allocations: 43 kB / 446.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.144e-06/0.273, allocations: 0 / 446.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004893/0.2779, allocations: 1.246 MB / 447.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003245/0.2782, allocations: 0.5722 MB / 448.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.2789, allocations: 0.4911 MB / 448.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.2789, allocations: 41.7 kB / 448.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.2792, allocations: 293.6 kB / 449.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.2794, allocations: 198.3 kB / 449.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.2796, allocations: 110.3 kB / 449.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2798, allocations: 366.8 kB / 449.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.2803, allocations: 222.9 kB / 450.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.2814, allocations: 0.9674 MB / 451 MB, free: 2.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.2825, allocations: 491.5 kB / 451.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2825, allocations: 0 / 451.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002374/0.2849, allocations: 0.8385 MB / 452.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.2849, allocations: 36.5 kB / 452.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.285, allocations: 4 kB / 452.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/0.2859, allocations: 214.4 kB / 452.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.2867, allocations: 131.8 kB / 452.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007828/0.2945, allocations: 5.185 MB / 457.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.2953, allocations: 79.89 kB / 458 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.2953, allocations: 16 kB / 458 MB, free: 11.1 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.0003003/0.2956, allocations: 189.7 kB / 458.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2957, allocations: 71.56 kB / 458.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.298, allocations: 0.7715 MB / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.298, allocations: 4 kB / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.298, allocations: 0 / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002331/0.3004, allocations: 1.033 MB / 460.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.3035, allocations: 1.301 MB / 461.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3035, allocations: 4 kB / 461.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007479/0.3043, allocations: 132 kB / 461.5 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008035/0.3051, allocations: 177.5 kB / 461.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.3051, allocations: 12 kB / 461.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/0.3105, allocations: 3.511 MB / 465.2 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3105, allocations: 7.938 kB / 465.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.3134, allocations: 1.058 MB / 466.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.3137, allocations: 131.6 kB / 466.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.3138, allocations: 19.88 kB / 466.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.3143, allocations: 31.97 kB / 466.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3144, allocations: 56.39 kB / 466.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.3144, allocations: 15.98 kB / 466.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004475/0.3149, allocations: 354.9 kB / 466.9 MB, free: 1.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3149, allocations: 0 / 466.9 MB, free: 1.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.3156, allocations: 227.8 kB / 467.1 MB, free: 1.605 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.00016/0.3158, allocations: 111.2 kB / 467.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.3183, allocations: 1.038 MB / 468.2 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3183, allocations: 0 / 468.2 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3193, allocations: 0.5079 MB / 468.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.3201, allocations: 176.5 kB / 468.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3224, allocations: 1.299 MB / 470.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3227, allocations: 289.8 kB / 470.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.3229, allocations: 80.92 kB / 470.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3231, allocations: 55.42 kB / 470.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3231, allocations: 3.938 kB / 470.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.02524/0.3483, allocations: 15.54 MB / 486.2 MB, free: 14.69 MB / 398.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/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_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: 5.087335178628564]