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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean") translateModel(ClaRa.Basics.Functions.TestCases.TestLogMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.008781/0.008781, allocations: 1.431 MB / 17.68 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1123/0.1123, allocations: 22.37 MB / 41.1 MB, free: 7.535 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.001119/0.001119, allocations: 116 kB / 48.6 MB, free: 8 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.001291/0.001291, allocations: 194.6 kB / 56.2 MB, free: 9.309 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.338/1.338, allocations: 222.9 MB / 286.5 MB, free: 14.03 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8442/0.8442, allocations: 127.8 MB / 471.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 131.8 kB / 0.5547 GB, free: 16.36 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1506, allocations: 82.35 MB / 0.6351 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestLogMean): time 0.003606/0.1542, allocations: 2.244 MB / 0.6373 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1559, allocations: 0.9579 MB / 0.6383 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.156, allocations: 0 / 0.6383 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1561, allocations: 59.73 kB / 0.6383 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.1567, allocations: 163.4 kB / 0.6385 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.1573, allocations: 198.4 kB / 0.6387 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.1576, allocations: 251.4 kB / 0.6389 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.1577, allocations: 9.562 kB / 0.6389 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.1579, allocations: 131.6 kB / 0.639 GB, free: 9.996 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1581, allocations: 167.6 kB / 0.6392 GB, free: 9.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.1581, allocations: 12 kB / 0.6392 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.1586, allocations: 323.5 kB / 0.6395 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.1587, allocations: 51.8 kB / 0.6396 GB, free: 9.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1588, allocations: 91.45 kB / 0.6397 GB, free: 9.363 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1592, allocations: 346.9 kB / 0.64 GB, free: 9.023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1592, allocations: 0 / 0.64 GB, free: 9.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1592, allocations: 4 kB / 0.64 GB, free: 9.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1592, allocations: 0 / 0.64 GB, free: 9.02 MB / 478.1 MB 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.001298/0.1605, allocations: 0.6541 MB / 0.6406 GB, free: 8.305 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1606, allocations: 12.03 kB / 0.6406 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.1606, allocations: 24.66 kB / 0.6407 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.161, allocations: 239.6 kB / 0.6409 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.161, allocations: 8.375 kB / 0.6409 GB, free: 7.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.161, allocations: 12.38 kB / 0.6409 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.1618, allocations: 318.7 kB / 0.6412 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1618, allocations: 7.938 kB / 0.6412 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1619, allocations: 4 kB / 0.6412 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1619, allocations: 4 kB / 0.6412 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.163, allocations: 383.6 kB / 0.6416 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.164, allocations: 0.6779 MB / 0.6423 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.1649, allocations: 315.9 kB / 0.6426 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.1655, allocations: 222.7 kB / 0.6428 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.1657, allocations: 101.1 kB / 0.6429 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.1665, allocations: 357.9 kB / 0.6432 GB, free: 5.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.1665, allocations: 0 / 0.6432 GB, free: 5.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.002001/0.1685, allocations: 0.7251 MB / 0.6439 GB, free: 4.715 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.1686, allocations: 166.2 kB / 0.6441 GB, free: 4.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1688, allocations: 219.7 kB / 0.6443 GB, free: 4.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1689, allocations: 29.7 kB / 0.6443 GB, free: 4.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.1689, allocations: 116.8 kB / 0.6444 GB, free: 4.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.169, allocations: 94.59 kB / 0.6445 GB, free: 4.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1692, allocations: 65.67 kB / 0.6446 GB, free: 3.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1693, allocations: 334.8 kB / 0.6449 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.1698, allocations: 159.9 kB / 0.6451 GB, free: 3.484 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.1704, allocations: 207.3 kB / 0.6453 GB, free: 3.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.1715, allocations: 470.7 kB / 0.6457 GB, free: 2.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1715, allocations: 0 / 0.6457 GB, free: 2.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00136/0.1729, allocations: 0.559 MB / 0.6463 GB, free: 2.195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.1729, allocations: 75.38 kB / 0.6463 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1729, allocations: 96 / 0.6463 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.173, allocations: 4 kB / 0.6463 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.1734, allocations: 75.86 kB / 0.6464 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1734, allocations: 4 kB / 0.6464 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.1738, allocations: 43.72 kB / 0.6464 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1738, allocations: 19.97 kB / 0.6465 GB, free: 1.965 MB / 478.1 MB 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.0002129/0.174, allocations: 229.1 kB / 0.6467 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.1741, allocations: 23.81 kB / 0.6467 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1754, allocations: 0.6285 MB / 0.6473 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1754, allocations: 4 kB / 0.6473 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1755, allocations: 0 / 0.6473 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1755, allocations: 4 kB / 0.6473 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1758, allocations: 333.4 kB / 0.6476 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1758, allocations: 4 kB / 0.6476 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.1762, allocations: 75.86 kB / 0.6477 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1762, allocations: 4 kB / 0.6477 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.1763, allocations: 15.98 kB / 0.6477 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1763, allocations: 3.984 kB / 0.6477 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1763, allocations: 0 / 0.6477 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1777, allocations: 0.6858 MB / 0.6484 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.1779, allocations: 144.7 kB / 0.6486 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.178, allocations: 16 kB / 0.6486 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.1783, allocations: 27.97 kB / 0.6486 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.1784, allocations: 36.12 kB / 0.6486 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.1784, allocations: 19.98 kB / 0.6486 GB, free: 15.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1786, allocations: 156.6 kB / 0.6488 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1786, allocations: 0 / 0.6488 GB, free: 15.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.179, allocations: 108 kB / 0.6489 GB, free: 15.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse7,$cse8,$whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 12 (rampT_out2.nextEvent,rampT_out2.last,rampT_out2.nextEventScaled,rampT_out2.b,rampT_out2.a,$whenCondition1,rampT_in.nextEvent,rampT_in.last,rampT_in.nextEventScaled,rampT_in.b,rampT_in.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.0002922/0.1793, allocations: 170.9 kB / 0.6491 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1806, allocations: 0.5969 MB / 0.6496 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1807, allocations: 4 kB / 0.6496 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.1814, allocations: 411 kB / 0.65 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1817, allocations: 42.06 kB / 0.6501 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1827, allocations: 0.5138 MB / 0.6506 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.183, allocations: 0.7562 MB / 0.6513 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.1832, allocations: 33.55 kB / 0.6514 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1833, allocations: 39.39 kB / 0.6514 GB, free: 12.66 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1833, allocations: 0 / 0.6514 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Templates: time 0.008069/0.1914, allocations: 4.26 MB / 0.6555 GB, free: 8.43 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1)