Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, 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.303/1.303, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 106.3 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000912/0.0009121, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1959, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003304/0.1993, allocations: 3.525 MB / 410.6 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2006, allocations: 0.9941 MB / 411.6 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2008, allocations: 4 kB / 411.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.2011, allocations: 83.44 kB / 411.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.2013, allocations: 166.7 kB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2015, allocations: 103.9 kB / 411.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2019, allocations: 0.613 MB / 412.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.2022, allocations: 178 kB / 412.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2023, allocations: 227.1 kB / 412.9 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2026, allocations: 262.8 kB / 413.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.2026, allocations: 40 kB / 413.2 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.2027, allocations: 43.94 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.2028, allocations: 103.6 kB / 413.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.203, allocations: 282.6 kB / 413.6 MB, free: 21.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.2034, allocations: 0.6189 MB / 414.3 MB, free: 20.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2034, allocations: 8 kB / 414.3 MB, free: 20.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2034, allocations: 0 / 414.3 MB, free: 20.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2034, allocations: 0 / 414.3 MB, free: 20.56 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001059/0.2045, allocations: 0.8389 MB / 415.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2045, allocations: 8.594 kB / 415.1 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.2046, allocations: 64.22 kB / 415.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.205, allocations: 390.7 kB / 415.6 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.2051, allocations: 58.91 kB / 415.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.2051, allocations: 32.38 kB / 415.6 MB, free: 19.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.2057, allocations: 471.5 kB / 416.1 MB, free: 18.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2057, allocations: 4 kB / 416.1 MB, free: 18.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.2057, allocations: 12 kB / 416.1 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2058, allocations: 8 kB / 416.1 MB, free: 18.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.2062, allocations: 278.5 kB / 416.4 MB, free: 18.27 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.001507/0.2077, allocations: 1.29 MB / 417.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/0.2087, allocations: 435.2 kB / 418.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.2089, allocations: 144.8 kB / 418.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.209, allocations: 11.98 kB / 418.3 MB, free: 16.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.209, allocations: 46.44 kB / 418.3 MB, free: 16.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.209, allocations: 0 / 418.3 MB, free: 16.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009071/0.2099, allocations: 0.5912 MB / 418.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.21, allocations: 445 kB / 419.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.2103, allocations: 457.9 kB / 419.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2104, allocations: 33.7 kB / 419.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.2105, allocations: 224.5 kB / 420 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.2105, allocations: 122.3 kB / 420.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.2106, allocations: 78.02 kB / 420.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.2107, allocations: 354.7 kB / 420.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2109, allocations: 104.6 kB / 420.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.2112, allocations: 256.1 kB / 420.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.2116, allocations: 280.8 kB / 421.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2116, allocations: 0 / 421.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005704/0.2122, allocations: 412.4 kB / 421.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.2122, allocations: 29.7 kB / 421.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2122, allocations: 8 kB / 421.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.2124, allocations: 57.66 kB / 421.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.2127, allocations: 71.84 kB / 421.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.2142, allocations: 2.748 MB / 424.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.2146, allocations: 43.72 kB / 424.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.2146, allocations: 15.98 kB / 424.6 MB, free: 9.398 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 (36): * Single equations (assignments): 33 * 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.0001451/0.2147, allocations: 175.3 kB / 424.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.2148, allocations: 47.44 kB / 424.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.946e-05/0.2149, allocations: 48.94 kB / 424.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2149, allocations: 4 kB / 424.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2149, allocations: 3.984 kB / 424.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004911/0.2154, allocations: 0.6609 MB / 425.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.2164, allocations: 0.8874 MB / 426.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2164, allocations: 7.922 kB / 426.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.2167, allocations: 63.97 kB / 426.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2167, allocations: 0 / 426.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2168, allocations: 11.98 kB / 426.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2168, allocations: 0 / 426.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2168, allocations: 4 kB / 426.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.2198, allocations: 2.621 MB / 429.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2199, allocations: 164.4 kB / 429.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.22, allocations: 11.98 kB / 429.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.2203, allocations: 15.98 kB / 429.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2203, allocations: 15.98 kB / 429.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2203, allocations: 12 kB / 429.3 MB, free: 4.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002491/0.2206, allocations: 319.1 kB / 429.6 MB, free: 4.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2206, allocations: 0 / 429.6 MB, free: 4.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005053/0.2211, allocations: 183.8 kB / 429.8 MB, free: 3.832 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 (32): * Single equations (assignments): 32 * 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.0001045/0.2212, allocations: 111.2 kB / 429.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006985/0.2219, allocations: 0.5555 MB / 430.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2219, allocations: 4 kB / 430.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2221, allocations: 127.8 kB / 430.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.2228, allocations: 137.8 kB / 430.7 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.2241, allocations: 1.238 MB / 432 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2243, allocations: 0.8238 MB / 432.8 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.2245, allocations: 72.28 kB / 432.9 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2246, allocations: 51.42 kB / 432.9 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2246, allocations: 0 / 432.9 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of Templates: time 0.01249/0.2371, allocations: 8.409 MB / 441.3 MB, free: 8.336 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches