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.001358/0.001358, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001549/0.001549, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.492/1.492, allocations: 207.6 MB / 236 MB, free: 9.969 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.002046/0.002046, allocations: 59.92 kB / 348.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005256/0.3021, allocations: 4.87 MB / 402.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.3045, allocations: 1.415 MB / 403.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.3049, allocations: 11.94 kB / 403.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.3053, allocations: 159.4 kB / 404.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006867/0.306, allocations: 348.9 kB / 404.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.3065, allocations: 220.8 kB / 404.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3076, allocations: 1.019 MB / 405.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.3079, allocations: 202.4 kB / 405.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3084, allocations: 417.4 kB / 406.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.309, allocations: 452.3 kB / 406.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3091, allocations: 87.72 kB / 406.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3093, allocations: 97.41 kB / 406.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3095, allocations: 194.8 kB / 407 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.3099, allocations: 474 kB / 407.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3111, allocations: 1.082 MB / 408.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3111, allocations: 0 / 408.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3111, allocations: 0 / 408.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3111, allocations: 1.375 kB / 408.6 MB, free: 2.652 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.00226/0.3134, allocations: 1.169 MB / 409.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3134, allocations: 17.58 kB / 409.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3136, allocations: 101.1 kB / 409.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.3144, allocations: 459.8 kB / 410.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.3145, allocations: 159.2 kB / 410.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.3146, allocations: 55.84 kB / 410.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3158, allocations: 0.7918 MB / 411.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3158, allocations: 0 / 411.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.3159, allocations: 29.66 kB / 411.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3159, allocations: 12.28 kB / 411.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.317, allocations: 0.4961 MB / 411.9 MB, free: 0.5469 MB / 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.003375/0.3204, allocations: 2.09 MB / 414 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.3218, allocations: 0.4932 MB / 414.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.3225, allocations: 231.4 kB / 414.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.99e-05/0.3225, allocations: 17.2 kB / 414.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008905/0.3234, allocations: 323.4 kB / 415 MB, free: 14.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.785e-06/0.3234, allocations: 0 / 415 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005089/0.3285, allocations: 1.325 MB / 416.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004618/0.329, allocations: 0.8225 MB / 417.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.3298, allocations: 0.5914 MB / 417.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.3299, allocations: 41.02 kB / 417.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.3302, allocations: 338.7 kB / 418.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.3304, allocations: 200.9 kB / 418.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.3306, allocations: 133.5 kB / 418.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3308, allocations: 378.7 kB / 418.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.3314, allocations: 206 kB / 419 MB, free: 11.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.3323, allocations: 0.5254 MB / 419.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3335, allocations: 0.5564 MB / 420.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3335, allocations: 0 / 420.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002321/0.3358, allocations: 0.9003 MB / 421 MB, free: 9.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.3359, allocations: 58.44 kB / 421.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3359, allocations: 2.938 kB / 421.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007709/0.3367, allocations: 226.9 kB / 421.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.3373, allocations: 118.4 kB / 421.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007063/0.3444, allocations: 4.376 MB / 425.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.3454, allocations: 92.69 kB / 425.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.3455, allocations: 24.53 kB / 425.9 MB, free: 5.785 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.0005404/0.346, allocations: 212.4 kB / 426.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.3462, allocations: 79.88 kB / 426.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.3464, allocations: 80.69 kB / 426.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3464, allocations: 9.469 kB / 426.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3464, allocations: 1.281 kB / 426.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/0.3489, allocations: 1.046 MB / 427.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.352, allocations: 1.502 MB / 428.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.352, allocations: 4 kB / 428.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/0.3527, allocations: 111.8 kB / 428.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.3533, allocations: 173.5 kB / 429.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.3533, allocations: 15.94 kB / 429.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.3588, allocations: 3.718 MB / 432.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3588, allocations: 3.984 kB / 432.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.3613, allocations: 1.022 MB / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.3617, allocations: 139.2 kB / 434 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.3618, allocations: 20 kB / 434 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.3624, allocations: 39.95 kB / 434 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.3626, allocations: 56.39 kB / 434.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.3626, allocations: 12 kB / 434.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005599/0.3631, allocations: 423.1 kB / 434.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3631, allocations: 0 / 434.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008884/0.364, allocations: 259.7 kB / 434.8 MB, free: 12.72 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.0001797/0.3642, allocations: 115.2 kB / 434.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3664, allocations: 0.9866 MB / 435.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3664, allocations: 4.062 kB / 435.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.3673, allocations: 0.5196 MB / 436.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.3683, allocations: 227.1 kB / 436.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.3713, allocations: 1.361 MB / 438 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.372, allocations: 0.916 MB / 438.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3722, allocations: 59.42 kB / 439 MB, free: 8.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3722, allocations: 0 / 439 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Templates: time 0.02696/0.3992, allocations: 16.24 MB / 455.2 MB, free: 8.113 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.083291647955775]