Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009445/0.0009445, allocations: 101.3 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008937/0.0008938, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1942, allocations: 50.44 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003382/0.1976, allocations: 3.787 MB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1987, allocations: 1.034 MB / 411.9 MB, free: 22.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1989, allocations: 11.94 kB / 411.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.1992, allocations: 87.31 kB / 412 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1995, allocations: 178.7 kB / 412.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.1997, allocations: 123.8 kB / 412.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.2001, allocations: 0.6691 MB / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.2003, allocations: 185.1 kB / 413.1 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.2005, allocations: 251 kB / 413.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2007, allocations: 294.6 kB / 413.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.2008, allocations: 44 kB / 413.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.2009, allocations: 44 kB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.2009, allocations: 107.6 kB / 413.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2011, allocations: 310.4 kB / 414.1 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2015, allocations: 0.689 MB / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2015, allocations: 0 / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2016, allocations: 0 / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2016, allocations: 0 / 414.8 MB, free: 20.02 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.001263/0.2028, allocations: 0.917 MB / 415.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2029, allocations: 8.031 kB / 415.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.203, allocations: 68.19 kB / 415.8 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.2035, allocations: 442.8 kB / 416.2 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.2037, allocations: 79.23 kB / 416.3 MB, free: 18.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.2037, allocations: 36.36 kB / 416.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.2045, allocations: 0.5177 MB / 416.9 MB, free: 17.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2045, allocations: 3.906 kB / 416.9 MB, free: 17.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.2045, allocations: 16 kB / 416.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2046, allocations: 8 kB / 416.9 MB, free: 17.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.2054, allocations: 379.7 kB / 417.3 MB, free: 17.4 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.001587/0.207, allocations: 1.347 MB / 418.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.2078, allocations: 460.6 kB / 419.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.2082, allocations: 206.4 kB / 419.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.2082, allocations: 11.98 kB / 419.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2082, allocations: 38.56 kB / 419.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.2083, allocations: 0 / 419.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.00145/0.2097, allocations: 0.7857 MB / 420.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.2098, allocations: 448.9 kB / 420.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.2102, allocations: 489.9 kB / 421 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2102, allocations: 37.7 kB / 421.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2103, allocations: 236.5 kB / 421.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.2104, allocations: 138 kB / 421.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2105, allocations: 77.69 kB / 421.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.2105, allocations: 358.8 kB / 421.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.2109, allocations: 159.8 kB / 422 MB, free: 12.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.2114, allocations: 298.4 kB / 422.3 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.2121, allocations: 386.5 kB / 422.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2121, allocations: 4 kB / 422.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009034/0.213, allocations: 0.5078 MB / 423.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.213, allocations: 33.7 kB / 423.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2131, allocations: 0 / 423.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.2132, allocations: 53.69 kB / 423.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.2136, allocations: 95.88 kB / 423.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.2151, allocations: 2.737 MB / 426.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.2155, allocations: 67.69 kB / 426.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.2155, allocations: 12 kB / 426.2 MB, free: 7.801 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.0001474/0.2157, allocations: 179.8 kB / 426.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.2158, allocations: 55.34 kB / 426.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.2158, allocations: 56.92 kB / 426.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2159, allocations: 4 kB / 426.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2159, allocations: 0 / 426.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000859/0.2167, allocations: 0.7634 MB / 427.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2181, allocations: 1.079 MB / 428.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2181, allocations: 0 / 428.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.2186, allocations: 91.88 kB / 428.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2186, allocations: 8 kB / 428.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2186, allocations: 11.98 kB / 428.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2186, allocations: 4 kB / 428.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2186, allocations: 0 / 428.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/0.2238, allocations: 3.382 MB / 431.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2239, allocations: 180.3 kB / 432 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.224, allocations: 12.06 kB / 432 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.2244, allocations: 39.84 kB / 432 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2245, allocations: 24.05 kB / 432.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2245, allocations: 12 kB / 432.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.2248, allocations: 342.9 kB / 432.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2248, allocations: 0 / 432.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.2253, allocations: 195.8 kB / 432.6 MB, free: 1.055 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 9.68e-05/0.2254, allocations: 115.2 kB / 432.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2264, allocations: 0.6762 MB / 433.4 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2264, allocations: 4 kB / 433.4 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.2268, allocations: 203.8 kB / 433.6 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.2276, allocations: 135.4 kB / 433.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2293, allocations: 1.385 MB / 435.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2296, allocations: 0.8397 MB / 435.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.2299, allocations: 72.53 kB / 436 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.23, allocations: 47.42 kB / 436.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.23, allocations: 0 / 436.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of Templates: time 0.01333/0.2434, allocations: 9.442 MB / 445.5 MB, free: 4.18 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches