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.001445/0.00145, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001164/0.001164, allocations: 92.38 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4475, allocations: 78.32 MB / 452.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4479, allocations: 75.95 kB / 452.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.4648, allocations: 3.872 MB / 456.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.598e-06/0.4649, allocations: 7.922 kB / 456.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.4649, allocations: 4 kB / 456.8 MB, free: 14.51 MB / 346.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.00122/0.4661, allocations: 0.5029 MB / 457.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4662, allocations: 8.031 kB / 457.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.4664, allocations: 23.72 kB / 457.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.4667, allocations: 221.1 kB / 457.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.4667, allocations: 28.33 kB / 457.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.4668, allocations: 27.98 kB / 457.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.4675, allocations: 225.8 kB / 457.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4675, allocations: 0 / 457.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.4676, allocations: 8 kB / 457.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4676, allocations: 4 kB / 457.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.4683, allocations: 169.6 kB / 458 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.4702, allocations: 0.8294 MB / 458.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.4709, allocations: 166.5 kB / 459 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.4709, allocations: 0 / 459 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.4709, allocations: 38.56 kB / 459 MB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.471, allocations: 0 / 459 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001382/0.4723, allocations: 359.4 kB / 459.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.4724, allocations: 55.34 kB / 459.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.4726, allocations: 161.8 kB / 459.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.4727, allocations: 29.7 kB / 459.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4728, allocations: 198.6 kB / 459.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.4729, allocations: 55.2 kB / 459.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.4729, allocations: 8 kB / 459.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4731, allocations: 318.8 kB / 460.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.4733, allocations: 52.34 kB / 460.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.4737, allocations: 100.2 kB / 460.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.474, allocations: 61.48 kB / 460.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.474, allocations: 0 / 460.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007822/0.4748, allocations: 214.3 kB / 460.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4748, allocations: 7.281 kB / 460.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4748, allocations: 7.938 kB / 460.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.4751, allocations: 28.84 kB / 460.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.4754, allocations: 40.06 kB / 460.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.477, allocations: 1.37 MB / 462.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.4774, allocations: 39.84 kB / 462.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.4774, allocations: 8 kB / 462.1 MB, free: 8.793 MB / 346.7 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 () * Number of clocked 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.0002121/0.4777, allocations: 133.8 kB / 462.2 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.4777, allocations: 19.81 kB / 462.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.4778, allocations: 30.08 kB / 462.3 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4778, allocations: 0 / 462.3 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4779, allocations: 7.984 kB / 462.3 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.4779, allocations: 0 / 462.3 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4791, allocations: 0.5299 MB / 462.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4791, allocations: 0 / 462.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.4794, allocations: 27.97 kB / 462.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.4796, allocations: 32.84 kB / 462.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.4796, allocations: 7.953 kB / 462.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.4811, allocations: 1.37 MB / 464.3 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4812, allocations: 0 / 464.3 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4822, allocations: 364 kB / 464.6 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4824, allocations: 105 kB / 464.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.4824, allocations: 8 kB / 464.7 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.4828, allocations: 27.92 kB / 464.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.4829, allocations: 19.97 kB / 464.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.4829, allocations: 3.984 kB / 464.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.4831, allocations: 132.3 kB / 464.9 MB, free: 5.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4831, allocations: 0 / 464.9 MB, free: 5.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000442/0.4836, allocations: 59.84 kB / 465 MB, free: 5.695 MB / 346.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.0001611/0.4837, allocations: 103.5 kB / 465.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008143/0.4846, allocations: 270.7 kB / 465.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4846, allocations: 4 kB / 465.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.485, allocations: 198.5 kB / 465.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4854, allocations: 36.12 kB / 465.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4867, allocations: 0.5789 MB / 466.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.487, allocations: 0.7401 MB / 466.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.4871, allocations: 23.38 kB / 466.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4871, allocations: 0 / 466.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of Templates: time 0.007325/0.4945, allocations: 3.052 MB / 470 MB, free: 0.6172 MB / 346.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