Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.002077/0.002077, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.00206/0.00206, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.449/1.449, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.048e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006238/0.006269, allocations: 3.973 MB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.008854, allocations: 1.199 MB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005323/0.009386, allocations: 11.88 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.00978, allocations: 130.8 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.01041, allocations: 285.5 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.01096, allocations: 211.5 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.01218, allocations: 0.9604 MB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.01252, allocations: 165 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.01337, allocations: 0.5456 MB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.01384, allocations: 295.2 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.01397, allocations: 76 kB / 280.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.01414, allocations: 80 kB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.01434, allocations: 183.3 kB / 280.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.01471, allocations: 295.4 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.01595, allocations: 0.9618 MB / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.01595, allocations: 0 / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01595, allocations: 0 / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.01596, allocations: 0 / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00226/0.01822, allocations: 1.049 MB / 282.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.01826, allocations: 8.031 kB / 282.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.01863, allocations: 128.5 kB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.01955, allocations: 442.4 kB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.01977, allocations: 148.4 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.01989, allocations: 56.38 kB / 283.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.02186, allocations: 1.154 MB / 284.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.02188, allocations: 0 / 284.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.02195, allocations: 20 kB / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.02196, allocations: 15.94 kB / 284.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.02317, allocations: 455.6 kB / 285.1 MB, free: 4.719 MB / 266.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.00331/0.02648, allocations: 1.472 MB / 286.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.02858, allocations: 0.5654 MB / 287.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.02922, allocations: 238.3 kB / 287.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.02928, allocations: 16.48 kB / 287.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.02932, allocations: 47.06 kB / 287.4 MB, free: 2.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.104e-06/0.02932, allocations: 0 / 287.4 MB, free: 2.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.005643/0.03496, allocations: 1.264 MB / 288.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004549/0.03542, allocations: 0.576 MB / 289.3 MB, free: 320 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.03629, allocations: 0.4989 MB / 289.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.03637, allocations: 41.7 kB / 289.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.03666, allocations: 285.7 kB / 290.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.03689, allocations: 206.2 kB / 290.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.03712, allocations: 106.3 kB / 290.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.03736, allocations: 366.8 kB / 290.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.03796, allocations: 214.9 kB / 291 MB, free: 14.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.03944, allocations: 0.9713 MB / 291.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.04066, allocations: 491.8 kB / 292.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.04066, allocations: 0 / 292.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002701/0.04337, allocations: 0.8502 MB / 293.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.04341, allocations: 37.73 kB / 293.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.04342, allocations: 0 / 293.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.04507, allocations: 270.3 kB / 293.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/0.04585, allocations: 123.8 kB / 293.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009272/0.05512, allocations: 5.209 MB / 298.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.05588, allocations: 75.69 kB / 299 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.05594, allocations: 20 kB / 299 MB, free: 5.961 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.05627, allocations: 189.8 kB / 299.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.05644, allocations: 83.62 kB / 299.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.05909, allocations: 0.7675 MB / 300 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.05909, allocations: 4 kB / 300 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.0591, allocations: 4.125 kB / 300 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002571/0.06167, allocations: 1.029 MB / 301.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.06525, allocations: 1.317 MB / 302.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.06525, allocations: 0 / 302.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.06608, allocations: 131.8 kB / 302.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.06749, allocations: 217.5 kB / 302.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.06753, allocations: 8 kB / 302.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.12/0.1875, allocations: 3.529 MB / 306.3 MB, free: 40.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1875, allocations: 0 / 306.3 MB, free: 40.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.1903, allocations: 1.075 MB / 307.3 MB, free: 40.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.1906, allocations: 124.5 kB / 307.4 MB, free: 40.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.1907, allocations: 20.47 kB / 307.5 MB, free: 40.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.1912, allocations: 34.41 kB / 307.5 MB, free: 40.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1913, allocations: 45.77 kB / 307.5 MB, free: 40.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.1914, allocations: 17.47 kB / 307.6 MB, free: 40.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004058/0.1918, allocations: 357.2 kB / 307.9 MB, free: 40.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1918, allocations: 0 / 307.9 MB, free: 40.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007016/0.1925, allocations: 222.7 kB / 308.1 MB, free: 40.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.1926, allocations: 112.1 kB / 308.2 MB, free: 40.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.1947, allocations: 1.036 MB / 309.3 MB, free: 39.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1947, allocations: 6.156 kB / 309.3 MB, free: 39.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.1956, allocations: 0.5141 MB / 309.8 MB, free: 39.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.1964, allocations: 189.5 kB / 310 MB, free: 39.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1982, allocations: 1.192 MB / 311.2 MB, free: 38.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1984, allocations: 291.7 kB / 311.5 MB, free: 38.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000299/0.1987, allocations: 81.03 kB / 311.5 MB, free: 38.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1989, allocations: 55.11 kB / 311.6 MB, free: 38.55 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1989, allocations: 0 / 311.6 MB, free: 38.55 MB / 282.7 MB Notification: Performance of Templates: time 0.0189/0.2178, allocations: 14.5 MB / 326.1 MB, free: 30.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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: 4.965614496031776]