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.001377/0.001377, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001446/0.001446, allocations: 161.9 kB / 25.33 MB, free: 8.59 MB / 18.57 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 0.9235/0.9235, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.938 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.416e-05, allocations: 2.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004543/0.004567, allocations: 4.847 MB / 255.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.00698, allocations: 1.391 MB / 257.3 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/0.00735, allocations: 11.94 kB / 257.3 MB, free: 1.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.007725, allocations: 150.7 kB / 257.4 MB, free: 1.082 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.008466, allocations: 361.1 kB / 257.8 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.00899, allocations: 219.5 kB / 258 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.01006, allocations: 1.065 MB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.01036, allocations: 202.3 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008303/0.01119, allocations: 0.6004 MB / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.01165, allocations: 331.1 kB / 260.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.01176, allocations: 88 kB / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.0119, allocations: 91.94 kB / 260.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.01202, allocations: 199.3 kB / 260.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.01232, allocations: 339.3 kB / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.01311, allocations: 0.7084 MB / 261.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.01312, allocations: 4 kB / 261.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01312, allocations: 0 / 261.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.01314, allocations: 4 kB / 261.6 MB, free: 12.89 MB / 250.7 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.001571/0.01471, allocations: 1.268 MB / 262.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.01476, allocations: 11.98 kB / 262.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.01496, allocations: 148.4 kB / 263 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.01558, allocations: 453.1 kB / 263.5 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.01571, allocations: 148.7 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.0158, allocations: 64.38 kB / 263.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.01683, allocations: 1.491 MB / 265.2 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.01685, allocations: 192 / 265.2 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.01689, allocations: 32.12 kB / 265.2 MB, free: 8.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.01691, allocations: 12 kB / 265.2 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.01736, allocations: 261.7 kB / 265.5 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.01965, allocations: 1.708 MB / 267.2 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.0202, allocations: 307.4 kB / 267.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.02039, allocations: 133.1 kB / 267.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.02043, allocations: 16.48 kB / 267.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/0.02078, allocations: 232.3 kB / 267.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 3.817e-06/0.02079, allocations: 0 / 267.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.002233/0.02302, allocations: 0.9951 MB / 268.8 MB, free: 5.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002933/0.02331, allocations: 0.8309 MB / 269.7 MB, free: 4.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.02385, allocations: 0.569 MB / 270.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.0239, allocations: 41.7 kB / 270.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.02421, allocations: 403.8 kB / 270.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.02434, allocations: 198.3 kB / 270.9 MB, free: 2.824 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.02449, allocations: 135.9 kB / 271 MB, free: 2.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.02467, allocations: 0.5547 MB / 271.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.02489, allocations: 152.6 kB / 271.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.02567, allocations: 1.31 MB / 273 MB, free: 288 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.02612, allocations: 394.2 kB / 273.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.02612, allocations: 4 kB / 273.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001026/0.02715, allocations: 0.7178 MB / 274.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.02721, allocations: 59.41 kB / 274.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.02722, allocations: 4 kB / 274.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.02762, allocations: 175.1 kB / 274.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.02792, allocations: 103.9 kB / 274.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/0.03203, allocations: 4.703 MB / 279.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.03247, allocations: 67.66 kB / 279.2 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.03251, allocations: 32.09 kB / 279.3 MB, free: 9.684 MB / 266.7 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.0002384/0.03274, allocations: 212.3 kB / 279.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.03285, allocations: 99.53 kB / 279.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.03294, allocations: 70.56 kB / 279.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.03294, allocations: 4 kB / 279.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.03295, allocations: 4 kB / 279.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008433/0.03379, allocations: 0.8397 MB / 280.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.03519, allocations: 1.169 MB / 281.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.03519, allocations: 4 kB / 281.7 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.03548, allocations: 95.88 kB / 281.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.03573, allocations: 123.2 kB / 281.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.03577, allocations: 15.98 kB / 281.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.03874, allocations: 4.316 MB / 286.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03874, allocations: 3.938 kB / 286.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.03965, allocations: 0.7276 MB / 286.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.03988, allocations: 135.3 kB / 287.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.03994, allocations: 20 kB / 287.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.04032, allocations: 31.97 kB / 287.1 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.04049, allocations: 56.39 kB / 287.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.04053, allocations: 19.98 kB / 287.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004586/0.04099, allocations: 374.7 kB / 287.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04099, allocations: 0 / 287.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008271/0.04182, allocations: 259.7 kB / 287.8 MB, free: 0.668 MB / 266.7 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.0001367/0.04195, allocations: 119.2 kB / 287.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.04308, allocations: 0.9839 MB / 288.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.04308, allocations: 0 / 288.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.04356, allocations: 0.5692 MB / 289.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.04413, allocations: 211.6 kB / 289.7 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.04667, allocations: 1.24 MB / 290.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.04679, allocations: 148.5 kB / 291.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.04704, allocations: 85.06 kB / 291.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.04714, allocations: 56.48 kB / 291.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.873e-06/0.04715, allocations: 0 / 291.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of Templates: time 0.02141/0.06856, allocations: 16.89 MB / 308.1 MB, free: 12.21 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3376749637536705]