Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002768/0.002768, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.38/3.38, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001891/0.001891, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006663, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1397, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005056/0.1449, allocations: 1.98 MB / 376.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1472, allocations: 0.6169 MB / 377.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.1476, allocations: 7.938 kB / 377.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1478, allocations: 23.83 kB / 377.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.1482, allocations: 79.77 kB / 377.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.1487, allocations: 51.88 kB / 377.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.1493, allocations: 179.6 kB / 377.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.1497, allocations: 85.28 kB / 377.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.1504, allocations: 75.7 kB / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1508, allocations: 91.61 kB / 377.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.1508, allocations: 16 kB / 377.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.151, allocations: 12 kB / 377.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.1511, allocations: 43.83 kB / 377.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1512, allocations: 65.58 kB / 377.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.1517, allocations: 175.8 kB / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1517, allocations: 0 / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1517, allocations: 0 / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1518, allocations: 0 / 378 MB, free: 11.92 MB / 282.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.001791/0.1536, allocations: 0.5302 MB / 378.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.1537, allocations: 8.031 kB / 378.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.1539, allocations: 27.7 kB / 378.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.1544, allocations: 223.1 kB / 378.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.1545, allocations: 24.38 kB / 378.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.1546, allocations: 24 kB / 378.9 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.1556, allocations: 229.8 kB / 379.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.1557, allocations: 0 / 379.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.1557, allocations: 8 kB / 379.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1558, allocations: 8 kB / 379.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.1567, allocations: 173.5 kB / 379.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1597, allocations: 0.8244 MB / 380.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.1606, allocations: 162.5 kB / 380.2 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1607, allocations: 4 kB / 380.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.1608, allocations: 34.56 kB / 380.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 4.359e-06/0.1608, allocations: 4 kB / 380.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001955/0.1628, allocations: 356 kB / 380.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.1629, allocations: 59.34 kB / 380.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1633, allocations: 174.7 kB / 380.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.1633, allocations: 25.7 kB / 380.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1635, allocations: 214.6 kB / 381.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.1637, allocations: 55.2 kB / 381.2 MB, free: 8.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.1637, allocations: 4 kB / 381.2 MB, free: 8.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1639, allocations: 326.8 kB / 381.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.1643, allocations: 52.34 kB / 381.5 MB, free: 8.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.1647, allocations: 97 kB / 381.6 MB, free: 8.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1651, allocations: 63.92 kB / 381.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1651, allocations: 0 / 381.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00116/0.1663, allocations: 222.1 kB / 381.9 MB, free: 7.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.1664, allocations: 9.859 kB / 381.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.1664, allocations: 4 kB / 381.9 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.1668, allocations: 28.97 kB / 381.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.1672, allocations: 43.92 kB / 382 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.1696, allocations: 1.374 MB / 383.4 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.1702, allocations: 35.77 kB / 383.4 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1703, allocations: 12 kB / 383.4 MB, free: 6.113 MB / 282.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 0.0002763/0.1706, allocations: 137.8 kB / 383.5 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.1707, allocations: 15.81 kB / 383.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.143e-05/0.1708, allocations: 21.88 kB / 383.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1708, allocations: 0 / 383.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.1709, allocations: 7.984 kB / 383.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1709, allocations: 0 / 383.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.1727, allocations: 0.5225 MB / 384.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1727, allocations: 3.938 kB / 384.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.1731, allocations: 31.92 kB / 384.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.1734, allocations: 36.78 kB / 384.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.1735, allocations: 4 kB / 384.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.1758, allocations: 1.366 MB / 385.6 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1759, allocations: 0 / 385.6 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.1774, allocations: 364 kB / 385.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.1777, allocations: 108.9 kB / 386 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.1778, allocations: 11.98 kB / 386 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.1783, allocations: 24.27 kB / 386.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.1785, allocations: 15.97 kB / 386.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1785, allocations: 4 kB / 386.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.1788, allocations: 136.3 kB / 386.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1788, allocations: 0 / 386.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007831/0.1796, allocations: 55.84 kB / 386.3 MB, free: 3.027 MB / 282.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 0.000236/0.1798, allocations: 103.2 kB / 386.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.1811, allocations: 274.6 kB / 386.6 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.1811, allocations: 0 / 386.6 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.1817, allocations: 190.7 kB / 386.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.1824, allocations: 32.12 kB / 386.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1842, allocations: 0.5845 MB / 387.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.1848, allocations: 0.7437 MB / 388.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1849, allocations: 15.44 kB / 388.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1849, allocations: 0 / 388.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Templates: time 0.386/0.571, allocations: 3.04 MB / 391.2 MB, free: 19.65 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches