Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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/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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) 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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="A12|A3|A41|CPUtime|DTL|DTU|DT_mean1|DT_mean2|DT_mean3|DT_mean4|DT_mean5|DT_wi|DT_wo|EventCounter|T_in|T_out|T_w|Time|_derdummy|_dummy|ep|rampT_in.offset|rampT_in.shiftTime|rampT_in.startTime|rampT_in.table.1,1.|rampT_in.table.1,2.|rampT_in.table.2,1.|rampT_in.table.2,2.|rampT_in.table.3,1.|rampT_in.table.3,2.|rampT_in.table.4,1.|rampT_in.table.4,2.|rampT_in.table.5,1.|rampT_in.table.5,2.|rampT_in.table.6,1.|rampT_in.table.6,2.|rampT_in.timeScale|rampT_in.y|rampT_out.duration|rampT_out.height|rampT_out.offset|rampT_out.startTime|rampT_out.y|rampT_out2.offset|rampT_out2.shiftTime|rampT_out2.startTime|rampT_out2.table.1,1.|rampT_out2.table.1,2.|rampT_out2.table.2,1.|rampT_out2.table.2,2.|rampT_out2.table.3,1.|rampT_out2.table.3,2.|rampT_out2.table.4,1.|rampT_out2.table.4,2.|rampT_out2.table.5,1.|rampT_out2.table.5,2.|rampT_out2.table.6,1.|rampT_out2.table.6,2.|rampT_out2.timeScale|rampT_out2.y|rampT_w.duration|rampT_w.height|rampT_w.offset|rampT_w.startTime|rampT_w.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") translateModel(ClaRa.Basics.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="A12|A3|A41|CPUtime|DTL|DTU|DT_mean1|DT_mean2|DT_mean3|DT_mean4|DT_mean5|DT_wi|DT_wo|EventCounter|T_in|T_out|T_w|Time|_derdummy|_dummy|ep|rampT_in.offset|rampT_in.shiftTime|rampT_in.startTime|rampT_in.table.1,1.|rampT_in.table.1,2.|rampT_in.table.2,1.|rampT_in.table.2,2.|rampT_in.table.3,1.|rampT_in.table.3,2.|rampT_in.table.4,1.|rampT_in.table.4,2.|rampT_in.table.5,1.|rampT_in.table.5,2.|rampT_in.table.6,1.|rampT_in.table.6,2.|rampT_in.timeScale|rampT_in.y|rampT_out.duration|rampT_out.height|rampT_out.offset|rampT_out.startTime|rampT_out.y|rampT_out2.offset|rampT_out2.shiftTime|rampT_out2.startTime|rampT_out2.table.1,1.|rampT_out2.table.1,2.|rampT_out2.table.2,1.|rampT_out2.table.2,2.|rampT_out2.table.3,1.|rampT_out2.table.3,2.|rampT_out2.table.4,1.|rampT_out2.table.4,2.|rampT_out2.table.5,1.|rampT_out2.table.5,2.|rampT_out2.table.6,1.|rampT_out2.table.6,2.|rampT_out2.timeScale|rampT_out2.y|rampT_w.duration|rampT_w.height|rampT_w.offset|rampT_w.startTime|rampT_w.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01058/0.01058, allocations: 1.436 MB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1708/0.1708, allocations: 22.37 MB / 41.16 MB, free: 7.766 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108 kB / 48.65 MB, free: 252 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 194.1 kB / 56.25 MB, free: 9.461 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 222.9 MB / 286.6 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.053/1.053, allocations: 127.8 MB / 471.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00501/0.005011, allocations: 123.8 kB / 0.6359 GB, free: 13.21 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6918, allocations: 82.34 MB / 0.7164 GB, free: 9.707 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestLogMean): time 0.003837/0.6957, allocations: 2.248 MB / 0.7186 GB, free: 7.973 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.6977, allocations: 0.952 MB / 0.7195 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.6978, allocations: 1.438 kB / 0.7195 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.698, allocations: 65.75 kB / 0.7196 GB, free: 7.191 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.6986, allocations: 169.9 kB / 0.7197 GB, free: 7.082 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.6992, allocations: 196.4 kB / 0.7199 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.6996, allocations: 248.3 kB / 0.7201 GB, free: 6.824 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 6.051e-05/0.6996, allocations: 12.75 kB / 0.7202 GB, free: 6.816 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.6999, allocations: 128.2 kB / 0.7203 GB, free: 6.746 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.7002, allocations: 169.9 kB / 0.7204 GB, free: 6.656 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.7002, allocations: 12.38 kB / 0.7204 GB, free: 6.656 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.7008, allocations: 321.2 kB / 0.7208 GB, free: 6.48 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.7009, allocations: 54.88 kB / 0.7208 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.701, allocations: 101.2 kB / 0.7209 GB, free: 6.363 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.7015, allocations: 335.4 kB / 0.7212 GB, free: 6.148 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7016, allocations: 9.188 kB / 0.7212 GB, free: 6.141 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7016, allocations: 0 / 0.7212 GB, free: 6.141 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7016, allocations: 0 / 0.7212 GB, free: 6.141 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001538/0.7031, allocations: 0.6496 MB / 0.7219 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.7032, allocations: 12.86 kB / 0.7219 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.7033, allocations: 24.75 kB / 0.7219 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.7037, allocations: 232.3 kB / 0.7221 GB, free: 5.297 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.7037, allocations: 9.562 kB / 0.7221 GB, free: 5.293 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.7038, allocations: 12.12 kB / 0.7221 GB, free: 5.289 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.7047, allocations: 317.1 kB / 0.7224 GB, free: 5.09 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7047, allocations: 0 / 0.7224 GB, free: 5.09 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.7048, allocations: 2.562 kB / 0.7224 GB, free: 5.09 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7048, allocations: 6.406 kB / 0.7225 GB, free: 5.086 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.7061, allocations: 394.2 kB / 0.7228 GB, free: 4.906 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.7073, allocations: 0.6812 MB / 0.7235 GB, free: 4.27 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/0.7082, allocations: 311.1 kB / 0.7238 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.7089, allocations: 227.3 kB / 0.724 GB, free: 3.953 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.7092, allocations: 96.62 kB / 0.7241 GB, free: 3.855 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008674/0.7101, allocations: 360.1 kB / 0.7244 GB, free: 3.586 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=32): time 2.474e-06/0.7101, allocations: 1.344 kB / 0.7244 GB, free: 3.586 MB / 0.5138 GB Notification: Performance of matching and sorting (n=32): time 0.002305/0.7124, allocations: 0.7145 MB / 0.7251 GB, free: 3.227 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7125, allocations: 173.4 kB / 0.7253 GB, free: 3.027 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.7128, allocations: 219.6 kB / 0.7255 GB, free: 2.875 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.7129, allocations: 36.47 kB / 0.7256 GB, free: 2.836 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.713, allocations: 115.8 kB / 0.7257 GB, free: 2.727 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.7131, allocations: 87.2 kB / 0.7257 GB, free: 2.652 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.7133, allocations: 63.7 kB / 0.7258 GB, free: 2.609 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7134, allocations: 333.6 kB / 0.7261 GB, free: 2.281 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.714, allocations: 171.6 kB / 0.7263 GB, free: 2.203 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.7147, allocations: 194.8 kB / 0.7265 GB, free: 2.098 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.7159, allocations: 479.4 kB / 0.7269 GB, free: 1.777 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.7159, allocations: 1.312 kB / 0.7269 GB, free: 1.777 MB / 0.5138 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001613/0.7176, allocations: 0.5603 MB / 0.7275 GB, free: 1.484 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.7177, allocations: 68.98 kB / 0.7275 GB, free: 1.414 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7177, allocations: 5.438 kB / 0.7276 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.7177, allocations: 1.5 kB / 0.7276 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.7182, allocations: 78.27 kB / 0.7276 GB, free: 1.379 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.7182, allocations: 5.234 kB / 0.7276 GB, free: 1.375 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.7185, allocations: 43.44 kB / 0.7277 GB, free: 1.352 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.7186, allocations: 18.48 kB / 0.7277 GB, free: 1.344 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 (rampT_out2.nextEventScaled,rampT_out2.nextEvent,$PRE.rampT_out2.nextEvent,rampT_out2.last,rampT_out2.b,rampT_out2.a,rampT_in.nextEventScaled,rampT_in.nextEvent,$PRE.rampT_in.nextEvent,rampT_in.last,rampT_in.b,rampT_in.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0002991/0.7189, allocations: 229.3 kB / 0.7279 GB, free: 1.129 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.719, allocations: 27.97 kB / 0.7279 GB, free: 1.117 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.7206, allocations: 0.627 MB / 0.7285 GB, free: 0.7656 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.7207, allocations: 5.125 kB / 0.7286 GB, free: 0.7617 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7207, allocations: 1.062 kB / 0.7286 GB, free: 0.7617 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.7209, allocations: 135.1 kB / 0.7287 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.721, allocations: 11.38 kB / 0.7287 GB, free: 0.625 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.7213, allocations: 37.23 kB / 0.7287 GB, free: 0.6055 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.7214, allocations: 27.41 kB / 0.7288 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002161/0.7236, allocations: 1.014 MB / 0.7297 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001966/0.7256, allocations: 0.9704 MB / 0.7307 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007478/0.7263, allocations: 277.2 kB / 0.731 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002142/0.7266, allocations: 160.3 kB / 0.7311 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Backend: time 2.184e-06/0.7266, allocations: 0 / 0.7311 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.7285, allocations: 0.5436 MB / 0.7316 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001426/0.73, allocations: 0.9297 MB / 0.7325 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.0133/0.7433, allocations: 4.928 MB / 0.7374 GB, free: 9.957 MB / 0.5294 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestLogMean.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches