Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009416/0.0009418, allocations: 196.5 kB / 17.05 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, 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.0007626/0.0007627, allocations: 92.42 kB / 296.4 MB, free: 7.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000194/0.0001941, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1696, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.001669/0.1713, allocations: 2.115 MB / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.172, allocations: 0.6433 MB / 410.3 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.1721, allocations: 4 kB / 410.3 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.798e-05/0.1722, allocations: 28.45 kB / 410.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.1723, allocations: 62.66 kB / 410.3 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.1724, allocations: 51.92 kB / 410.4 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1726, allocations: 238.9 kB / 410.6 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1727, allocations: 83.09 kB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.1728, allocations: 75.72 kB / 410.8 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.1729, allocations: 94.45 kB / 410.9 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1729, allocations: 12 kB / 410.9 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.173, allocations: 12 kB / 410.9 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.173, allocations: 35.84 kB / 410.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.1731, allocations: 69.58 kB / 411 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1732, allocations: 188.4 kB / 411.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1732, allocations: 0 / 411.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1732, allocations: 0 / 411.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1732, allocations: 2.5 kB / 411.2 MB, free: 24.13 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006825/0.1739, allocations: 0.5214 MB / 411.7 MB, free: 23.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.174, allocations: 8.031 kB / 411.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.174, allocations: 23.72 kB / 411.7 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1742, allocations: 232.7 kB / 412 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1742, allocations: 12.44 kB / 412 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1743, allocations: 27.95 kB / 412 MB, free: 23.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1746, allocations: 229.8 kB / 412.2 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1746, allocations: 0 / 412.2 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1747, allocations: 12 kB / 412.2 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1747, allocations: 7.938 kB / 412.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.175, allocations: 169.6 kB / 412.4 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.1759, allocations: 0.836 MB / 413.3 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1763, allocations: 154.6 kB / 413.4 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1764, allocations: 84.83 kB / 413.5 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1764, allocations: 4 kB / 413.5 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.1765, allocations: 34.56 kB / 413.5 MB, free: 21.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1765, allocations: 0 / 413.5 MB, free: 21.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007044/0.1772, allocations: 360.8 kB / 413.9 MB, free: 21.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.1772, allocations: 51.41 kB / 413.9 MB, free: 21.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.1773, allocations: 172 kB / 414.1 MB, free: 20.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1773, allocations: 33.69 kB / 414.1 MB, free: 20.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.1774, allocations: 148.1 kB / 414.3 MB, free: 20.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1774, allocations: 51.2 kB / 414.3 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1774, allocations: 4 kB / 414.3 MB, free: 20.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.1775, allocations: 326.8 kB / 414.6 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1776, allocations: 60.28 kB / 414.7 MB, free: 20.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1777, allocations: 100.6 kB / 414.8 MB, free: 20.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1779, allocations: 59.98 kB / 414.9 MB, free: 20.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1779, allocations: 0 / 414.9 MB, free: 20.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003792/0.1783, allocations: 233 kB / 415.1 MB, free: 19.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.1783, allocations: 8 kB / 415.1 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1783, allocations: 4 kB / 415.1 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.1785, allocations: 36.77 kB / 415.1 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1786, allocations: 39.92 kB / 415.2 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006736/0.1793, allocations: 1.367 MB / 416.5 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.1795, allocations: 43.91 kB / 416.6 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1795, allocations: 4 kB / 416.6 MB, free: 18.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.1796, allocations: 141.7 kB / 416.7 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1796, allocations: 19.81 kB / 416.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.1796, allocations: 21.8 kB / 416.8 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1796, allocations: 4 kB / 416.8 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1797, allocations: 0 / 416.8 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1797, allocations: 0 / 416.8 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.1802, allocations: 0.5302 MB / 417.3 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1802, allocations: 0 / 417.3 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.1804, allocations: 27.98 kB / 417.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.085e-05/0.1805, allocations: 32.84 kB / 417.4 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1805, allocations: 11.95 kB / 417.4 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006132/0.1811, allocations: 1.367 MB / 418.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1811, allocations: 0 / 418.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.1816, allocations: 368.9 kB / 419.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1817, allocations: 104.9 kB / 419.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1817, allocations: 0 / 419.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1819, allocations: 32.05 kB / 419.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.182, allocations: 19.97 kB / 419.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.182, allocations: 4 kB / 419.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.935e-05/0.182, allocations: 131.2 kB / 419.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.182, allocations: 0 / 419.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.1823, allocations: 59.84 kB / 419.4 MB, free: 15.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.874e-05/0.1824, allocations: 99.25 kB / 419.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.1828, allocations: 273.2 kB / 419.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1828, allocations: 0 / 419.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.183, allocations: 198.9 kB / 420 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1833, allocations: 27.89 kB / 420 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.1839, allocations: 0.5923 MB / 420.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.184, allocations: 0.7362 MB / 421.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.184, allocations: 19.38 kB / 421.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.184, allocations: 0 / 421.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Templates: time 0.003342/0.1874, allocations: 3.128 MB / 424.5 MB, free: 10.07 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches