Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 98.72 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007314/0.0007315, allocations: 43.92 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1826, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003806/0.1864, allocations: 3.776 MB / 377.6 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1879, allocations: 1.032 MB / 378.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.1882, allocations: 9.688 kB / 378.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1884, allocations: 85.69 kB / 378.7 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1888, allocations: 182.5 kB / 378.9 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.189, allocations: 120.2 kB / 379 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.1895, allocations: 0.6826 MB / 379.7 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1898, allocations: 185.7 kB / 379.9 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.19, allocations: 253.4 kB / 380.1 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1902, allocations: 288 kB / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.1903, allocations: 41.41 kB / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.1904, allocations: 42.56 kB / 380.5 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.1905, allocations: 113.3 kB / 380.6 MB, free: 40.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.1907, allocations: 306.8 kB / 380.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.1911, allocations: 0.6809 MB / 381.6 MB, free: 40.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1912, allocations: 0 / 381.6 MB, free: 40.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1912, allocations: 5.062 kB / 381.6 MB, free: 40.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1912, allocations: 0 / 381.6 MB, free: 40.04 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00133/0.1925, allocations: 0.9144 MB / 382.5 MB, free: 39.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1926, allocations: 9.594 kB / 382.5 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1927, allocations: 71.88 kB / 382.6 MB, free: 39.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.1932, allocations: 434 kB / 383 MB, free: 38.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.1934, allocations: 87.75 kB / 383.1 MB, free: 38.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.1935, allocations: 35.62 kB / 383.1 MB, free: 38.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.1943, allocations: 0.5145 MB / 383.6 MB, free: 38.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1943, allocations: 4 kB / 383.6 MB, free: 38.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.1943, allocations: 17.44 kB / 383.7 MB, free: 38.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1943, allocations: 12.28 kB / 383.7 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.1952, allocations: 375.1 kB / 384 MB, free: 38.21 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.001742/0.1969, allocations: 1.349 MB / 385.4 MB, free: 37.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.1978, allocations: 468.2 kB / 385.8 MB, free: 36.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.1982, allocations: 204.8 kB / 386 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.1983, allocations: 11.91 kB / 386 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1983, allocations: 42.75 kB / 386.1 MB, free: 36.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 3.266e-06/0.1983, allocations: 0 / 386.1 MB, free: 36.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001589/0.1999, allocations: 0.7848 MB / 386.9 MB, free: 36.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.2, allocations: 445 kB / 387.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.2004, allocations: 485.9 kB / 387.8 MB, free: 35.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2004, allocations: 33.7 kB / 387.8 MB, free: 35.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2005, allocations: 248.4 kB / 388.1 MB, free: 34.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.2006, allocations: 130 kB / 388.2 MB, free: 34.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2007, allocations: 85.64 kB / 388.3 MB, free: 34.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.2008, allocations: 358.8 kB / 388.6 MB, free: 34.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2011, allocations: 151.9 kB / 388.8 MB, free: 34.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.2016, allocations: 310.2 kB / 389.1 MB, free: 33.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.2023, allocations: 375 kB / 389.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2023, allocations: 4 kB / 389.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008853/0.2032, allocations: 0.5229 MB / 390 MB, free: 32.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.2032, allocations: 37.69 kB / 390 MB, free: 32.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2032, allocations: 0 / 390 MB, free: 32.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.2034, allocations: 49.73 kB / 390.1 MB, free: 32.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.2038, allocations: 91.86 kB / 390.1 MB, free: 32.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.2052, allocations: 2.732 MB / 392.9 MB, free: 29.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.2057, allocations: 59.69 kB / 392.9 MB, free: 29.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.2058, allocations: 12.09 kB / 392.9 MB, free: 29.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.206, allocations: 189.6 kB / 393.1 MB, free: 29.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.206, allocations: 55.34 kB / 393.2 MB, free: 29.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.2061, allocations: 56.88 kB / 393.2 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2061, allocations: 4 kB / 393.2 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2061, allocations: 0 / 393.2 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000807/0.207, allocations: 0.7709 MB / 394 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.2083, allocations: 1.073 MB / 395.1 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2083, allocations: 0 / 395.1 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.2087, allocations: 99.86 kB / 395.2 MB, free: 27.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2088, allocations: 0 / 395.2 MB, free: 27.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2088, allocations: 12 kB / 395.2 MB, free: 27.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2088, allocations: 0 / 395.2 MB, free: 27.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2088, allocations: 0 / 395.2 MB, free: 27.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/0.2137, allocations: 3.386 MB / 398.6 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.2139, allocations: 176.3 kB / 398.8 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.2139, allocations: 8 kB / 398.8 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.2143, allocations: 40.02 kB / 398.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.2144, allocations: 27.72 kB / 398.8 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.2144, allocations: 8 kB / 398.8 MB, free: 23.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.2147, allocations: 342.9 kB / 399.2 MB, free: 22.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2147, allocations: 0 / 399.2 MB, free: 22.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.2152, allocations: 199.8 kB / 399.4 MB, free: 22.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.2154, allocations: 103.2 kB / 399.5 MB, free: 22.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.2164, allocations: 0.6762 MB / 400.1 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2164, allocations: 0 / 400.1 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.2168, allocations: 199.8 kB / 400.3 MB, free: 21.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.2175, allocations: 150.6 kB / 400.5 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2189, allocations: 1.363 MB / 401.8 MB, free: 20.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2191, allocations: 0.8472 MB / 402.7 MB, free: 19.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.2194, allocations: 68.53 kB / 402.8 MB, free: 19.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.2195, allocations: 43.44 kB / 402.8 MB, free: 19.2 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2195, allocations: 0 / 402.8 MB, free: 19.2 MB / 298.7 MB Notification: Performance of Templates: time 0.01107/0.2306, allocations: 9.468 MB / 412.3 MB, free: 9.762 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches