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/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.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/SMArtIInt 0.2.2-main/package.mo): time 0.008612/0.008612, allocations: 1.435 MB / 17.32 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1507/0.1507, allocations: 22.37 MB / 40.72 MB, free: 0.8516 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.001354/0.001354, allocations: 102.5 kB / 48.19 MB, free: 2.574 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.00158/0.00158, allocations: 192.5 kB / 55.78 MB, free: 6.617 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.463/1.463, allocations: 222.9 MB / 286.1 MB, free: 1.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8782/0.8782, allocations: 127.8 MB / 470.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 129.3 kB / 0.5534 GB, free: 42.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.182, allocations: 82.35 MB / 0.6338 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003832/0.1859, allocations: 2.333 MB / 0.6361 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.1867, allocations: 450.9 kB / 0.6365 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.1867, allocations: 0 / 0.6365 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.1869, allocations: 15.86 kB / 0.6365 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.1869, allocations: 15.86 kB / 0.6365 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1871, allocations: 27.97 kB / 0.6366 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1873, allocations: 95.64 kB / 0.6367 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1874, allocations: 13.12 kB / 0.6367 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1876, allocations: 47.72 kB / 0.6367 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.1877, allocations: 43.77 kB / 0.6368 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1877, allocations: 8 kB / 0.6368 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.1877, allocations: 8 kB / 0.6368 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.1877, allocations: 15.92 kB / 0.6368 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1879, allocations: 43.73 kB / 0.6368 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.188, allocations: 60.14 kB / 0.6369 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.188, allocations: 0 / 0.6369 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.188, allocations: 0 / 0.6369 GB, free: 10.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.188, allocations: 0 / 0.6369 GB, free: 10.19 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006014/0.1886, allocations: 406.9 kB / 0.6373 GB, free: 9.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1887, allocations: 12.03 kB / 0.6373 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1887, allocations: 12.84 kB / 0.6373 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1889, allocations: 200 kB / 0.6375 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.189, allocations: 8.312 kB / 0.6375 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.189, allocations: 8.375 kB / 0.6375 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.1892, allocations: 119.9 kB / 0.6376 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1893, allocations: 4 kB / 0.6376 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1893, allocations: 4 kB / 0.6376 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1893, allocations: 4 kB / 0.6376 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.1895, allocations: 63.89 kB / 0.6377 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.1902, allocations: 0.5793 MB / 0.6383 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1904, allocations: 87.78 kB / 0.6383 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.1905, allocations: 42.61 kB / 0.6384 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1905, allocations: 0 / 0.6384 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1905, allocations: 42.5 kB / 0.6384 GB, free: 8.406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1905, allocations: 0 / 0.6384 GB, free: 8.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004318/0.191, allocations: 133.4 kB / 0.6386 GB, free: 8.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.1911, allocations: 132.5 kB / 0.6387 GB, free: 8.109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1912, allocations: 152.7 kB / 0.6388 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.1913, allocations: 25.7 kB / 0.6388 GB, free: 7.922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.1914, allocations: 124.2 kB / 0.639 GB, free: 7.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.1914, allocations: 19.69 kB / 0.639 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1914, allocations: 25.7 kB / 0.639 GB, free: 7.746 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1916, allocations: 322.8 kB / 0.6393 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.1917, allocations: 19.98 kB / 0.6393 GB, free: 7.402 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1918, allocations: 73.98 kB / 0.6394 GB, free: 7.309 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.192, allocations: 97.08 kB / 0.6395 GB, free: 7.195 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.192, allocations: 8 kB / 0.6395 GB, free: 7.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002501/0.1923, allocations: 125.3 kB / 0.6396 GB, free: 7.059 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1923, allocations: 10.19 kB / 0.6396 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1923, allocations: 352 / 0.6396 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1923, allocations: 8 kB / 0.6396 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1925, allocations: 23.92 kB / 0.6397 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1925, allocations: 7.922 kB / 0.6397 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.1926, allocations: 11.98 kB / 0.6397 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1926, allocations: 4 kB / 0.6397 GB, free: 6.996 MB / 462.1 MB 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.261e-05/0.1927, allocations: 121.8 kB / 0.6398 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.1928, allocations: 11.91 kB / 0.6398 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.1928, allocations: 11.88 kB / 0.6398 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1928, allocations: 7.938 kB / 0.6398 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.1928, allocations: 3.938 kB / 0.6398 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1928, allocations: 0 / 0.6398 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1931, allocations: 193.6 kB / 0.64 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1931, allocations: 0 / 0.64 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.1932, allocations: 23.91 kB / 0.64 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1932, allocations: 0 / 0.64 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1933, allocations: 4 kB / 0.6401 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1933, allocations: 0 / 0.6401 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1933, allocations: 3.938 kB / 0.6401 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1936, allocations: 345.9 kB / 0.6404 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.1937, allocations: 92.94 kB / 0.6405 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1937, allocations: 4 kB / 0.6405 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1939, allocations: 15.92 kB / 0.6405 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.1939, allocations: 15.88 kB / 0.6405 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.1939, allocations: 0 / 0.6405 GB, free: 6.066 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.173e-05/0.194, allocations: 113.2 kB / 0.6406 GB, free: 5.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.194, allocations: 0 / 0.6406 GB, free: 5.957 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1943, allocations: 20 kB / 0.6406 GB, free: 5.938 MB / 462.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: 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.852e-05/0.1944, allocations: 95.23 kB / 0.6407 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.1947, allocations: 71.89 kB / 0.6408 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1947, allocations: 0 / 0.6408 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.1949, allocations: 35.91 kB / 0.6408 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1952, allocations: 8 kB / 0.6408 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.1958, allocations: 284 kB / 0.6411 GB, free: 5.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1961, allocations: 0.7041 MB / 0.6418 GB, free: 4.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.1961, allocations: 15.42 kB / 0.6418 GB, free: 4.66 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1961, allocations: 0 / 0.6418 GB, free: 4.66 MB / 462.1 MB Notification: Performance of Templates: time 0.002899/0.199, allocations: 1.149 MB / 0.6429 GB, free: 3.516 MB / 462.1 MB 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