Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005069/0.005069, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.85/0.85, allocations: 173.4 MB / 201.2 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.472e-05, allocations: 6.219 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004783/0.004807, allocations: 4.646 MB / 324.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.006631, allocations: 1.285 MB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.006923, allocations: 19.94 kB / 325.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.007261, allocations: 174.5 kB / 325.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.007744, allocations: 356.8 kB / 326.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.008086, allocations: 247.5 kB / 326.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000881/0.008967, allocations: 1.269 MB / 327.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.009269, allocations: 226.7 kB / 327.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.009822, allocations: 0.7095 MB / 328.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.01019, allocations: 398.9 kB / 329 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.0103, allocations: 108 kB / 329.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.01046, allocations: 112 kB / 329.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.01063, allocations: 235.2 kB / 329.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.01103, allocations: 399.1 kB / 329.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.01202, allocations: 1.305 MB / 331.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.01203, allocations: 0 / 331.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01203, allocations: 0 / 331.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.01204, allocations: 0 / 331.1 MB, free: 10.35 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002024/0.01407, allocations: 1.331 MB / 332.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.01412, allocations: 8.922 kB / 332.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.01428, allocations: 116.3 kB / 332.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.01502, allocations: 0.546 MB / 333.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.01519, allocations: 297.2 kB / 333.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.01526, allocations: 64.38 kB / 333.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.01642, allocations: 1.659 MB / 335.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01644, allocations: 192 / 335.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.01649, allocations: 36.12 kB / 335.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.0165, allocations: 12 kB / 335.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.01734, allocations: 0.6258 MB / 335.8 MB, free: 5.25 MB / 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.002129/0.01947, allocations: 1.616 MB / 337.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.02046, allocations: 0.7245 MB / 338.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.02121, allocations: 383.2 kB / 338.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.02126, allocations: 12.66 kB / 338.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.02129, allocations: 43.22 kB / 338.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 1.863e-06/0.02129, allocations: 0 / 338.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.002582/0.02387, allocations: 1.519 MB / 340.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/0.02413, allocations: 0.8291 MB / 340.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.02461, allocations: 0.6136 MB / 341.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.02466, allocations: 45.7 kB / 341.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.02484, allocations: 357.2 kB / 341.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.02499, allocations: 273.6 kB / 342.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.02514, allocations: 150.6 kB / 342.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.02527, allocations: 394.6 kB / 342.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.02571, allocations: 363 kB / 343.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/0.02656, allocations: 1.395 MB / 344.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.02772, allocations: 0.7012 MB / 345.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.02772, allocations: 0 / 345.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001481/0.0292, allocations: 1.201 MB / 346.4 MB, free: 9.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.02925, allocations: 89.11 kB / 346.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.02926, allocations: 0 / 346.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.02968, allocations: 239.2 kB / 346.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.03001, allocations: 147.8 kB / 346.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/0.03495, allocations: 6.376 MB / 353.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.03546, allocations: 99.55 kB / 353.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.0355, allocations: 20 kB / 353.3 MB, free: 2.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002736/0.03577, allocations: 240.8 kB / 353.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.03586, allocations: 91.48 kB / 353.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.03596, allocations: 88.31 kB / 353.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.03596, allocations: 8 kB / 353.8 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.03597, allocations: 3.984 kB / 353.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/0.03734, allocations: 1.26 MB / 355 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.0396, allocations: 1.721 MB / 356.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.03961, allocations: 0 / 356.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.03998, allocations: 143.8 kB / 356.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.04031, allocations: 202.4 kB / 357.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.04034, allocations: 16 kB / 357.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.04479, allocations: 4.94 MB / 362 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.0448, allocations: 0 / 362 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.04692, allocations: 1.431 MB / 363.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.04729, allocations: 167.3 kB / 363.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.04737, allocations: 24 kB / 363.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.04771, allocations: 47.95 kB / 363.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.0479, allocations: 68.47 kB / 363.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.04793, allocations: 23.98 kB / 363.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004773/0.04841, allocations: 439.1 kB / 364.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04841, allocations: 0 / 364.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000999/0.04941, allocations: 295.7 kB / 364.5 MB, free: 6.867 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.04963, allocations: 127.1 kB / 364.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.0514, allocations: 1.427 MB / 366.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.05141, allocations: 0 / 366.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.05271, allocations: 0.7574 MB / 366.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.05347, allocations: 238.9 kB / 367.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.05576, allocations: 1.558 MB / 368.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.05603, allocations: 370.5 kB / 369 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.0562, allocations: 76.42 kB / 369 MB, free: 2.113 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0562, allocations: 0 / 369 MB, free: 2.113 MB / 330.7 MB Notification: Performance of Templates: time 0.0179/0.0741, allocations: 23.73 MB / 392.8 MB, free: 10.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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: 6.244137601926923]