Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009369/0.0009369, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.182/1.182, allocations: 226.6 MB / 244.3 MB, free: 8.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007227/0.0007227, allocations: 100.8 kB / 296.4 MB, free: 7.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001844/0.0001845, allocations: 4 kB / 356.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1653, allocations: 51.3 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002146/0.1675, allocations: 3.006 MB / 410.5 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1687, allocations: 0.8678 MB / 411.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.1689, allocations: 11.31 kB / 411.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1691, allocations: 67.45 kB / 411.4 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.1694, allocations: 166.7 kB / 411.6 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1696, allocations: 87.91 kB / 411.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.17, allocations: 0.5597 MB / 412.3 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1702, allocations: 158.3 kB / 412.4 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1703, allocations: 207.2 kB / 412.6 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1705, allocations: 251 kB / 412.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.1706, allocations: 32 kB / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.1707, allocations: 36 kB / 412.9 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.1707, allocations: 91.61 kB / 413 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.1708, allocations: 121.5 kB / 413.1 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.171, allocations: 491.5 kB / 413.6 MB, free: 21.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.171, allocations: 0 / 413.6 MB, free: 21.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1711, allocations: 0 / 413.6 MB, free: 21.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1711, allocations: 0 / 413.6 MB, free: 21.72 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.0008946/0.172, allocations: 0.761 MB / 414.4 MB, free: 20.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.172, allocations: 8.031 kB / 414.4 MB, free: 20.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.1721, allocations: 59.34 kB / 414.4 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1724, allocations: 377.7 kB / 414.8 MB, free: 20.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.1725, allocations: 62.31 kB / 414.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.1726, allocations: 28 kB / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.1731, allocations: 468.9 kB / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1731, allocations: 0 / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.1731, allocations: 12 kB / 415.4 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1732, allocations: 8 kB / 415.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.1736, allocations: 282.5 kB / 415.6 MB, free: 19.53 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.001444/0.1751, allocations: 1.314 MB / 417 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.176, allocations: 440.5 kB / 417.4 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1762, allocations: 140.8 kB / 417.5 MB, free: 17.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1763, allocations: 15.97 kB / 417.5 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.1763, allocations: 38.56 kB / 417.6 MB, free: 17.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.313e-06/0.1763, allocations: 0 / 417.6 MB, free: 17.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008632/0.1772, allocations: 0.6193 MB / 418.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1772, allocations: 445 kB / 418.6 MB, free: 16.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.1776, allocations: 457.8 kB / 419.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1776, allocations: 33.7 kB / 419.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.1777, allocations: 224.5 kB / 419.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.1778, allocations: 110.3 kB / 419.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.1778, allocations: 12 kB / 419.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.1778, allocations: 354.8 kB / 419.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.178, allocations: 108.6 kB / 419.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.1783, allocations: 256.1 kB / 420.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1785, allocations: 156 kB / 420.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1785, allocations: 0 / 420.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005498/0.1791, allocations: 428.2 kB / 420.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1791, allocations: 36.36 kB / 420.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1791, allocations: 7.984 kB / 420.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.1792, allocations: 45.64 kB / 420.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.1795, allocations: 71.89 kB / 420.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1809, allocations: 2.756 MB / 423.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.1813, allocations: 47.77 kB / 423.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1813, allocations: 11.94 kB / 423.7 MB, free: 10.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.1814, allocations: 177.7 kB / 423.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1815, allocations: 47.44 kB / 423.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.1816, allocations: 52.69 kB / 424 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1816, allocations: 7.953 kB / 424 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1816, allocations: 0 / 424 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004517/0.182, allocations: 0.6531 MB / 424.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/0.183, allocations: 0.8992 MB / 425.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.183, allocations: 3.938 kB / 425.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.1833, allocations: 87.84 kB / 425.6 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1833, allocations: 0 / 425.6 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1833, allocations: 8 kB / 425.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1833, allocations: 0 / 425.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1833, allocations: 0 / 425.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.184, allocations: 0.5272 MB / 426.2 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1841, allocations: 164.4 kB / 426.3 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.1842, allocations: 15.94 kB / 426.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.1845, allocations: 15.91 kB / 426.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1845, allocations: 23.97 kB / 426.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1845, allocations: 8.062 kB / 426.4 MB, free: 7.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.1848, allocations: 323.1 kB / 426.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1848, allocations: 0 / 426.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.1851, allocations: 131.8 kB / 426.8 MB, free: 7.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.006e-05/0.1852, allocations: 103.2 kB / 426.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.1858, allocations: 0.5631 MB / 427.5 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1858, allocations: 0 / 427.5 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.186, allocations: 131.8 kB / 427.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.1866, allocations: 137.8 kB / 427.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1876, allocations: 1.08 MB / 428.8 MB, free: 5.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.1878, allocations: 0.8162 MB / 429.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1879, allocations: 39.44 kB / 429.7 MB, free: 4.504 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1879, allocations: 0 / 429.7 MB, free: 4.504 MB / 298.7 MB Notification: Performance of Templates: time 0.008084/0.196, allocations: 8.192 MB / 437.9 MB, free: 12.37 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches