Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 99.41 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 180 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 224 MB, free: 13.13 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000826/0.000826, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1493, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00263/0.152, allocations: 1.973 MB / 330.3 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1531, allocations: 0.6325 MB / 330.9 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1532, allocations: 4 kB / 330.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.1533, allocations: 15.84 kB / 331 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1535, allocations: 83.75 kB / 331 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1537, allocations: 47.89 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.154, allocations: 187.5 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1542, allocations: 77.28 kB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1543, allocations: 79.72 kB / 331.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1545, allocations: 95.59 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.1546, allocations: 16 kB / 331.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1546, allocations: 15.94 kB / 331.5 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.1547, allocations: 35.91 kB / 331.6 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.1548, allocations: 61.58 kB / 331.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.155, allocations: 187.7 kB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.155, allocations: 0 / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.155, allocations: 0 / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.155, allocations: 0 / 331.8 MB, free: 0.5703 MB / 270.1 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.0008958/0.1559, allocations: 0.5185 MB / 332.3 MB, free: 0 / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.156, allocations: 12.08 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1561, allocations: 23.72 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1564, allocations: 227 kB / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1564, allocations: 20.39 kB / 332.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1565, allocations: 27.98 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.1569, allocations: 229.8 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1569, allocations: 0 / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.157, allocations: 4 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.157, allocations: 7.938 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.1574, allocations: 173.6 kB / 333 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1586, allocations: 0.8283 MB / 333.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.159, allocations: 166.5 kB / 334 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.159, allocations: 0 / 334 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.159, allocations: 38.56 kB / 334.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1591, allocations: 4 kB / 334.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008544/0.1599, allocations: 355.4 kB / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.16, allocations: 51.41 kB / 334.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1601, allocations: 178.7 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1602, allocations: 25.7 kB / 334.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.1603, allocations: 148.1 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1603, allocations: 51.2 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.1603, allocations: 4 kB / 334.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1604, allocations: 330.8 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1606, allocations: 60.33 kB / 335.3 MB, free: 12.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1608, allocations: 92.95 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1609, allocations: 63.97 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1609, allocations: 0 / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004367/0.1614, allocations: 237.2 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1614, allocations: 4 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1614, allocations: 0 / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.1616, allocations: 36.83 kB / 335.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1618, allocations: 40.05 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1629, allocations: 1.378 MB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1631, allocations: 43.81 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1631, allocations: 4 kB / 337.1 MB, free: 10.82 MB / 286.1 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.0001224/0.1632, allocations: 133.9 kB / 337.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1633, allocations: 19.81 kB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.1633, allocations: 21.88 kB / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1633, allocations: 0 / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1633, allocations: 0 / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1634, allocations: 0 / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.1641, allocations: 0.5302 MB / 337.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1641, allocations: 0 / 337.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1643, allocations: 31.92 kB / 337.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.1644, allocations: 41.05 kB / 337.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1644, allocations: 4 kB / 337.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009535/0.1654, allocations: 1.363 MB / 339.3 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1654, allocations: 3.984 kB / 339.3 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.166, allocations: 373.3 kB / 339.7 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.1661, allocations: 108.9 kB / 339.8 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1661, allocations: 4 kB / 339.8 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1663, allocations: 27.97 kB / 339.8 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.1664, allocations: 15.97 kB / 339.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1664, allocations: 8 kB / 339.8 MB, free: 7.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.1665, allocations: 124.3 kB / 339.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1665, allocations: 4 kB / 339.9 MB, free: 7.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1668, allocations: 59.84 kB / 340 MB, free: 7.727 MB / 286.1 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.0001294/0.1669, allocations: 99.23 kB / 340.1 MB, free: 7.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.1675, allocations: 275.4 kB / 340.4 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1675, allocations: 0 / 340.4 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.1677, allocations: 190.6 kB / 340.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.168, allocations: 36.06 kB / 340.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.1688, allocations: 0.5656 MB / 341.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1691, allocations: 0.7437 MB / 341.9 MB, free: 5.746 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.298e-05/0.1692, allocations: 17.48 kB / 341.9 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1692, allocations: 15.44 kB / 341.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1692, allocations: 4 kB / 341.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of Templates: time 0.004857/0.1741, allocations: 2.109 MB / 344 MB, free: 3.609 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches