Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8481/0.8481, allocations: 122.9 MB / 138.2 MB, free: 10.38 MB / 122.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 181.2 kB / 164.5 MB, free: 12.31 MB / 138.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.7 MB / 416.4 MB, free: 15.02 MB / 330.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008955, allocations: 91.91 kB / 493 MB, free: 18.43 MB / 362.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo): time 0.08512/0.08512, allocations: 20.49 MB / 0.5762 GB, free: 6.059 MB / 442.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 18.69 kB / 0.6679 GB, free: 118.9 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1604, allocations: 81.85 MB / 0.7478 GB, free: 38.9 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestLogMean): time 0.002009/0.1625, allocations: 1.919 MB / 0.7497 GB, free: 36.96 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.164, allocations: 1.434 MB / 0.7511 GB, free: 35.42 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.1641, allocations: 0 / 0.7511 GB, free: 35.42 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1642, allocations: 71.77 kB / 0.7512 GB, free: 35.35 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1646, allocations: 143.6 kB / 0.7513 GB, free: 35.21 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.1651, allocations: 147.8 kB / 0.7514 GB, free: 35.06 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1653, allocations: 219.4 kB / 0.7516 GB, free: 34.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.1653, allocations: 13.56 kB / 0.7517 GB, free: 34.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1655, allocations: 123.6 kB / 0.7518 GB, free: 34.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1657, allocations: 159.5 kB / 0.7519 GB, free: 34.56 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1658, allocations: 12 kB / 0.7519 GB, free: 34.55 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.1662, allocations: 299.6 kB / 0.7522 GB, free: 34.25 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.1663, allocations: 51.75 kB / 0.7523 GB, free: 34.2 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.945e-05/0.1664, allocations: 117.1 kB / 0.7524 GB, free: 34.08 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.1668, allocations: 331.3 kB / 0.7527 GB, free: 33.76 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1668, allocations: 0 / 0.7527 GB, free: 33.76 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1668, allocations: 0 / 0.7527 GB, free: 33.76 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1668, allocations: 0 / 0.7527 GB, free: 33.76 MB / 490.8 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.001147/0.1679, allocations: 0.6531 MB / 0.7533 GB, free: 33.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.168, allocations: 8.031 kB / 0.7534 GB, free: 33.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1681, allocations: 24.66 kB / 0.7534 GB, free: 33.02 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1683, allocations: 239.6 kB / 0.7536 GB, free: 32.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1683, allocations: 8.375 kB / 0.7536 GB, free: 32.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1683, allocations: 12.38 kB / 0.7536 GB, free: 32.72 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.1691, allocations: 344.6 kB / 0.754 GB, free: 32.37 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1691, allocations: 0 / 0.754 GB, free: 32.37 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.1691, allocations: 4 kB / 0.754 GB, free: 32.37 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1691, allocations: 7.984 kB / 0.754 GB, free: 32.36 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1702, allocations: 451.5 kB / 0.7544 GB, free: 31.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.1711, allocations: 0.6741 MB / 0.7551 GB, free: 31.18 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.1718, allocations: 320 kB / 0.7554 GB, free: 30.84 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.1723, allocations: 234.7 kB / 0.7556 GB, free: 30.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.1726, allocations: 105.1 kB / 0.7557 GB, free: 30.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.1733, allocations: 366.5 kB / 0.756 GB, free: 30.09 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.1733, allocations: 0 / 0.756 GB, free: 30.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=32): time 0.001752/0.1751, allocations: 0.7492 MB / 0.7568 GB, free: 29.33 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.1751, allocations: 174.4 kB / 0.7569 GB, free: 29.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1753, allocations: 211.7 kB / 0.7571 GB, free: 28.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1753, allocations: 33.7 kB / 0.7572 GB, free: 28.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.1754, allocations: 116.6 kB / 0.7573 GB, free: 28.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.1755, allocations: 90.73 kB / 0.7574 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.1755, allocations: 4 kB / 0.7574 GB, free: 28.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.1756, allocations: 338.8 kB / 0.7577 GB, free: 28.32 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.1761, allocations: 175.9 kB / 0.7579 GB, free: 28.14 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.1766, allocations: 211.3 kB / 0.7581 GB, free: 27.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/0.1776, allocations: 483.8 kB / 0.7585 GB, free: 27.42 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1776, allocations: 3.984 kB / 0.7585 GB, free: 27.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001144/0.1787, allocations: 0.585 MB / 0.7591 GB, free: 26.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.1788, allocations: 71.14 kB / 0.7592 GB, free: 26.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1788, allocations: 7.938 kB / 0.7592 GB, free: 26.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1788, allocations: 0 / 0.7592 GB, free: 26.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1792, allocations: 75.92 kB / 0.7592 GB, free: 26.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1792, allocations: 0 / 0.7592 GB, free: 26.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.1795, allocations: 63.77 kB / 0.7593 GB, free: 26.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.1795, allocations: 19.86 kB / 0.7593 GB, free: 26.57 MB / 490.8 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 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,$PRE.rampT_in.nextEvent,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,$PRE.rampT_out2.nextEvent,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * 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.0001422/0.1797, allocations: 221.1 kB / 0.7595 GB, free: 26.33 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.1797, allocations: 31.7 kB / 0.7596 GB, free: 26.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.1808, allocations: 0.6174 MB / 0.7602 GB, free: 25.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1809, allocations: 4 kB / 0.7602 GB, free: 25.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1809, allocations: 0 / 0.7602 GB, free: 25.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1809, allocations: 3.984 kB / 0.7602 GB, free: 25.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1811, allocations: 349.1 kB / 0.7605 GB, free: 25.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1811, allocations: 4 kB / 0.7605 GB, free: 25.26 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.1815, allocations: 79.92 kB / 0.7606 GB, free: 25.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1815, allocations: 4 kB / 0.7606 GB, free: 25.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.1816, allocations: 19.92 kB / 0.7606 GB, free: 25.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1816, allocations: 0 / 0.7606 GB, free: 25.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1816, allocations: 0 / 0.7606 GB, free: 25.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.1828, allocations: 0.7013 MB / 0.7613 GB, free: 24.42 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1829, allocations: 140.6 kB / 0.7614 GB, free: 24.27 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.183, allocations: 16 kB / 0.7614 GB, free: 24.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.1833, allocations: 43.95 kB / 0.7615 GB, free: 24.21 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.1833, allocations: 32.12 kB / 0.7615 GB, free: 24.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1834, allocations: 19.98 kB / 0.7615 GB, free: 24.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.1835, allocations: 164.3 kB / 0.7617 GB, free: 24 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1835, allocations: 0 / 0.7617 GB, free: 24 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003234/0.1838, allocations: 96 kB / 0.7618 GB, free: 23.9 MB / 490.8 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.0002381/0.1841, allocations: 173.5 kB / 0.7619 GB, free: 23.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1852, allocations: 0.6163 MB / 0.7626 GB, free: 23.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1852, allocations: 4 kB / 0.7626 GB, free: 23.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.1858, allocations: 427.1 kB / 0.763 GB, free: 22.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1861, allocations: 28 kB / 0.763 GB, free: 22.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.187, allocations: 0.5909 MB / 0.7636 GB, free: 21.99 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.1871, allocations: 0.7486 MB / 0.7643 GB, free: 21.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.1873, allocations: 37.53 kB / 0.7643 GB, free: 21.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.1874, allocations: 35.41 kB / 0.7644 GB, free: 21.14 MB / 490.8 MB Notification: Performance of SimCode: time 2e-07/0.1874, allocations: 0 / 0.7644 GB, free: 21.14 MB / 490.8 MB Notification: Performance of Templates: time 0.006141/0.1936, allocations: 3.876 MB / 0.7682 GB, free: 17.29 MB / 490.8 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 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1)