Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008759/0.000876, allocations: 94.44 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 4 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09044/0.2944, allocations: 79.45 MB / 480.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.2947, allocations: 69.06 kB / 481 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.3049, allocations: 3.938 MB / 484.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.305, allocations: 0 / 484.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.305, allocations: 8 kB / 485 MB, free: 13 MB / 362.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.0007013/0.3057, allocations: 0.5106 MB / 485.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3057, allocations: 12.03 kB / 485.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3058, allocations: 23.72 kB / 485.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3061, allocations: 224.5 kB / 485.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3061, allocations: 16.44 kB / 485.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3062, allocations: 23.94 kB / 485.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.3066, allocations: 225.8 kB / 486 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3066, allocations: 4 kB / 486 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.3066, allocations: 15.95 kB / 486 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3066, allocations: 4 kB / 486 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.307, allocations: 165.6 kB / 486.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.3082, allocations: 0.8244 MB / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3086, allocations: 166.7 kB / 487.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3086, allocations: 4 kB / 487.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3086, allocations: 34.56 kB / 487.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.3086, allocations: 0 / 487.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008495/0.3095, allocations: 358.8 kB / 487.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3096, allocations: 55.41 kB / 487.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3097, allocations: 162.3 kB / 487.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3097, allocations: 29.7 kB / 487.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.3098, allocations: 140.2 kB / 487.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.3099, allocations: 55.19 kB / 488 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.3099, allocations: 11.94 kB / 488 MB, free: 9.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.31, allocations: 318.8 kB / 488.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3101, allocations: 60.34 kB / 488.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.3103, allocations: 95.14 kB / 488.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3105, allocations: 62.7 kB / 488.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3105, allocations: 0 / 488.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004386/0.3109, allocations: 222.1 kB / 488.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3109, allocations: 11.98 kB / 488.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3109, allocations: 0 / 488.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.3111, allocations: 32.84 kB / 488.8 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.3113, allocations: 31.92 kB / 488.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3124, allocations: 1.378 MB / 490.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3126, allocations: 43.91 kB / 490.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3126, allocations: 4 kB / 490.2 MB, free: 7.32 MB / 362.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.0001104/0.3127, allocations: 125.8 kB / 490.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.3128, allocations: 19.77 kB / 490.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.3128, allocations: 21.88 kB / 490.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3128, allocations: 7.938 kB / 490.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3129, allocations: 0 / 490.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3129, allocations: 7.984 kB / 490.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.3136, allocations: 0.5263 MB / 490.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3136, allocations: 0 / 490.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3138, allocations: 39.91 kB / 491 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.3139, allocations: 28.84 kB / 491 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3139, allocations: 4 kB / 491 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009546/0.3149, allocations: 1.367 MB / 492.4 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3149, allocations: 7.938 kB / 492.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.3155, allocations: 364.1 kB / 492.7 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.3156, allocations: 100.9 kB / 492.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3156, allocations: 15.94 kB / 492.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3158, allocations: 28.05 kB / 492.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.3159, allocations: 19.97 kB / 492.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3159, allocations: 4 kB / 492.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.316, allocations: 127.2 kB / 493 MB, free: 4.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.316, allocations: 0 / 493 MB, free: 4.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.3163, allocations: 55.91 kB / 493.1 MB, free: 4.223 MB / 362.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.000121/0.3165, allocations: 113 kB / 493.2 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.317, allocations: 262.6 kB / 493.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.317, allocations: 4.125 kB / 493.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.3173, allocations: 209.7 kB / 493.6 MB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3175, allocations: 31.09 kB / 493.7 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.3183, allocations: 0.5542 MB / 494.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3185, allocations: 0.7401 MB / 495 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.3186, allocations: 17.55 kB / 495 MB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.3186, allocations: 11.44 kB / 495 MB, free: 2.219 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3186, allocations: 4 kB / 495 MB, free: 2.215 MB / 362.7 MB Notification: Performance of Templates: time 0.004681/0.3233, allocations: 2.158 MB / 497.2 MB, free: 84 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches