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.0008177/0.0008177, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003051/0.003051, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8156/0.8156, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.609e-05, allocations: 6.281 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005508/0.005534, allocations: 4.388 MB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.008076, allocations: 1.332 MB / 331.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.008356, allocations: 15.88 kB / 331.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.008731, allocations: 154.6 kB / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.009238, allocations: 357.2 kB / 332.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.00953, allocations: 215.5 kB / 332.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.01022, allocations: 1.078 MB / 333.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.01046, allocations: 194.4 kB / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.01097, allocations: 0.608 MB / 334.1 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.01125, allocations: 331.1 kB / 334.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.01133, allocations: 88 kB / 334.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.0114, allocations: 88 kB / 334.6 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.0115, allocations: 203.3 kB / 334.8 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.01171, allocations: 335.3 kB / 335.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.01245, allocations: 1.125 MB / 336.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01245, allocations: 4 kB / 336.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.01245, allocations: 0 / 336.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.01247, allocations: 0 / 336.3 MB, free: 4.781 MB / 298.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.001395/0.01386, allocations: 1.163 MB / 337.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.0139, allocations: 12.02 kB / 337.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.01403, allocations: 104.3 kB / 337.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/0.01487, allocations: 470.2 kB / 338 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.01501, allocations: 152.7 kB / 338.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.01507, allocations: 52.36 kB / 338.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009927/0.01606, allocations: 1.55 MB / 339.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01608, allocations: 192 / 339.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.01612, allocations: 28.12 kB / 339.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01613, allocations: 12 kB / 339.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.01682, allocations: 0.5035 MB / 340.3 MB, free: 368 kB / 298.7 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.001896/0.01872, allocations: 1.664 MB / 342 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.01946, allocations: 0.4903 MB / 342.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.01977, allocations: 238.2 kB / 342.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.01981, allocations: 8.5 kB / 342.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.02024, allocations: 318.2 kB / 343 MB, free: 13.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.405e-06/0.02024, allocations: 0 / 343 MB, free: 13.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.002542/0.02278, allocations: 1.325 MB / 344.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005272/0.02331, allocations: 0.8232 MB / 345.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.02374, allocations: 0.5578 MB / 345.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.02378, allocations: 41.7 kB / 345.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.02397, allocations: 341.1 kB / 346.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.02408, allocations: 199.3 kB / 346.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.02422, allocations: 130.3 kB / 346.4 MB, free: 9.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.02432, allocations: 374.8 kB / 346.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.02467, allocations: 268.5 kB / 347.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.02541, allocations: 1.329 MB / 348.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.02608, allocations: 0.5642 MB / 348.9 MB, free: 7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02608, allocations: 3.938 kB / 349 MB, free: 6.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001214/0.02729, allocations: 0.9426 MB / 349.9 MB, free: 6.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.02734, allocations: 59.41 kB / 350 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.02734, allocations: 0 / 350 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.02777, allocations: 229.5 kB / 350.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.02808, allocations: 115.8 kB / 350.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.03218, allocations: 4.282 MB / 354.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.03255, allocations: 79.62 kB / 354.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.03258, allocations: 27.98 kB / 354.7 MB, free: 1.02 MB / 314.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.0002281/0.03281, allocations: 217.7 kB / 354.9 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.03287, allocations: 79.53 kB / 355 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.03295, allocations: 78.55 kB / 355 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.03296, allocations: 4 kB / 355 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.03296, allocations: 0 / 355 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.03411, allocations: 1.045 MB / 356.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.03565, allocations: 1.32 MB / 357.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03565, allocations: 3.938 kB / 357.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.03594, allocations: 107.8 kB / 357.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.03623, allocations: 165.6 kB / 357.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.03625, allocations: 11.98 kB / 357.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.03929, allocations: 3.661 MB / 361.4 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.0393, allocations: 3.938 kB / 361.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.0406, allocations: 1.026 MB / 362.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.0408, allocations: 131.5 kB / 362.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.04085, allocations: 12 kB / 362.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.04113, allocations: 43.95 kB / 362.6 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.04123, allocations: 60.33 kB / 362.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.04125, allocations: 20.06 kB / 362.6 MB, free: 8.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003074/0.04156, allocations: 390.8 kB / 363 MB, free: 8.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04156, allocations: 0 / 363 MB, free: 8.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.04213, allocations: 259.7 kB / 363.3 MB, free: 7.996 MB / 330.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.0001428/0.04227, allocations: 115.2 kB / 363.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.04355, allocations: 1.029 MB / 364.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.04356, allocations: 4.188 kB / 364.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.04412, allocations: 0.5234 MB / 365 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.04471, allocations: 215 kB / 365.2 MB, free: 6.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.04679, allocations: 1.283 MB / 366.4 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.047, allocations: 319.9 kB / 366.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.04712, allocations: 56.48 kB / 366.8 MB, free: 4.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.943e-06/0.04712, allocations: 3.938 kB / 366.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of Templates: time 0.01315/0.06027, allocations: 16.41 MB / 383.2 MB, free: 4 MB / 346.7 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/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_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: 5.260970949195325]