Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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) 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(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DTL|DTU|DT_mean_smooth|DT_mean_unsmooth|DT_wi|DT_wo|T_i.offset|T_i.shiftTime|T_i.startTime|T_i.table.1,1.|T_i.table.1,2.|T_i.table.2,1.|T_i.table.2,2.|T_i.table.3,1.|T_i.table.3,2.|T_i.table.4,1.|T_i.table.4,2.|T_i.table.5,1.|T_i.table.5,2.|T_i.table.6,1.|T_i.table.6,2.|T_i.timeScale|T_i.y|T_i1|T_o.amplitude|T_o.falling|T_o.nperiod|T_o.offset|T_o.period|T_o.rising|T_o.startTime|T_o.width|T_o.y|T_w|Time|Time_bak|_derdummy|_dummy",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DTL|DTU|DT_mean_smooth|DT_mean_unsmooth|DT_wi|DT_wo|T_i.offset|T_i.shiftTime|T_i.startTime|T_i.table.1,1.|T_i.table.1,2.|T_i.table.2,1.|T_i.table.2,2.|T_i.table.3,1.|T_i.table.3,2.|T_i.table.4,1.|T_i.table.4,2.|T_i.table.5,1.|T_i.table.5,2.|T_i.table.6,1.|T_i.table.6,2.|T_i.timeScale|T_i.y|T_i1|T_o.amplitude|T_o.falling|T_o.nperiod|T_o.offset|T_o.period|T_o.rising|T_o.startTime|T_o.width|T_o.y|T_w|Time|Time_bak|_derdummy|_dummy",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 181.1 kB / 15.98 MB, free: 5.77 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.323/1.323, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.001065/0.001066, allocations: 89.98 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08349/0.08349, allocations: 20.11 MB / 360.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9496/0.9496, allocations: 126.4 MB / 0.5296 GB, free: 14.98 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 75.89 kB / 0.6208 GB, free: 1.527 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3867, allocations: 81.16 MB / 0.7 GB, free: 33.23 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log): time 0.003145/0.3899, allocations: 2.216 MB / 0.7022 GB, free: 31.69 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3914, allocations: 0.9109 MB / 0.7031 GB, free: 31.08 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3915, allocations: 0 / 0.7031 GB, free: 31.08 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.3916, allocations: 35.94 kB / 0.7031 GB, free: 31.07 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3918, allocations: 57.59 kB / 0.7032 GB, free: 31.05 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.3924, allocations: 152.5 kB / 0.7033 GB, free: 30.98 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3926, allocations: 155.8 kB / 0.7035 GB, free: 30.93 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.3927, allocations: 12.45 kB / 0.7035 GB, free: 30.92 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3928, allocations: 78.73 kB / 0.7036 GB, free: 30.89 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.393, allocations: 107.9 kB / 0.7037 GB, free: 30.86 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.393, allocations: 7.156 kB / 0.7037 GB, free: 30.86 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.3935, allocations: 252.7 kB / 0.7039 GB, free: 30.79 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.3936, allocations: 33.55 kB / 0.7039 GB, free: 30.77 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.3937, allocations: 60.72 kB / 0.704 GB, free: 30.74 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.394, allocations: 241.5 kB / 0.7042 GB, free: 30.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.394, allocations: 5.25 kB / 0.7042 GB, free: 30.66 MB / 474.8 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3941, allocations: 0 / 0.7042 GB, free: 30.66 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3941, allocations: 0 / 0.7042 GB, free: 30.66 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001094/0.3952, allocations: 0.5584 MB / 0.7048 GB, free: 30.17 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3952, allocations: 9.938 kB / 0.7048 GB, free: 30.17 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.3953, allocations: 14.72 kB / 0.7048 GB, free: 30.16 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3955, allocations: 222.8 kB / 0.705 GB, free: 29.93 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3955, allocations: 3.781 kB / 0.705 GB, free: 29.93 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3956, allocations: 10.77 kB / 0.705 GB, free: 29.93 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.3962, allocations: 199.4 kB / 0.7052 GB, free: 29.86 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3962, allocations: 4 kB / 0.7052 GB, free: 29.86 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3962, allocations: 5.406 kB / 0.7052 GB, free: 29.85 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3962, allocations: 4.969 kB / 0.7052 GB, free: 29.85 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.3971, allocations: 210.8 kB / 0.7054 GB, free: 29.82 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.3979, allocations: 408.2 kB / 0.7058 GB, free: 29.48 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.3986, allocations: 191 kB / 0.706 GB, free: 29.38 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.3991, allocations: 128.8 kB / 0.7061 GB, free: 29.32 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3991, allocations: 7.312 kB / 0.7061 GB, free: 29.31 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007005/0.3998, allocations: 218.3 kB / 0.7063 GB, free: 29.16 MB / 474.8 MB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.3998, allocations: 0 / 0.7063 GB, free: 29.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=18): time 0.001617/0.4015, allocations: 456.2 kB / 0.7068 GB, free: 28.93 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4015, allocations: 84.55 kB / 0.7069 GB, free: 28.84 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.4017, allocations: 184.1 kB / 0.707 GB, free: 28.7 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4018, allocations: 31.58 kB / 0.7071 GB, free: 28.66 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.4018, allocations: 113.7 kB / 0.7072 GB, free: 28.55 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.4019, allocations: 50.19 kB / 0.7072 GB, free: 28.51 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.402, allocations: 42.22 kB / 0.7073 GB, free: 28.48 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.402, allocations: 331.8 kB / 0.7076 GB, free: 28.15 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.4025, allocations: 111.2 kB / 0.7077 GB, free: 28.11 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.4029, allocations: 127.6 kB / 0.7078 GB, free: 28.04 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.4038, allocations: 305.4 kB / 0.7081 GB, free: 27.84 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4039, allocations: 3.938 kB / 0.7081 GB, free: 27.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001076/0.4049, allocations: 401.8 kB / 0.7085 GB, free: 27.61 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.405, allocations: 64.58 kB / 0.7086 GB, free: 27.54 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.405, allocations: 0.9688 kB / 0.7086 GB, free: 27.54 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.405, allocations: 2.5 kB / 0.7086 GB, free: 27.54 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.4053, allocations: 43.83 kB / 0.7086 GB, free: 27.53 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4053, allocations: 5.375 kB / 0.7086 GB, free: 27.52 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.4056, allocations: 37.39 kB / 0.7086 GB, free: 27.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4057, allocations: 12.38 kB / 0.7086 GB, free: 27.5 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (T_i.nextEventScaled,T_i.nextEvent,$PRE.T_i.nextEvent,T_i.last,T_i.b,T_i.a,T_o.count,$PRE.T_o.count,T_o.T_start,$PRE.T_o.T_start,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.4058, allocations: 169.9 kB / 0.7088 GB, free: 27.34 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.4058, allocations: 20.7 kB / 0.7088 GB, free: 27.32 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.407, allocations: 442.4 kB / 0.7093 GB, free: 27.09 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.407, allocations: 5.469 kB / 0.7093 GB, free: 27.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.407, allocations: 1.406 kB / 0.7093 GB, free: 27.09 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.407, allocations: 0 / 0.7093 GB, free: 27.09 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.4072, allocations: 265.8 kB / 0.7095 GB, free: 26.83 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4072, allocations: 0 / 0.7095 GB, free: 26.83 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.4075, allocations: 44.83 kB / 0.7096 GB, free: 26.81 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4075, allocations: 5.984 kB / 0.7096 GB, free: 26.81 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.4075, allocations: 8.125 kB / 0.7096 GB, free: 26.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4075, allocations: 2.031 kB / 0.7096 GB, free: 26.8 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4075, allocations: 0 / 0.7096 GB, free: 26.8 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.4091, allocations: 1.147 MB / 0.7107 GB, free: 25.89 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.4092, allocations: 93.8 kB / 0.7108 GB, free: 25.79 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.4092, allocations: 12.03 kB / 0.7108 GB, free: 25.78 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.4094, allocations: 28.48 kB / 0.7108 GB, free: 25.77 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.4095, allocations: 21.03 kB / 0.7108 GB, free: 25.76 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.4096, allocations: 18.89 kB / 0.7109 GB, free: 25.75 MB / 474.8 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.4097, allocations: 129.6 kB / 0.711 GB, free: 25.65 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4097, allocations: 3.938 kB / 0.711 GB, free: 25.65 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0004366/0.4101, allocations: 71.42 kB / 0.7111 GB, free: 25.63 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($cse5,$cse6,$whenCondition1,$whenCondition2,T_o.T_start,T_o.count,T_i.a,T_i.b,T_i.last,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 7 (T_o.count,T_i.nextEvent,T_i.last,T_i.nextEventScaled,T_i.b,T_i.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.4103, allocations: 141.6 kB / 0.7112 GB, free: 25.53 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.4113, allocations: 430.2 kB / 0.7116 GB, free: 25.26 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4114, allocations: 0 / 0.7116 GB, free: 25.26 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.4118, allocations: 245.4 kB / 0.7118 GB, free: 25.11 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.4121, allocations: 27.84 kB / 0.7119 GB, free: 25.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.413, allocations: 0.5541 MB / 0.7124 GB, free: 24.66 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4131, allocations: 0.7263 MB / 0.7131 GB, free: 23.95 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.4132, allocations: 22.83 kB / 0.7131 GB, free: 23.94 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.4133, allocations: 30.09 kB / 0.7132 GB, free: 23.93 MB / 474.8 MB Notification: Performance of SimCode: time 4.71e-07/0.4133, allocations: 0 / 0.7132 GB, free: 23.93 MB / 474.8 MB Notification: Performance of Templates: time 0.005456/0.4188, allocations: 3.087 MB / 0.7162 GB, free: 22.41 MB / 474.8 MB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1)