Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) 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/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Running command: translateModel(ClaRa.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") translateModel(ClaRa.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1256/0.1256, allocations: 23.17 MB / 40.14 MB, free: 0.793 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008963/0.008963, allocations: 1.457 MB / 48.97 MB, free: 1.336 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.001258/0.001258, allocations: 101.3 kB / 56.8 MB, free: 2.766 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.001531/0.001531, allocations: 196.4 kB / 64.74 MB, free: 6.465 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.417/1.417, allocations: 225.6 MB / 298.1 MB, free: 1.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8878/0.8878, allocations: 129 MB / 487 MB, free: 4.465 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003397/0.003397, allocations: 139.8 kB / 0.6604 GB, free: 9.992 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1657, allocations: 86.83 MB / 0.7452 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003415/0.1691, allocations: 2.298 MB / 0.7474 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.1699, allocations: 454.8 kB / 0.7479 GB, free: 260 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.17, allocations: 4 kB / 0.7479 GB, free: 256 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1701, allocations: 15.8 kB / 0.7479 GB, free: 240 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.1701, allocations: 19.8 kB / 0.7479 GB, free: 220 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1703, allocations: 39.95 kB / 0.7479 GB, free: 180 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1705, allocations: 91.64 kB / 0.748 GB, free: 88 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.1706, allocations: 21.09 kB / 0.748 GB, free: 68 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1707, allocations: 35.8 kB / 0.7481 GB, free: 32 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.1708, allocations: 43.84 kB / 0.7481 GB, free: 15.98 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1708, allocations: 8 kB / 0.7481 GB, free: 15.98 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.1708, allocations: 7.938 kB / 0.7481 GB, free: 15.97 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.1708, allocations: 23.92 kB / 0.7481 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.1709, allocations: 43.64 kB / 0.7482 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.171, allocations: 79.59 kB / 0.7483 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.171, allocations: 0 / 0.7483 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.433e-06/0.171, allocations: 0 / 0.7483 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.171, allocations: 0 / 0.7483 GB, free: 15.83 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005615/0.1716, allocations: 414.8 kB / 0.7487 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1716, allocations: 8.031 kB / 0.7487 GB, free: 15.37 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1717, allocations: 20.78 kB / 0.7487 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1719, allocations: 192.2 kB / 0.7489 GB, free: 15.12 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1719, allocations: 12.36 kB / 0.7489 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1719, allocations: 4.375 kB / 0.7489 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1721, allocations: 125.3 kB / 0.749 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1721, allocations: 3.938 kB / 0.749 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1722, allocations: 4 kB / 0.749 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1722, allocations: 4 kB / 0.749 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.1724, allocations: 63.89 kB / 0.7491 GB, free: 14.89 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.1731, allocations: 0.5832 MB / 0.7497 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1732, allocations: 83.77 kB / 0.7497 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1733, allocations: 50.61 kB / 0.7498 GB, free: 14.08 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1733, allocations: 0 / 0.7498 GB, free: 14.08 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1734, allocations: 34.56 kB / 0.7498 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1734, allocations: 0 / 0.7498 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0004466/0.1738, allocations: 133.8 kB / 0.7499 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.1739, allocations: 132.5 kB / 0.7501 GB, free: 13.74 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1741, allocations: 155.9 kB / 0.7502 GB, free: 13.57 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1741, allocations: 25.7 kB / 0.7502 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.1742, allocations: 116 kB / 0.7503 GB, free: 13.43 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1742, allocations: 15.86 kB / 0.7504 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1742, allocations: 25.7 kB / 0.7504 GB, free: 13.38 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1744, allocations: 322.9 kB / 0.7507 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.1745, allocations: 23.98 kB / 0.7507 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1746, allocations: 69.98 kB / 0.7508 GB, free: 12.94 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1748, allocations: 105 kB / 0.7509 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1748, allocations: 0 / 0.7509 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002648/0.1751, allocations: 121.5 kB / 0.751 GB, free: 12.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1751, allocations: 8 kB / 0.751 GB, free: 12.69 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1751, allocations: 0 / 0.751 GB, free: 12.69 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1751, allocations: 4 kB / 0.751 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1752, allocations: 15.98 kB / 0.751 GB, free: 12.67 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1752, allocations: 7.938 kB / 0.751 GB, free: 12.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1753, allocations: 32.06 kB / 0.7511 GB, free: 12.63 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1753, allocations: 4 kB / 0.7511 GB, free: 12.62 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (8): * Single equations (assignments): 8 * 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 9.28e-05/0.1754, allocations: 117.8 kB / 0.7512 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.1755, allocations: 11.89 kB / 0.7512 GB, free: 12.49 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.1755, allocations: 15.86 kB / 0.7512 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1755, allocations: 4 kB / 0.7512 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.1756, allocations: 3.938 kB / 0.7512 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1756, allocations: 0 / 0.7512 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1759, allocations: 201.6 kB / 0.7514 GB, free: 12.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1759, allocations: 0 / 0.7514 GB, free: 12.21 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.1759, allocations: 15.98 kB / 0.7514 GB, free: 12.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1759, allocations: 0 / 0.7514 GB, free: 12.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.176, allocations: 3.984 kB / 0.7514 GB, free: 12.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.176, allocations: 4 kB / 0.7514 GB, free: 12.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.176, allocations: 7.875 kB / 0.7514 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1763, allocations: 349.9 kB / 0.7518 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1764, allocations: 85.06 kB / 0.7519 GB, free: 11.72 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.1764, allocations: 3.984 kB / 0.7519 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1766, allocations: 14.11 kB / 0.7519 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1766, allocations: 11.92 kB / 0.7519 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1766, allocations: 4 kB / 0.7519 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.1767, allocations: 119.4 kB / 0.752 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/0.1767, allocations: 0 / 0.752 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002972/0.177, allocations: 12 kB / 0.752 GB, free: 11.56 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 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 9.401e-05/0.1771, allocations: 95.78 kB / 0.7521 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.1774, allocations: 80.12 kB / 0.7522 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1774, allocations: 0 / 0.7522 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1775, allocations: 27.98 kB / 0.7522 GB, free: 11.35 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1778, allocations: 13.97 kB / 0.7522 GB, free: 11.34 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1783, allocations: 243.3 kB / 0.7525 GB, free: 11.06 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1786, allocations: 0.7004 MB / 0.7531 GB, free: 10.34 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.1787, allocations: 15.44 kB / 0.7532 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of SimCode: time 2.7e-07/0.1787, allocations: 0 / 0.7532 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of Templates: time 0.002682/0.1814, allocations: 1.166 MB / 0.7543 GB, free: 9.16 MB / 0.5607 GB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.makefile (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches