Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 116.8 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 212.9 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09732, allocations: 53.32 MB / 427.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.1863/0.2836, allocations: 4.857 MB / 432 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.286, allocations: 1.392 MB / 433.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.2862, allocations: 9.875 kB / 433.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.2866, allocations: 156.9 kB / 433.6 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.2871, allocations: 346 kB / 433.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.2875, allocations: 213.5 kB / 434.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.2883, allocations: 1.027 MB / 435.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.2886, allocations: 198 kB / 435.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.289, allocations: 414.5 kB / 435.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.2895, allocations: 451.1 kB / 436.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.2896, allocations: 87.84 kB / 436.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.2897, allocations: 91.03 kB / 436.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2899, allocations: 191.9 kB / 436.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.2903, allocations: 481.8 kB / 437 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.2914, allocations: 1.082 MB / 438.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2914, allocations: 0 / 438.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2914, allocations: 1.062 kB / 438.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2914, allocations: 0.5156 kB / 438.1 MB, free: 6.797 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002392/0.2938, allocations: 1.242 MB / 439.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.2939, allocations: 9.938 kB / 439.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.2941, allocations: 105.3 kB / 439.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.295, allocations: 0.5178 MB / 440 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.2951, allocations: 101.1 kB / 440.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2952, allocations: 54.22 kB / 440.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2966, allocations: 0.8004 MB / 440.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2966, allocations: 1.094 kB / 440.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.2967, allocations: 28.84 kB / 440.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.2967, allocations: 12.06 kB / 440.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.298, allocations: 0.5046 MB / 441.5 MB, free: 4.68 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.003447/0.3014, allocations: 2.145 MB / 443.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3029, allocations: 0.4919 MB / 444.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.3035, allocations: 238.4 kB / 444.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/0.3036, allocations: 16.38 kB / 444.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.3043, allocations: 318.2 kB / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.665e-06/0.3043, allocations: 3.938 kB / 444.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005049/0.3094, allocations: 1.481 MB / 446.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.3096, allocations: 0.8264 MB / 447 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.3103, allocations: 0.588 MB / 447.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.3104, allocations: 40.52 kB / 447.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3106, allocations: 342.3 kB / 447.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.3108, allocations: 194.8 kB / 448.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.311, allocations: 131.6 kB / 448.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3111, allocations: 388.3 kB / 448.6 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.3117, allocations: 207.8 kB / 448.8 MB, free: 76 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.3127, allocations: 0.522 MB / 449.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.314, allocations: 0.5589 MB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.314, allocations: 1.281 kB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002361/0.3163, allocations: 0.892 MB / 450.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.3164, allocations: 64.27 kB / 450.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3164, allocations: 2.984 kB / 450.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007886/0.3172, allocations: 227.7 kB / 451.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.3179, allocations: 114.1 kB / 451.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/0.325, allocations: 4.602 MB / 455.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.326, allocations: 85.52 kB / 455.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.3261, allocations: 22.66 kB / 455.9 MB, free: 11.07 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.0004332/0.3265, allocations: 216.3 kB / 456.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3266, allocations: 82.66 kB / 456.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3268, allocations: 78 kB / 456.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3268, allocations: 10.23 kB / 456.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.3268, allocations: 1.375 kB / 456.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/0.3291, allocations: 1.046 MB / 457.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.3321, allocations: 1.527 MB / 458.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3321, allocations: 1.938 kB / 458.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.3327, allocations: 106.5 kB / 459 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006199/0.3333, allocations: 178.8 kB / 459.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.3334, allocations: 14.61 kB / 459.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.339, allocations: 3.936 MB / 463.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.339, allocations: 0 / 463.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.3415, allocations: 1.021 MB / 464.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.342, allocations: 225.5 kB / 464.3 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3421, allocations: 14.53 kB / 464.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.3427, allocations: 46.84 kB / 464.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3428, allocations: 53.28 kB / 464.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.3429, allocations: 19.22 kB / 464.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005782/0.3435, allocations: 420.7 kB / 464.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3435, allocations: 0 / 464.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008876/0.3443, allocations: 252.9 kB / 465.1 MB, free: 4.418 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.000176/0.3445, allocations: 113.8 kB / 465.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3467, allocations: 0.9969 MB / 466.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3467, allocations: 2.562 kB / 466.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3477, allocations: 0.5217 MB / 466.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.3487, allocations: 217.2 kB / 467 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.3515, allocations: 1.306 MB / 468.3 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.352, allocations: 0.9184 MB / 469.2 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.3524, allocations: 83.16 kB / 469.3 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3525, allocations: 62.23 kB / 469.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3525, allocations: 0 / 469.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of Templates: time 0.02786/0.3804, allocations: 16.49 MB / 485.8 MB, free: 4.305 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.119517358019948]