Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001304/0.001304, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.00138/0.00138, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.466/1.466, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 47.94 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09874, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00621/0.1049, allocations: 4.868 MB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1077, allocations: 1.406 MB / 433.8 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.1081, allocations: 11.94 kB / 433.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.1086, allocations: 150.7 kB / 433.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007919/0.1093, allocations: 341.4 kB / 434.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.1098, allocations: 223.6 kB / 434.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.111, allocations: 1.015 MB / 435.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.1113, allocations: 202 kB / 435.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.1119, allocations: 430.5 kB / 436.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.1125, allocations: 450.1 kB / 436.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1126, allocations: 88 kB / 436.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1128, allocations: 88 kB / 436.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.1129, allocations: 195.3 kB / 436.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004459/0.1134, allocations: 477.8 kB / 437.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1145, allocations: 1.074 MB / 438.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1145, allocations: 8 kB / 438.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1145, allocations: 0 / 438.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1145, allocations: 0 / 438.4 MB, free: 9.273 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002378/0.1169, allocations: 1.239 MB / 439.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1169, allocations: 8.031 kB / 439.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.1171, allocations: 108.3 kB / 439.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.118, allocations: 0.5242 MB / 440.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.1182, allocations: 101.3 kB / 440.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.1183, allocations: 60.25 kB / 440.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1197, allocations: 0.7927 MB / 441.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1197, allocations: 0 / 441.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.1198, allocations: 24 kB / 441.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1198, allocations: 12 kB / 441.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.1211, allocations: 0.4997 MB / 441.8 MB, free: 5.691 MB / 366.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.003589/0.1247, allocations: 2.147 MB / 444 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.126, allocations: 494.7 kB / 444.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.1267, allocations: 242.3 kB / 444.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.1267, allocations: 12.78 kB / 444.7 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000778/0.1275, allocations: 323 kB / 445 MB, free: 2.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.795e-06/0.1275, allocations: 0 / 445 MB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.005385/0.1329, allocations: 1.482 MB / 446.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.199/0.3319, allocations: 0.82 MB / 447.3 MB, free: 24.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3329, allocations: 0.5862 MB / 447.9 MB, free: 24.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.3331, allocations: 39.67 kB / 447.9 MB, free: 24.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.3334, allocations: 341.5 kB / 448.3 MB, free: 24.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.3336, allocations: 198.8 kB / 448.5 MB, free: 24.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.3339, allocations: 131.7 kB / 448.6 MB, free: 24.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.334, allocations: 378 kB / 449 MB, free: 24.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.3346, allocations: 214.3 kB / 449.2 MB, free: 24.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.3354, allocations: 0.5206 MB / 449.7 MB, free: 23.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3366, allocations: 0.5598 MB / 450.2 MB, free: 23.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3366, allocations: 5.031 kB / 450.2 MB, free: 23.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00237/0.339, allocations: 0.8923 MB / 451.1 MB, free: 23.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.339, allocations: 63.97 kB / 451.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.339, allocations: 2.406 kB / 451.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/0.3398, allocations: 225.5 kB / 451.4 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.3405, allocations: 117.1 kB / 451.5 MB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/0.3468, allocations: 4.586 MB / 456.1 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009303/0.3477, allocations: 90.14 kB / 456.2 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.3478, allocations: 21.42 kB / 456.2 MB, free: 19.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004339/0.3483, allocations: 219.6 kB / 456.4 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.3485, allocations: 83.2 kB / 456.5 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.3487, allocations: 81.33 kB / 456.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3487, allocations: 5.844 kB / 456.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3487, allocations: 8.688 kB / 456.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/0.3508, allocations: 1.041 MB / 457.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.3539, allocations: 1.528 MB / 459.2 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3539, allocations: 0.7969 kB / 459.2 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.3546, allocations: 110.8 kB / 459.3 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006387/0.3552, allocations: 168.5 kB / 459.5 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.3553, allocations: 19.06 kB / 459.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/0.36, allocations: 3.94 MB / 463.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.36, allocations: 6.031 kB / 463.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.3624, allocations: 1.024 MB / 464.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.3628, allocations: 218.4 kB / 464.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.363, allocations: 17.66 kB / 464.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.3637, allocations: 43.28 kB / 464.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.3639, allocations: 56.64 kB / 464.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.3639, allocations: 16.48 kB / 464.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.3645, allocations: 419.6 kB / 465.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3645, allocations: 0 / 465.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009805/0.3655, allocations: 250 kB / 465.5 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.3656, allocations: 116.9 kB / 465.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.3679, allocations: 1.001 MB / 466.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.3679, allocations: 2.156 kB / 466.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3689, allocations: 0.5198 MB / 467.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.37, allocations: 212.7 kB / 467.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3729, allocations: 1.344 MB / 468.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.3733, allocations: 0.9139 MB / 469.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.3735, allocations: 59.53 kB / 469.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3735, allocations: 0 / 469.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Templates: time 0.02283/0.3964, allocations: 16.25 MB / 485.9 MB, free: 3.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.098291707021417]