Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001752/0.001752, allocations: 101 kB / 21.93 MB, free: 5.195 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.001996/0.001996, allocations: 203.2 kB / 25.22 MB, free: 3.145 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.463/1.463, allocations: 207.7 MB / 236.1 MB, free: 9.781 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [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.002059/0.002059, allocations: 58.58 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2974, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005684/0.3031, allocations: 4.356 MB / 402 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.3058, allocations: 1.343 MB / 403.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.3062, allocations: 11.31 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.3066, allocations: 151.4 kB / 403.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007996/0.3074, allocations: 349.6 kB / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.3081, allocations: 219 kB / 404 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.3092, allocations: 1.023 MB / 405 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.3096, allocations: 196 kB / 405.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.3102, allocations: 417.9 kB / 405.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.3108, allocations: 391.3 kB / 406 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.3109, allocations: 88.09 kB / 406.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3111, allocations: 93.69 kB / 406.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3113, allocations: 200 kB / 406.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.3117, allocations: 396.9 kB / 406.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3129, allocations: 1.088 MB / 407.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3129, allocations: 0 / 407.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3129, allocations: 0 / 407.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.313, allocations: 0 / 407.9 MB, free: 3.316 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002324/0.3153, allocations: 1.168 MB / 409 MB, free: 2.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3153, allocations: 13.58 kB / 409 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.3155, allocations: 105.2 kB / 409.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.3165, allocations: 475.8 kB / 409.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.3166, allocations: 151 kB / 409.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.3168, allocations: 51.36 kB / 409.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.3184, allocations: 1.553 MB / 411.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.3184, allocations: 4 kB / 411.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.3185, allocations: 23.91 kB / 411.4 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.3185, allocations: 12.06 kB / 411.4 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3196, allocations: 0.4935 MB / 411.9 MB, free: 248 kB / 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.003496/0.3231, allocations: 1.68 MB / 413.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.3245, allocations: 0.4891 MB / 414.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.325, allocations: 227.7 kB / 414.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.3251, allocations: 12.38 kB / 414.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/0.3258, allocations: 327.3 kB / 414.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.555e-06/0.3258, allocations: 0 / 414.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005064/0.3309, allocations: 1.317 MB / 415.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004814/0.3314, allocations: 0.8223 MB / 416.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.3323, allocations: 0.5556 MB / 417.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.3324, allocations: 44.83 kB / 417.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.3328, allocations: 351.3 kB / 417.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.333, allocations: 197.5 kB / 417.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.3333, allocations: 133.5 kB / 418 MB, free: 11.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.3335, allocations: 374.7 kB / 418.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.3341, allocations: 267.2 kB / 418.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.3356, allocations: 1.332 MB / 420 MB, free: 9.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.337, allocations: 0.5662 MB / 420.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.337, allocations: 1.25 kB / 420.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002742/0.3397, allocations: 0.9426 MB / 421.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.3398, allocations: 62.97 kB / 421.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3398, allocations: 2.188 kB / 421.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007753/0.3406, allocations: 219.5 kB / 421.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.3412, allocations: 119.5 kB / 421.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.3485, allocations: 4.278 MB / 426.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3496, allocations: 88.2 kB / 426.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.3497, allocations: 36.39 kB / 426.3 MB, free: 4.922 MB / 334.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.0005039/0.3502, allocations: 204.5 kB / 426.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.3503, allocations: 76.14 kB / 426.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3505, allocations: 75.19 kB / 426.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3505, allocations: 8.953 kB / 426.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3505, allocations: 1.125 kB / 426.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002216/0.3527, allocations: 1.054 MB / 427.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.3556, allocations: 1.316 MB / 429 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3556, allocations: 3.938 kB / 429 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.3562, allocations: 99.92 kB / 429.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005609/0.3568, allocations: 177.5 kB / 429.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.3568, allocations: 8.188 kB / 429.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.362, allocations: 3.652 MB / 432.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3621, allocations: 128 / 432.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.3646, allocations: 1.022 MB / 434 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/0.3651, allocations: 139.3 kB / 434.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.3653, allocations: 15.98 kB / 434.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.3659, allocations: 43.95 kB / 434.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.3661, allocations: 52.41 kB / 434.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.3661, allocations: 19.98 kB / 434.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006103/0.3667, allocations: 386.8 kB / 434.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3667, allocations: 0 / 434.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3678, allocations: 259.8 kB / 434.9 MB, free: 12.13 MB / 350.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.000208/0.368, allocations: 111.2 kB / 435 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3702, allocations: 1.048 MB / 436 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.3703, allocations: 4 kB / 436 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.3713, allocations: 0.52 MB / 436.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3723, allocations: 215.2 kB / 436.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.3751, allocations: 1.349 MB / 438.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3755, allocations: 319.9 kB / 438.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.3757, allocations: 59.42 kB / 438.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3757, allocations: 0 / 438.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Templates: time 0.02376/0.3995, allocations: 16.42 MB / 454.9 MB, free: 7.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.17553271073848]