Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.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.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8222/0.8222, allocations: 122.9 MB / 138.2 MB, free: 10.43 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.00112/0.00112, allocations: 180 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.633/1.633, allocations: 225.7 MB / 416.4 MB, free: 15.05 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.0009062/0.0009062, allocations: 93.3 kB / 493 MB, free: 18.33 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.08779/0.08779, allocations: 20.49 MB / 0.5762 GB, free: 6.039 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.0005159, allocations: 15.3 kB / 0.6679 GB, free: 118.9 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 81.84 MB / 0.7478 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log): time 0.001805/0.1652, allocations: 1.848 MB / 0.7496 GB, free: 37.03 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1666, allocations: 1.329 MB / 0.7509 GB, free: 35.58 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.1666, allocations: 0 / 0.7509 GB, free: 35.58 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1668, allocations: 35.88 kB / 0.751 GB, free: 35.55 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1669, allocations: 47.8 kB / 0.751 GB, free: 35.5 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.1674, allocations: 170.1 kB / 0.7512 GB, free: 35.34 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1676, allocations: 159.6 kB / 0.7513 GB, free: 35.18 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.1676, allocations: 9.344 kB / 0.7513 GB, free: 35.17 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1678, allocations: 75.75 kB / 0.7514 GB, free: 35.09 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1679, allocations: 107.7 kB / 0.7515 GB, free: 34.99 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.168, allocations: 8 kB / 0.7515 GB, free: 34.98 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.1683, allocations: 247.6 kB / 0.7517 GB, free: 34.74 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.1684, allocations: 31.89 kB / 0.7518 GB, free: 34.71 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.1685, allocations: 89.34 kB / 0.7519 GB, free: 34.61 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.1688, allocations: 239.6 kB / 0.7521 GB, free: 34.38 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1688, allocations: 0 / 0.7521 GB, free: 34.38 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1688, allocations: 0 / 0.7521 GB, free: 34.38 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1688, allocations: 0 / 0.7521 GB, free: 34.38 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001014/0.1698, allocations: 0.5569 MB / 0.7526 GB, free: 33.76 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1699, allocations: 15.97 kB / 0.7526 GB, free: 33.75 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.1699, allocations: 12.84 kB / 0.7527 GB, free: 33.73 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1701, allocations: 211.3 kB / 0.7529 GB, free: 33.49 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1702, allocations: 8.375 kB / 0.7529 GB, free: 33.48 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1702, allocations: 8.375 kB / 0.7529 GB, free: 33.47 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.1707, allocations: 209.8 kB / 0.7531 GB, free: 33.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1708, allocations: 0 / 0.7531 GB, free: 33.26 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1708, allocations: 7.984 kB / 0.7531 GB, free: 33.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1708, allocations: 11.98 kB / 0.7531 GB, free: 33.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.1716, allocations: 247.7 kB / 0.7533 GB, free: 33 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.1723, allocations: 417.3 kB / 0.7537 GB, free: 32.54 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.1729, allocations: 218.4 kB / 0.7539 GB, free: 32.32 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.1733, allocations: 148.8 kB / 0.7541 GB, free: 32.17 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.1734, allocations: 0 / 0.7541 GB, free: 32.17 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005765/0.174, allocations: 232.9 kB / 0.7543 GB, free: 31.93 MB / 490.8 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.174, allocations: 4 kB / 0.7543 GB, free: 31.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=18): time 0.00138/0.1754, allocations: 490.7 kB / 0.7548 GB, free: 31.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1754, allocations: 81.11 kB / 0.7548 GB, free: 31.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1755, allocations: 175.3 kB / 0.755 GB, free: 31.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1756, allocations: 29.7 kB / 0.755 GB, free: 31.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.1756, allocations: 112.4 kB / 0.7551 GB, free: 31 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1757, allocations: 51.42 kB / 0.7552 GB, free: 30.95 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.1757, allocations: 8 kB / 0.7552 GB, free: 30.95 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.1757, allocations: 330.7 kB / 0.7555 GB, free: 30.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.1761, allocations: 127.9 kB / 0.7556 GB, free: 30.49 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.1766, allocations: 141.6 kB / 0.7558 GB, free: 30.34 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.1774, allocations: 326.2 kB / 0.7561 GB, free: 30 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1774, allocations: 4 kB / 0.7561 GB, free: 30 MB / 490.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009277/0.1783, allocations: 424.6 kB / 0.7565 GB, free: 29.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.1784, allocations: 71.33 kB / 0.7566 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.1784, allocations: 112 / 0.7566 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1784, allocations: 3.938 kB / 0.7566 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.1787, allocations: 47.94 kB / 0.7566 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1788, allocations: 4 kB / 0.7566 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.179, allocations: 43.84 kB / 0.7567 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.179, allocations: 11.98 kB / 0.7567 GB, free: 29.38 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,T_i.a,T_i.b,T_i.last,$PRE.T_i.nextEvent,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0001124/0.1792, allocations: 167.4 kB / 0.7568 GB, free: 29.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1792, allocations: 23.81 kB / 0.7569 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1802, allocations: 456.8 kB / 0.7573 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1802, allocations: 0 / 0.7573 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1802, allocations: 0 / 0.7573 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1803, allocations: 11.92 kB / 0.7573 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1805, allocations: 265.3 kB / 0.7576 GB, free: 28.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1805, allocations: 4 kB / 0.7576 GB, free: 28.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.1808, allocations: 47.94 kB / 0.7576 GB, free: 28.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1808, allocations: 4 kB / 0.7576 GB, free: 28.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1808, allocations: 11.98 kB / 0.7576 GB, free: 28.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1808, allocations: 0 / 0.7576 GB, free: 28.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1808, allocations: 0 / 0.7576 GB, free: 28.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.1817, allocations: 465.7 kB / 0.7581 GB, free: 27.85 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1818, allocations: 92.86 kB / 0.7582 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.1818, allocations: 4 kB / 0.7582 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.182, allocations: 39.95 kB / 0.7582 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.1821, allocations: 23.97 kB / 0.7582 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.1822, allocations: 11.98 kB / 0.7582 GB, free: 27.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 7.353e-05/0.1823, allocations: 130.8 kB / 0.7584 GB, free: 27.54 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1823, allocations: 0 / 0.7584 GB, free: 27.54 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002832/0.1825, allocations: 71.92 kB / 0.7584 GB, free: 27.47 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($cse5,$cse6,$whenCondition1,$whenCondition2,T_o.T_start,T_o.count,T_i.a,T_i.b,T_i.last,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 7 (T_o.count,T_i.nextEvent,T_i.last,T_i.nextEventScaled,T_i.b,T_i.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0002081/0.1828, allocations: 154.3 kB / 0.7586 GB, free: 27.31 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009419/0.1837, allocations: 450.4 kB / 0.759 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1837, allocations: 0 / 0.759 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.1842, allocations: 255.2 kB / 0.7592 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.1844, allocations: 24 kB / 0.7593 GB, free: 26.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.1852, allocations: 390.7 kB / 0.7596 GB, free: 26.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.1853, allocations: 0.7245 MB / 0.7603 GB, free: 25.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1854, allocations: 25.08 kB / 0.7604 GB, free: 25.38 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.1855, allocations: 23.42 kB / 0.7604 GB, free: 25.36 MB / 490.8 MB Notification: Performance of SimCode: time 3.7e-07/0.1855, allocations: 0 / 0.7604 GB, free: 25.36 MB / 490.8 MB Notification: Performance of Templates: time 0.005379/0.1909, allocations: 2.941 MB / 0.7633 GB, free: 22.43 MB / 490.8 MB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1)