Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, 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.163/1.163, allocations: 205.1 MB / 223.8 MB, free: 8.473 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.0008564/0.0008564, allocations: 105.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008037/0.0008037, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.184, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003821/0.1879, allocations: 3.521 MB / 377.3 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1893, allocations: 0.9831 MB / 378.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.1897, allocations: 9.094 kB / 378.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.19, allocations: 81.72 kB / 378.4 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.1904, allocations: 169.5 kB / 378.6 MB, free: 42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1906, allocations: 99.52 kB / 378.7 MB, free: 41.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.1911, allocations: 0.622 MB / 379.3 MB, free: 41.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.1914, allocations: 175 kB / 379.5 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.1916, allocations: 222.5 kB / 379.7 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.192, allocations: 260.3 kB / 379.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.1921, allocations: 45.97 kB / 380 MB, free: 41.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1922, allocations: 39.66 kB / 380 MB, free: 41.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.1923, allocations: 101 kB / 380.1 MB, free: 41.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.1925, allocations: 281.1 kB / 380.4 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.1929, allocations: 0.6175 MB / 381 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1929, allocations: 1.062 kB / 381 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1929, allocations: 0 / 381 MB, free: 40.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1929, allocations: 0 / 381 MB, free: 40.42 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.001214/0.1942, allocations: 0.8441 MB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1942, allocations: 9.844 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1943, allocations: 59.78 kB / 381.9 MB, free: 39.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1947, allocations: 389.7 kB / 382.3 MB, free: 39.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.1948, allocations: 60.81 kB / 382.4 MB, free: 39.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.1949, allocations: 33.44 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.1954, allocations: 468.2 kB / 382.9 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1955, allocations: 0 / 382.9 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1955, allocations: 17.03 kB / 382.9 MB, free: 38.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1955, allocations: 7.438 kB / 382.9 MB, free: 38.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.196, allocations: 277.9 kB / 383.2 MB, free: 38.77 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.001625/0.1977, allocations: 1.308 MB / 384.5 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.1986, allocations: 430.8 kB / 384.9 MB, free: 37.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.1989, allocations: 140.3 kB / 385 MB, free: 37.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1989, allocations: 7.266 kB / 385 MB, free: 37.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.199, allocations: 38.88 kB / 385.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.199, allocations: 0 / 385.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009503/0.1999, allocations: 0.6062 MB / 385.7 MB, free: 36.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.2, allocations: 446.3 kB / 386.1 MB, free: 36.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.2004, allocations: 457.7 kB / 386.6 MB, free: 36.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2004, allocations: 36.89 kB / 386.6 MB, free: 36.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2005, allocations: 234.3 kB / 386.8 MB, free: 35.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.2006, allocations: 110.9 kB / 386.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2007, allocations: 73.94 kB / 387 MB, free: 35.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.2008, allocations: 356.7 kB / 387.3 MB, free: 35.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.201, allocations: 103.5 kB / 387.4 MB, free: 35.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.2013, allocations: 260.7 kB / 387.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.2017, allocations: 275.5 kB / 388 MB, free: 34.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2017, allocations: 7.938 kB / 388 MB, free: 34.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005566/0.2023, allocations: 424.9 kB / 388.4 MB, free: 34.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2023, allocations: 29.7 kB / 388.4 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2023, allocations: 0 / 388.4 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.2025, allocations: 53.69 kB / 388.5 MB, free: 34.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2027, allocations: 67.94 kB / 388.5 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.2042, allocations: 2.74 MB / 391.3 MB, free: 31.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.2045, allocations: 51.62 kB / 391.3 MB, free: 31.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2045, allocations: 8 kB / 391.3 MB, free: 31.14 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.0001339/0.2047, allocations: 174.4 kB / 391.5 MB, free: 30.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.2048, allocations: 55.42 kB / 391.6 MB, free: 30.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.648e-05/0.2048, allocations: 48.7 kB / 391.6 MB, free: 30.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2048, allocations: 0 / 391.6 MB, free: 30.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2049, allocations: 0 / 391.6 MB, free: 30.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004461/0.2053, allocations: 0.6453 MB / 392.3 MB, free: 30.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.2063, allocations: 0.9086 MB / 393.2 MB, free: 29.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2063, allocations: 4 kB / 393.2 MB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.2066, allocations: 71.89 kB / 393.2 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2066, allocations: 0 / 393.2 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2066, allocations: 8.234 kB / 393.2 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2066, allocations: 4 kB / 393.2 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2066, allocations: 4 kB / 393.3 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.2095, allocations: 2.621 MB / 395.9 MB, free: 26.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2096, allocations: 164.4 kB / 396 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.2097, allocations: 11.94 kB / 396 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.21, allocations: 15.98 kB / 396.1 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2101, allocations: 23.97 kB / 396.1 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2101, allocations: 4 kB / 396.1 MB, free: 26.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.2103, allocations: 327.1 kB / 396.4 MB, free: 25.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.2103, allocations: 0 / 396.4 MB, free: 25.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.2108, allocations: 187.8 kB / 396.6 MB, free: 25.55 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 8.755e-05/0.2109, allocations: 103.2 kB / 396.7 MB, free: 25.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006584/0.2116, allocations: 0.5512 MB / 397.2 MB, free: 24.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2116, allocations: 4 kB / 397.2 MB, free: 24.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.2118, allocations: 131.9 kB / 397.4 MB, free: 24.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.2124, allocations: 125.7 kB / 397.5 MB, free: 24.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2137, allocations: 1.253 MB / 398.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.2138, allocations: 0.8199 MB / 399.6 MB, free: 22.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.2141, allocations: 68.33 kB / 399.6 MB, free: 22.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.2142, allocations: 47.42 kB / 399.7 MB, free: 22.34 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2142, allocations: 0 / 399.7 MB, free: 22.34 MB / 298.7 MB Notification: Performance of Templates: time 0.01081/0.225, allocations: 8.412 MB / 408.1 MB, free: 13.96 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches