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.007558/0.007558, allocations: 1.426 MB / 17.68 MB, free: 4.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1129/0.1129, allocations: 22.37 MB / 41.1 MB, free: 0.543 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 110.7 kB / 48.6 MB, free: 2.145 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 196.3 kB / 56.2 MB, free: 6.176 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.375/1.375, allocations: 222.9 MB / 286.5 MB, free: 1.219 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8454/0.8454, allocations: 127.8 MB / 471.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002296, allocations: 121.4 kB / 0.5547 GB, free: 42.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1268, allocations: 82.37 MB / 0.6352 GB, free: 12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestLogMean): time 0.003142/0.13, allocations: 2.223 MB / 0.6373 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1315, allocations: 0.9501 MB / 0.6383 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.1316, allocations: 3.938 kB / 0.6383 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1317, allocations: 67.73 kB / 0.6383 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.1321, allocations: 167.4 kB / 0.6385 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.1326, allocations: 195.3 kB / 0.6387 GB, free: 8.375 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1329, allocations: 247.4 kB / 0.6389 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.133, allocations: 17.55 kB / 0.6389 GB, free: 8.117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.1332, allocations: 131.6 kB / 0.639 GB, free: 7.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1334, allocations: 163.6 kB / 0.6392 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1334, allocations: 16 kB / 0.6392 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.1339, allocations: 327.5 kB / 0.6395 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.134, allocations: 47.83 kB / 0.6396 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1341, allocations: 99.38 kB / 0.6397 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1344, allocations: 335.1 kB / 0.64 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1345, allocations: 0 / 0.64 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1345, allocations: 0 / 0.64 GB, free: 7.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1345, allocations: 4 kB / 0.64 GB, free: 7.016 MB / 462.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.001342/0.1358, allocations: 0.6617 MB / 0.6406 GB, free: 6.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1359, allocations: 8.031 kB / 0.6406 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1359, allocations: 24.66 kB / 0.6407 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1362, allocations: 243.5 kB / 0.6409 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1362, allocations: 8.375 kB / 0.6409 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.1363, allocations: 12.38 kB / 0.6409 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/0.1371, allocations: 316 kB / 0.6412 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1371, allocations: 0 / 0.6412 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.1371, allocations: 4 kB / 0.6412 GB, free: 5.637 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1371, allocations: 4 kB / 0.6412 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.1383, allocations: 391.5 kB / 0.6416 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009766/0.1393, allocations: 0.6742 MB / 0.6423 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.1401, allocations: 308 kB / 0.6426 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.1407, allocations: 226.7 kB / 0.6428 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.141, allocations: 105.1 kB / 0.6429 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.1418, allocations: 357.5 kB / 0.6432 GB, free: 3.449 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1418, allocations: 0 / 0.6432 GB, free: 3.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002105/0.1439, allocations: 0.7127 MB / 0.6439 GB, free: 2.719 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.144, allocations: 174.4 kB / 0.6441 GB, free: 2.512 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1442, allocations: 223.6 kB / 0.6443 GB, free: 2.285 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1442, allocations: 33.7 kB / 0.6443 GB, free: 2.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.1443, allocations: 108.7 kB / 0.6444 GB, free: 2.137 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.1444, allocations: 98.64 kB / 0.6445 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1445, allocations: 61.67 kB / 0.6446 GB, free: 1.973 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1446, allocations: 338.8 kB / 0.6449 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.1453, allocations: 171.8 kB / 0.6451 GB, free: 1.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.1459, allocations: 199.3 kB / 0.6453 GB, free: 1.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.147, allocations: 470.8 kB / 0.6457 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.147, allocations: 0 / 0.6457 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001404/0.1485, allocations: 0.5668 MB / 0.6463 GB, free: 180 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.1485, allocations: 67.39 kB / 0.6463 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1485, allocations: 3.984 kB / 0.6463 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1486, allocations: 4 kB / 0.6463 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.149, allocations: 71.86 kB / 0.6464 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.149, allocations: 0 / 0.6464 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.1493, allocations: 51.83 kB / 0.6464 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.1494, allocations: 19.97 kB / 0.6465 GB, free: 15.95 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.0001916/0.1496, allocations: 225.1 kB / 0.6467 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.1496, allocations: 27.72 kB / 0.6467 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.151, allocations: 0.6177 MB / 0.6473 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.151, allocations: 4 kB / 0.6473 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.151, allocations: 11.94 kB / 0.6473 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.151, allocations: 3.984 kB / 0.6473 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1513, allocations: 337.2 kB / 0.6476 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1513, allocations: 0 / 0.6476 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.1517, allocations: 79.91 kB / 0.6477 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1518, allocations: 4 kB / 0.6477 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.1518, allocations: 15.98 kB / 0.6477 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1518, allocations: 0 / 0.6477 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1518, allocations: 11.94 kB / 0.6478 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1533, allocations: 0.6817 MB / 0.6484 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1534, allocations: 136.7 kB / 0.6486 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.1535, allocations: 16 kB / 0.6486 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.1538, allocations: 35.89 kB / 0.6486 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.1539, allocations: 28.19 kB / 0.6486 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.1539, allocations: 23.98 kB / 0.6487 GB, free: 13.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1541, allocations: 160.6 kB / 0.6488 GB, free: 13.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1541, allocations: 0 / 0.6488 GB, free: 13.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1544, allocations: 92 kB / 0.6489 GB, free: 13.32 MB / 478.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.0002565/0.1547, allocations: 171.1 kB / 0.6491 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.1561, allocations: 0.6046 MB / 0.6496 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1561, allocations: 0 / 0.6496 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.1568, allocations: 419.2 kB / 0.65 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1571, allocations: 38.06 kB / 0.6501 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.1581, allocations: 0.5255 MB / 0.6506 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1584, allocations: 0.7484 MB / 0.6513 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1585, allocations: 53.52 kB / 0.6514 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1586, allocations: 35.41 kB / 0.6514 GB, free: 10.63 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1586, allocations: 0 / 0.6514 GB, free: 10.63 MB / 478.1 MB Notification: Performance of Templates: time 0.007489/0.1661, allocations: 4.242 MB / 0.6556 GB, free: 6.418 MB / 478.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 cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1)