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.0008705/0.0008704, allocations: 182.3 kB / 17.41 MB, free: 4.406 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.381/1.381, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0008172/0.000817, allocations: 97.12 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2767, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09962/0.3764, allocations: 78.36 MB / 454.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3767, allocations: 67.97 kB / 454.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.3871, allocations: 3.88 MB / 458 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3872, allocations: 3.938 kB / 458 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3872, allocations: 4 kB / 458 MB, free: 14.29 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.0007753/0.388, allocations: 0.507 MB / 458.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.388, allocations: 8.031 kB / 458.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3881, allocations: 28.66 kB / 458.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.3884, allocations: 226.3 kB / 458.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3884, allocations: 16.81 kB / 458.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.3885, allocations: 20.38 kB / 458.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.3889, allocations: 242.1 kB / 459.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3889, allocations: 0 / 459.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.389, allocations: 12 kB / 459.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.389, allocations: 7.984 kB / 459.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.3894, allocations: 165.7 kB / 459.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3906, allocations: 0.8254 MB / 460.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.391, allocations: 158.5 kB / 460.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3912, allocations: 88.83 kB / 460.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3913, allocations: 3.984 kB / 460.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3913, allocations: 34.56 kB / 460.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 4.639e-06/0.3913, allocations: 3.984 kB / 460.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008974/0.3922, allocations: 362.9 kB / 460.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3923, allocations: 55.41 kB / 460.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3924, allocations: 178.7 kB / 460.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3925, allocations: 29.7 kB / 461 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.3926, allocations: 144.2 kB / 461.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.3926, allocations: 55.2 kB / 461.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-06/0.3926, allocations: 4 kB / 461.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3928, allocations: 326.8 kB / 461.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.3929, allocations: 63.95 kB / 461.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3931, allocations: 87.53 kB / 461.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3934, allocations: 148.2 kB / 461.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3934, allocations: 0 / 461.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004511/0.3939, allocations: 224.3 kB / 462 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3939, allocations: 11.94 kB / 462 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3939, allocations: 0 / 462 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.3941, allocations: 32.84 kB / 462 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3943, allocations: 40 kB / 462.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.3954, allocations: 1.362 MB / 463.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3956, allocations: 43.91 kB / 463.5 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3956, allocations: 4 kB / 463.5 MB, free: 8.414 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.0001278/0.3958, allocations: 133.7 kB / 463.6 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.3958, allocations: 15.81 kB / 463.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.3959, allocations: 25.88 kB / 463.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3959, allocations: 0 / 463.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3959, allocations: 4 kB / 463.7 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3959, allocations: 3.984 kB / 463.7 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.3966, allocations: 0.5264 MB / 464.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3967, allocations: 0 / 464.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3968, allocations: 27.92 kB / 464.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.3969, allocations: 40.95 kB / 464.3 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.397, allocations: 3.938 kB / 464.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.398, allocations: 1.355 MB / 465.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.398, allocations: 4.031 kB / 465.6 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.3986, allocations: 368 kB / 466 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.3987, allocations: 104.9 kB / 466.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3988, allocations: 7.875 kB / 466.1 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.399, allocations: 32.03 kB / 466.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.399, allocations: 15.97 kB / 466.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3991, allocations: 11.94 kB / 466.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3992, allocations: 123.2 kB / 466.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3992, allocations: 0 / 466.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.3995, allocations: 67.83 kB / 466.3 MB, free: 5.32 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.0001273/0.3996, allocations: 95.25 kB / 466.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005236/0.4002, allocations: 270.8 kB / 466.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4002, allocations: 0 / 466.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4005, allocations: 194.5 kB / 466.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4008, allocations: 32.12 kB / 466.9 MB, free: 4.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.4017, allocations: 0.5964 MB / 467.5 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.402, allocations: 0.7362 MB / 468.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.4021, allocations: 15.44 kB / 468.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4021, allocations: 0 / 468.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of Templates: time 0.004923/0.407, allocations: 3.131 MB / 471.4 MB, free: 184 kB / 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