Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.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_arith,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DT_mean|DT_wi|DT_wo|T_i.amplitude|T_i.falling|T_i.nperiod|T_i.offset|T_i.period|T_i.rising|T_i.startTime|T_i.width|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|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DT_mean|DT_wi|DT_wo|T_i.amplitude|T_i.falling|T_i.nperiod|T_i.offset|T_i.period|T_i.rising|T_i.startTime|T_i.width|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|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 182.4 kB / 15.98 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.262/1.262, allocations: 222.9 MB / 239.6 MB, free: 11 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.00098/0.0009801, allocations: 103.8 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.08246/0.08246, 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.9421/0.9421, allocations: 126.3 MB / 0.5296 GB, free: 14.98 MB / 362.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 0.6208 GB, free: 1.512 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3741, allocations: 81.16 MB / 0.7 GB, free: 33.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith): time 0.002945/0.377, allocations: 2.279 MB / 0.7023 GB, free: 31.76 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3781, allocations: 0.6831 MB / 0.7029 GB, free: 31.29 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.3781, allocations: 2.219 kB / 0.7029 GB, free: 31.29 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.3782, allocations: 6.656 kB / 0.7029 GB, free: 31.29 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3783, allocations: 27.59 kB / 0.703 GB, free: 31.27 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.3786, allocations: 86.73 kB / 0.7031 GB, free: 31.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3788, allocations: 152.4 kB / 0.7032 GB, free: 31.17 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.3789, allocations: 13 kB / 0.7032 GB, free: 31.16 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.379, allocations: 70.33 kB / 0.7033 GB, free: 31.13 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3791, allocations: 79.16 kB / 0.7034 GB, free: 31.1 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.3792, allocations: 8.25 kB / 0.7034 GB, free: 31.1 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.3794, allocations: 165.7 kB / 0.7035 GB, free: 31.05 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.3795, allocations: 26.66 kB / 0.7035 GB, free: 31.04 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.3796, allocations: 61.88 kB / 0.7036 GB, free: 31 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3799, allocations: 175.8 kB / 0.7038 GB, free: 30.95 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3799, allocations: 1.094 kB / 0.7038 GB, free: 30.95 MB / 474.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3799, allocations: 0 / 0.7038 GB, free: 30.95 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3799, allocations: 0 / 0.7038 GB, free: 30.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001028/0.3809, allocations: 0.5345 MB / 0.7043 GB, free: 30.47 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.381, allocations: 10.02 kB / 0.7043 GB, free: 30.47 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.381, allocations: 11.88 kB / 0.7043 GB, free: 30.47 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3812, allocations: 207.4 kB / 0.7045 GB, free: 30.24 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3812, allocations: 5.547 kB / 0.7045 GB, free: 30.24 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3812, allocations: 8.688 kB / 0.7045 GB, free: 30.24 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.3818, allocations: 165.8 kB / 0.7047 GB, free: 30.18 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3818, allocations: 1.359 kB / 0.7047 GB, free: 30.18 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3818, allocations: 1.562 kB / 0.7047 GB, free: 30.18 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3818, allocations: 1.719 kB / 0.7047 GB, free: 30.18 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.3828, allocations: 203.7 kB / 0.7049 GB, free: 30.15 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.3832, allocations: 353.1 kB / 0.7052 GB, free: 29.81 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.384, allocations: 222.3 kB / 0.7054 GB, free: 29.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.3845, allocations: 121.3 kB / 0.7055 GB, free: 29.64 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3845, allocations: 6.516 kB / 0.7056 GB, free: 29.64 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.3852, allocations: 190.1 kB / 0.7057 GB, free: 29.51 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3852, allocations: 0 / 0.7057 GB, free: 29.51 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.001418/0.3866, allocations: 374.2 kB / 0.7061 GB, free: 29.33 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3866, allocations: 55.34 kB / 0.7061 GB, free: 29.27 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3868, allocations: 166 kB / 0.7063 GB, free: 29.13 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3868, allocations: 32.33 kB / 0.7063 GB, free: 29.09 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.3869, allocations: 97.64 kB / 0.7064 GB, free: 29 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3869, allocations: 41.05 kB / 0.7065 GB, free: 28.96 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.387, allocations: 34.7 kB / 0.7065 GB, free: 28.94 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.387, allocations: 330 kB / 0.7068 GB, free: 28.61 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.3875, allocations: 110.9 kB / 0.7069 GB, free: 28.56 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.388, allocations: 141.1 kB / 0.7071 GB, free: 28.48 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.3888, allocations: 271.9 kB / 0.7073 GB, free: 28.32 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3888, allocations: 3.531 kB / 0.7073 GB, free: 28.32 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001003/0.3898, allocations: 357.3 kB / 0.7077 GB, free: 28.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.3899, allocations: 62.25 kB / 0.7077 GB, free: 28.04 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3899, allocations: 4.969 kB / 0.7077 GB, free: 28.03 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3899, allocations: 5.75 kB / 0.7077 GB, free: 28.03 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.3902, allocations: 47.19 kB / 0.7078 GB, free: 28.01 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3902, allocations: 5.078 kB / 0.7078 GB, free: 28.01 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.3905, allocations: 44.62 kB / 0.7078 GB, free: 27.99 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.3906, allocations: 5.562 kB / 0.7078 GB, free: 27.99 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: 10 (T_i.count,$PRE.T_i.count,T_i.T_start,$PRE.T_i.T_start,T_o.count,$PRE.T_o.count,T_o.T_start,$PRE.T_o.T_start,$whenCondition1,$whenCondition2) * 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 8.299e-05/0.3907, allocations: 132.9 kB / 0.708 GB, free: 27.86 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3907, allocations: 15.28 kB / 0.708 GB, free: 27.85 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.3917, allocations: 291.4 kB / 0.7082 GB, free: 27.7 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3917, allocations: 2.656 kB / 0.7082 GB, free: 27.7 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3917, allocations: 3.984 kB / 0.7083 GB, free: 27.7 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3917, allocations: 3.188 kB / 0.7083 GB, free: 27.7 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3919, allocations: 234.6 kB / 0.7085 GB, free: 27.44 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3919, allocations: 0.9688 kB / 0.7085 GB, free: 27.44 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3922, allocations: 45 kB / 0.7085 GB, free: 27.43 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3922, allocations: 1.469 kB / 0.7085 GB, free: 27.43 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3922, allocations: 9.547 kB / 0.7085 GB, free: 27.42 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3922, allocations: 5.031 kB / 0.7085 GB, free: 27.41 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3922, allocations: 0.5 kB / 0.7085 GB, free: 27.41 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3937, allocations: 0.9888 MB / 0.7095 GB, free: 26.59 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.3938, allocations: 92.84 kB / 0.7096 GB, free: 26.48 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.3938, allocations: 5.5 kB / 0.7096 GB, free: 26.48 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.3941, allocations: 40.84 kB / 0.7096 GB, free: 26.46 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3942, allocations: 34.61 kB / 0.7097 GB, free: 26.44 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3942, allocations: 3 kB / 0.7097 GB, free: 26.44 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.272e-05/0.3943, allocations: 129.3 kB / 0.7098 GB, free: 26.34 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3943, allocations: 1.312 kB / 0.7098 GB, free: 26.34 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000351/0.3946, allocations: 31.84 kB / 0.7098 GB, free: 26.34 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: 6 ($whenCondition2,$whenCondition1,T_o.T_start,T_o.count,T_i.T_start,T_i.count) * Number of discrete states: 2 (T_o.count,T_i.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001533/0.3948, allocations: 107.2 kB / 0.7099 GB, free: 26.24 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.3958, allocations: 366.9 kB / 0.7103 GB, free: 26 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3958, allocations: 2.438 kB / 0.7103 GB, free: 26 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.3963, allocations: 132.7 kB / 0.7104 GB, free: 25.95 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3965, allocations: 25.41 kB / 0.7104 GB, free: 25.94 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.3972, allocations: 423.9 kB / 0.7108 GB, free: 25.58 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3973, allocations: 0.7072 MB / 0.7115 GB, free: 24.87 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.3974, allocations: 14.36 kB / 0.7115 GB, free: 24.87 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.3975, allocations: 19.56 kB / 0.7116 GB, free: 24.86 MB / 474.8 MB Notification: Performance of SimCode: time 2.31e-07/0.3975, allocations: 0 / 0.7116 GB, free: 24.86 MB / 474.8 MB Notification: Performance of Templates: time 0.004798/0.4023, allocations: 2.483 MB / 0.714 GB, free: 23.66 MB / 474.8 MB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.mat","../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches