Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.794/0.794, allocations: 122.9 MB / 138.2 MB, free: 10.41 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.001054/0.001054, allocations: 185.6 kB / 164.5 MB, free: 12.33 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.406/1.406, allocations: 225.7 MB / 416.4 MB, free: 15.03 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.0009546/0.0009548, allocations: 98.09 kB / 493 MB, free: 18.3 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.08722/0.08722, allocations: 20.48 MB / 0.5762 GB, free: 6.051 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004467, allocations: 15.27 kB / 0.6679 GB, free: 118.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1541, allocations: 81.84 MB / 0.7478 GB, free: 38.88 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002025/0.1562, allocations: 1.992 MB / 0.7498 GB, free: 36.88 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.1568, allocations: 443.2 kB / 0.7502 GB, free: 36.44 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1569, allocations: 7.938 kB / 0.7502 GB, free: 36.43 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.1569, allocations: 0 / 0.7502 GB, free: 36.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.157, allocations: 11.86 kB / 0.7502 GB, free: 36.42 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1572, allocations: 39.95 kB / 0.7502 GB, free: 36.38 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1573, allocations: 75.72 kB / 0.7503 GB, free: 36.31 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1575, allocations: 15.98 kB / 0.7503 GB, free: 36.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.1576, allocations: 27.92 kB / 0.7504 GB, free: 36.27 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.1576, allocations: 35.83 kB / 0.7504 GB, free: 36.23 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1577, allocations: 4 kB / 0.7504 GB, free: 36.23 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.1577, allocations: 4 kB / 0.7504 GB, free: 36.22 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.1577, allocations: 15.92 kB / 0.7504 GB, free: 36.21 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.1578, allocations: 57.5 kB / 0.7505 GB, free: 36.14 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.1579, allocations: 67.97 kB / 0.7505 GB, free: 36.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1579, allocations: 0 / 0.7505 GB, free: 36.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1579, allocations: 7.938 kB / 0.7505 GB, free: 36.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1579, allocations: 0 / 0.7505 GB, free: 36.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005268/0.1584, allocations: 410.1 kB / 0.7509 GB, free: 35.62 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1585, allocations: 15.97 kB / 0.7509 GB, free: 35.61 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1585, allocations: 8.844 kB / 0.751 GB, free: 35.6 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1586, allocations: 188.2 kB / 0.7511 GB, free: 35.38 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1587, allocations: 4.375 kB / 0.7511 GB, free: 35.38 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1587, allocations: 4.375 kB / 0.7511 GB, free: 35.37 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.159, allocations: 117.9 kB / 0.7513 GB, free: 35.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.159, allocations: 0 / 0.7513 GB, free: 35.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.159, allocations: 0 / 0.7513 GB, free: 35.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.159, allocations: 0 / 0.7513 GB, free: 35.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.1593, allocations: 95.92 kB / 0.7513 GB, free: 35.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1597, allocations: 336.5 kB / 0.7517 GB, free: 34.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.1602, allocations: 190.5 kB / 0.7519 GB, free: 34.58 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1604, allocations: 64.81 kB / 0.7519 GB, free: 34.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1604, allocations: 7.984 kB / 0.7519 GB, free: 34.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1604, allocations: 30.56 kB / 0.752 GB, free: 34.47 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.1605, allocations: 0 / 0.752 GB, free: 34.47 MB / 490.8 MB Notification: Performance of matching and sorting (n=5): time 0.0005617/0.161, allocations: 221.5 kB / 0.7522 GB, free: 34.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.1611, allocations: 55.34 kB / 0.7522 GB, free: 34.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.1611, allocations: 126.1 kB / 0.7523 GB, free: 34.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1611, allocations: 29.7 kB / 0.7524 GB, free: 34.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1612, allocations: 96.12 kB / 0.7525 GB, free: 33.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1612, allocations: 19.66 kB / 0.7525 GB, free: 33.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.1612, allocations: 4 kB / 0.7525 GB, free: 33.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.1613, allocations: 322.8 kB / 0.7528 GB, free: 33.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.1614, allocations: 59.95 kB / 0.7528 GB, free: 33.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1616, allocations: 63.95 kB / 0.7529 GB, free: 33.44 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.1619, allocations: 124.8 kB / 0.753 GB, free: 33.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1619, allocations: 4 kB / 0.753 GB, free: 33.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003541/0.1623, allocations: 165.5 kB / 0.7532 GB, free: 33.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1623, allocations: 5.25 kB / 0.7532 GB, free: 33.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1623, allocations: 4 kB / 0.7532 GB, free: 33.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1623, allocations: 0 / 0.7532 GB, free: 33.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1625, allocations: 35.97 kB / 0.7532 GB, free: 33.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1625, allocations: 240 / 0.7532 GB, free: 33.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.1626, allocations: 27.97 kB / 0.7533 GB, free: 33.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1626, allocations: 3.938 kB / 0.7533 GB, free: 33.07 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.393e-05/0.1627, allocations: 117.8 kB / 0.7534 GB, free: 32.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1627, allocations: 7.906 kB / 0.7534 GB, free: 32.94 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.1628, allocations: 12.31 kB / 0.7534 GB, free: 32.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1628, allocations: 4 kB / 0.7534 GB, free: 32.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1628, allocations: 0 / 0.7534 GB, free: 32.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1628, allocations: 3.984 kB / 0.7534 GB, free: 32.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1629, allocations: 185.8 kB / 0.7536 GB, free: 32.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1629, allocations: 0 / 0.7536 GB, free: 32.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1631, allocations: 39.91 kB / 0.7536 GB, free: 32.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1631, allocations: 4 kB / 0.7536 GB, free: 32.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1631, allocations: 3.984 kB / 0.7536 GB, free: 32.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1631, allocations: 3.984 kB / 0.7536 GB, free: 32.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1631, allocations: 0 / 0.7536 GB, free: 32.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.1637, allocations: 327.3 kB / 0.7539 GB, free: 32.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1637, allocations: 89.03 kB / 0.754 GB, free: 32.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1638, allocations: 0 / 0.754 GB, free: 32.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1639, allocations: 24.05 kB / 0.754 GB, free: 32.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.164, allocations: 7.984 kB / 0.7541 GB, free: 32.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.164, allocations: 4 kB / 0.7541 GB, free: 32.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.164, allocations: 98.64 kB / 0.7541 GB, free: 32.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.164, allocations: 0 / 0.7541 GB, free: 32.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002015/0.1642, allocations: 19.88 kB / 0.7542 GB, free: 32.05 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001478/0.1644, allocations: 103.1 kB / 0.7543 GB, free: 31.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.1648, allocations: 135.9 kB / 0.7544 GB, free: 31.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1648, allocations: 0 / 0.7544 GB, free: 31.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.165, allocations: 71.89 kB / 0.7545 GB, free: 31.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1653, allocations: 4 kB / 0.7545 GB, free: 31.73 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.1658, allocations: 265.2 kB / 0.7547 GB, free: 31.44 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.1659, allocations: 0.6926 MB / 0.7554 GB, free: 30.72 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.166, allocations: 0 / 0.7554 GB, free: 30.72 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.166, allocations: 11.44 kB / 0.7554 GB, free: 30.71 MB / 490.8 MB Notification: Performance of SimCode: time 3.41e-07/0.1661, allocations: 4 kB / 0.7554 GB, free: 30.71 MB / 490.8 MB Notification: Performance of Templates: time 0.002559/0.1686, allocations: 0.6736 MB / 0.7561 GB, free: 30.04 MB / 490.8 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1)