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.002103/0.002108, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 89.73 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.906e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3394, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.466, allocations: 77.56 MB / 439.9 MB, free: 8.758 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4663, allocations: 72.97 kB / 440 MB, free: 8.688 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.4832, allocations: 3.828 MB / 443.8 MB, free: 4.875 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4833, allocations: 4 kB / 443.8 MB, free: 4.871 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.4833, allocations: 8 kB / 443.8 MB, free: 4.863 MB / 331.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.001123/0.4845, allocations: 499.6 kB / 444.3 MB, free: 4.336 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4845, allocations: 8.031 kB / 444.3 MB, free: 4.328 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.4847, allocations: 24.92 kB / 444.3 MB, free: 4.305 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.4851, allocations: 229.2 kB / 444.5 MB, free: 4.043 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4851, allocations: 15.95 kB / 444.6 MB, free: 4.027 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.4852, allocations: 12 kB / 444.6 MB, free: 4.016 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000394/0.4856, allocations: 116.5 kB / 444.7 MB, free: 3.906 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.4861, allocations: 181 kB / 444.9 MB, free: 3.715 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4861, allocations: 0 / 444.9 MB, free: 3.715 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.4862, allocations: 0 / 444.9 MB, free: 3.715 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4862, allocations: 8 kB / 444.9 MB, free: 3.707 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.488, allocations: 0.7656 MB / 445.6 MB, free: 2.883 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.4885, allocations: 137.2 kB / 445.8 MB, free: 2.742 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4887, allocations: 64.86 kB / 445.8 MB, free: 2.676 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4887, allocations: 4 kB / 445.8 MB, free: 2.672 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4888, allocations: 30.56 kB / 445.9 MB, free: 2.633 MB / 331.1 MB Notification: Performance of pre-optimization done (n=16): time 3.216e-06/0.4888, allocations: 0 / 445.9 MB, free: 2.633 MB / 331.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006134/0.4894, allocations: 154.4 kB / 446 MB, free: 2.473 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4895, allocations: 51.41 kB / 446.1 MB, free: 2.41 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.4897, allocations: 129.4 kB / 446.2 MB, free: 2.277 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.4897, allocations: 33.7 kB / 446.2 MB, free: 2.238 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.4899, allocations: 211.4 kB / 446.4 MB, free: 2.031 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.4899, allocations: 51.2 kB / 446.5 MB, free: 1.98 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.49, allocations: 0 / 446.5 MB, free: 1.98 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4901, allocations: 318.8 kB / 446.8 MB, free: 1.66 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4902, allocations: 42.38 kB / 446.8 MB, free: 1.621 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4904, allocations: 67.92 kB / 446.9 MB, free: 1.543 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4905, allocations: 50.73 kB / 446.9 MB, free: 1.496 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4906, allocations: 0 / 446.9 MB, free: 1.496 MB / 331.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004758/0.491, allocations: 161.3 kB / 447.1 MB, free: 1.332 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4911, allocations: 4 kB / 447.1 MB, free: 1.328 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4911, allocations: 4 kB / 447.1 MB, free: 1.324 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.4914, allocations: 28.94 kB / 447.1 MB, free: 1.293 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.4917, allocations: 39.92 kB / 447.2 MB, free: 1.254 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4932, allocations: 1.311 MB / 448.5 MB, free: 15.82 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.4936, allocations: 31.91 kB / 448.5 MB, free: 15.79 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4936, allocations: 4 kB / 448.5 MB, free: 15.79 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001319/0.4938, allocations: 116.9 kB / 448.6 MB, free: 15.66 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.4938, allocations: 15.91 kB / 448.7 MB, free: 15.65 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.4939, allocations: 12.75 kB / 448.7 MB, free: 15.64 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4939, allocations: 4 kB / 448.7 MB, free: 15.63 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4939, allocations: 0 / 448.7 MB, free: 15.63 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4939, allocations: 3.984 kB / 448.7 MB, free: 15.63 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.4948, allocations: 448.5 kB / 449.1 MB, free: 15.14 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4948, allocations: 0 / 449.1 MB, free: 15.14 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4951, allocations: 27.98 kB / 449.1 MB, free: 15.12 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.4953, allocations: 36.83 kB / 449.2 MB, free: 15.08 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4953, allocations: 0 / 449.2 MB, free: 15.08 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.4967, allocations: 1.305 MB / 450.5 MB, free: 13.66 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.4968, allocations: 3.984 kB / 450.5 MB, free: 13.66 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.4975, allocations: 303.8 kB / 450.8 MB, free: 13.34 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4976, allocations: 100.9 kB / 450.9 MB, free: 13.23 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4977, allocations: 7.953 kB / 450.9 MB, free: 13.22 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.498, allocations: 33.34 kB / 450.9 MB, free: 13.19 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.4981, allocations: 11.98 kB / 450.9 MB, free: 13.18 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4982, allocations: 3.984 kB / 450.9 MB, free: 13.17 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4983, allocations: 114.3 kB / 451 MB, free: 13.06 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4983, allocations: 0 / 451 MB, free: 13.06 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.4988, allocations: 55.84 kB / 451.1 MB, free: 13.01 MB / 347.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) * 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.0001745/0.499, allocations: 99.19 kB / 451.2 MB, free: 12.9 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.4996, allocations: 217.6 kB / 451.4 MB, free: 12.68 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4996, allocations: 6.375 kB / 451.4 MB, free: 12.68 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.4999, allocations: 161.7 kB / 451.6 MB, free: 12.51 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.5003, allocations: 25.97 kB / 451.6 MB, free: 12.48 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.5012, allocations: 308.5 kB / 451.9 MB, free: 12.16 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.5016, allocations: 0.7397 MB / 452.6 MB, free: 11.39 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.5017, allocations: 19.38 kB / 452.7 MB, free: 11.37 MB / 347.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5017, allocations: 0 / 452.7 MB, free: 11.37 MB / 347.1 MB Notification: Performance of Templates: time 0.00776/0.5095, allocations: 2.924 MB / 455.6 MB, free: 8.473 MB / 347.1 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