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.002/0.002, allocations: 84.61 kB / 20.95 MB, free: 332 kB / 14.72 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.002276/0.002276, allocations: 148 kB / 24.25 MB, free: 3.27 MB / 14.72 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 1.495/1.495, allocations: 173.3 MB / 200.8 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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 1.894e-06/1.894e-06, allocations: 0 / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.625e-05, allocations: 10.25 kB / 267.3 MB, free: 10.17 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.01183/0.01186, allocations: 4.654 MB / 272 MB, free: 5.492 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004858/0.01672, allocations: 1.281 MB / 273.2 MB, free: 4.203 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.01757, allocations: 19.88 kB / 273.3 MB, free: 4.184 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.01839, allocations: 162.5 kB / 273.4 MB, free: 4.023 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.01989, allocations: 372.8 kB / 273.8 MB, free: 3.656 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009562/0.02085, allocations: 239.5 kB / 274 MB, free: 3.422 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.02345, allocations: 1.274 MB / 275.3 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.02413, allocations: 230.6 kB / 275.5 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.02571, allocations: 0.7055 MB / 276.2 MB, free: 1.199 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.02668, allocations: 402.9 kB / 276.6 MB, free: 0.8047 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.02694, allocations: 112 kB / 276.7 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.02724, allocations: 112 kB / 276.8 MB, free: 0.5859 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.02756, allocations: 235.2 kB / 277.1 MB, free: 364 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.02836, allocations: 399.2 kB / 277.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.03074, allocations: 1.304 MB / 278.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.03075, allocations: 0 / 278.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.03075, allocations: 0 / 278.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.03077, allocations: 0 / 278.8 MB, free: 14.66 MB / 270.1 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.004502/0.03527, allocations: 1.335 MB / 280.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.03533, allocations: 8.922 kB / 280.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.0358, allocations: 168.3 kB / 280.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.03768, allocations: 0.5538 MB / 280.8 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/0.03819, allocations: 301.2 kB / 281.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.03838, allocations: 60.38 kB / 281.2 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.04208, allocations: 1.644 MB / 282.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.04212, allocations: 192 / 282.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.04226, allocations: 36.12 kB / 282.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.04229, allocations: 19.98 kB / 282.9 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.04494, allocations: 0.618 MB / 283.5 MB, free: 9.504 MB / 270.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.003948/0.04889, allocations: 1.628 MB / 285.1 MB, free: 7.844 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.05068, allocations: 0.7283 MB / 285.8 MB, free: 7.102 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008851/0.05157, allocations: 387.2 kB / 286.2 MB, free: 6.719 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.05163, allocations: 12.66 kB / 286.2 MB, free: 6.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.05168, allocations: 51.22 kB / 286.3 MB, free: 6.645 MB / 270.1 MB Notification: Performance of pre-optimization done (n=77): time 2.535e-06/0.05168, allocations: 0 / 286.3 MB, free: 6.645 MB / 270.1 MB Notification: Performance of matching and sorting (n=77): time 0.005424/0.05711, allocations: 1.547 MB / 287.8 MB, free: 5.082 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004708/0.05758, allocations: 0.8234 MB / 288.7 MB, free: 4.062 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.05839, allocations: 0.6175 MB / 289.3 MB, free: 3.438 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 8.819e-05/0.05847, allocations: 45.7 kB / 289.3 MB, free: 3.387 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.05878, allocations: 361.2 kB / 289.7 MB, free: 3.031 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.05903, allocations: 269.6 kB / 289.9 MB, free: 2.766 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.05929, allocations: 150.7 kB / 290.1 MB, free: 2.613 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.0595, allocations: 388.5 kB / 290.5 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/0.06029, allocations: 362.9 kB / 290.8 MB, free: 1.852 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.06183, allocations: 1.399 MB / 292.2 MB, free: 148 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.06344, allocations: 0.7012 MB / 292.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.06344, allocations: 0 / 292.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003171/0.06661, allocations: 1.229 MB / 294.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.06669, allocations: 91.28 kB / 294.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.0667, allocations: 0 / 294.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.06784, allocations: 267.2 kB / 294.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/0.06858, allocations: 151.8 kB / 294.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00932/0.0779, allocations: 6.399 MB / 301 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/0.07886, allocations: 99.73 kB / 301.1 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.07892, allocations: 24 kB / 301.2 MB, free: 6.672 MB / 286.1 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.0003931/0.07931, allocations: 225.7 kB / 301.4 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.07951, allocations: 111.5 kB / 301.5 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.07973, allocations: 92.06 kB / 301.6 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.07974, allocations: 8 kB / 301.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.07974, allocations: 3.938 kB / 301.6 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002797/0.08254, allocations: 1.26 MB / 302.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004447/0.08699, allocations: 1.725 MB / 304.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.08699, allocations: 0 / 304.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/0.08779, allocations: 139.8 kB / 304.7 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009421/0.08873, allocations: 238.5 kB / 304.9 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.08878, allocations: 16 kB / 305 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1085/0.1973, allocations: 4.954 MB / 309.9 MB, free: 47.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1973, allocations: 0 / 309.9 MB, free: 47.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.2008, allocations: 1.457 MB / 311.4 MB, free: 47.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.2011, allocations: 166.8 kB / 311.5 MB, free: 47.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.2013, allocations: 19.34 kB / 311.6 MB, free: 47.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.202, allocations: 52.81 kB / 311.6 MB, free: 47.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.2022, allocations: 65.41 kB / 311.7 MB, free: 47.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.2022, allocations: 20.78 kB / 311.7 MB, free: 47.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004963/0.2027, allocations: 444.7 kB / 312.1 MB, free: 47.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2027, allocations: 0 / 312.1 MB, free: 47.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008824/0.2036, allocations: 299.2 kB / 312.4 MB, free: 47.04 MB / 286.1 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.000151/0.2037, allocations: 123.8 kB / 312.5 MB, free: 46.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.2058, allocations: 1.421 MB / 314 MB, free: 45.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2058, allocations: 5.5 kB / 314 MB, free: 45.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.2072, allocations: 0.7562 MB / 314.7 MB, free: 45.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2082, allocations: 247.8 kB / 315 MB, free: 45.46 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.2107, allocations: 1.565 MB / 316.5 MB, free: 44.63 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.211, allocations: 362.7 kB / 316.9 MB, free: 44.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.2115, allocations: 103.8 kB / 317 MB, free: 44.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.2117, allocations: 68.89 kB / 317 MB, free: 44.49 MB / 286.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2117, allocations: 0 / 317 MB, free: 44.49 MB / 286.1 MB Notification: Performance of Templates: time 0.02576/0.2374, allocations: 19.25 MB / 336.3 MB, free: 30.52 MB / 286.1 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: 5.244578447192907]