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.014/0.014, allocations: 1.437 MB / 16.56 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.136/0.136, allocations: 22.38 MB / 39.96 MB, free: 0.9727 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.001191/0.001191, allocations: 106.7 kB / 47.42 MB, free: 2.621 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.001561/0.001561, allocations: 185.4 kB / 55 MB, free: 6.68 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.473/1.473, allocations: 222.9 MB / 285.3 MB, free: 1.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9481/0.9481, allocations: 127.8 MB / 470 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 133.7 kB / 0.5526 GB, free: 43.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1807, allocations: 82.36 MB / 0.633 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003736/0.1845, allocations: 2.321 MB / 0.6353 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.1854, allocations: 455 kB / 0.6357 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.1855, allocations: 4 kB / 0.6357 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1857, allocations: 7.875 kB / 0.6357 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.1857, allocations: 11.86 kB / 0.6357 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.186, allocations: 23.92 kB / 0.6357 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1862, allocations: 99.64 kB / 0.6358 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1863, allocations: 29.02 kB / 0.6359 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1864, allocations: 35.8 kB / 0.6359 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.1865, allocations: 39.78 kB / 0.6359 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1865, allocations: 4 kB / 0.6359 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.199e-05/0.1866, allocations: 4 kB / 0.6359 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.1866, allocations: 15.86 kB / 0.6359 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.1867, allocations: 43.72 kB / 0.636 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1868, allocations: 83.94 kB / 0.6361 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1869, allocations: 0 / 0.6361 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1869, allocations: 0 / 0.6361 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1869, allocations: 3.938 kB / 0.6361 GB, free: 10.26 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.0007242/0.1876, allocations: 407 kB / 0.6365 GB, free: 9.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.1877, allocations: 8.031 kB / 0.6365 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.1877, allocations: 12.84 kB / 0.6365 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.188, allocations: 196.1 kB / 0.6367 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.188, allocations: 8.375 kB / 0.6367 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.188, allocations: 4.375 kB / 0.6367 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1884, allocations: 125.3 kB / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1884, allocations: 0 / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1884, allocations: 0 / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1884, allocations: 8 kB / 0.6368 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.1886, allocations: 67.88 kB / 0.6369 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.1894, allocations: 0.5793 MB / 0.6374 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1897, allocations: 87.77 kB / 0.6375 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1898, allocations: 42.62 kB / 0.6376 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1898, allocations: 4 kB / 0.6376 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1898, allocations: 30.56 kB / 0.6376 GB, free: 8.492 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 3.006e-06/0.1898, allocations: 0 / 0.6376 GB, free: 8.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005552/0.1904, allocations: 137.5 kB / 0.6377 GB, free: 8.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.1905, allocations: 132.5 kB / 0.6379 GB, free: 8.191 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1906, allocations: 152.7 kB / 0.638 GB, free: 8.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1907, allocations: 29.7 kB / 0.638 GB, free: 8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1908, allocations: 115.9 kB / 0.6381 GB, free: 7.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1908, allocations: 19.73 kB / 0.6382 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.1909, allocations: 21.91 kB / 0.6382 GB, free: 7.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.191, allocations: 326.8 kB / 0.6385 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1911, allocations: 27.97 kB / 0.6385 GB, free: 7.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1912, allocations: 73.92 kB / 0.6386 GB, free: 7.387 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1914, allocations: 93.09 kB / 0.6387 GB, free: 7.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1914, allocations: 4 kB / 0.6387 GB, free: 7.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000256/0.1917, allocations: 121.3 kB / 0.6388 GB, free: 7.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1917, allocations: 4 kB / 0.6388 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1917, allocations: 3.938 kB / 0.6388 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1917, allocations: 4 kB / 0.6388 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1919, allocations: 28.16 kB / 0.6388 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1919, allocations: 7.938 kB / 0.6388 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.192, allocations: 15.88 kB / 0.6389 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.192, allocations: 7.984 kB / 0.6389 GB, free: 7.078 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.969e-05/0.1921, allocations: 113.8 kB / 0.639 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.1922, allocations: 11.91 kB / 0.639 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.1922, allocations: 15.88 kB / 0.639 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1922, allocations: 0 / 0.639 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1922, allocations: 7.922 kB / 0.639 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1922, allocations: 4 kB / 0.639 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.1926, allocations: 197.6 kB / 0.6392 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1926, allocations: 0 / 0.6392 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/0.1927, allocations: 15.98 kB / 0.6392 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1927, allocations: 0 / 0.6392 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1927, allocations: 8 kB / 0.6392 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1927, allocations: 0 / 0.6392 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.1927, allocations: 11.86 kB / 0.6392 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.1931, allocations: 349.9 kB / 0.6396 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1931, allocations: 84.95 kB / 0.6396 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1932, allocations: 8 kB / 0.6397 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1933, allocations: 10.52 kB / 0.6397 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1934, allocations: 15.92 kB / 0.6397 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.1934, allocations: 4 kB / 0.6397 GB, free: 6.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.477e-05/0.1935, allocations: 117.2 kB / 0.6398 GB, free: 6.035 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1935, allocations: 0 / 0.6398 GB, free: 6.035 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1938, allocations: 12 kB / 0.6398 GB, free: 6.023 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.944e-05/0.1939, allocations: 95.19 kB / 0.6399 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1942, allocations: 72.08 kB / 0.64 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1942, allocations: 4 kB / 0.64 GB, free: 5.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.772e-05/0.1943, allocations: 31.97 kB / 0.64 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1947, allocations: 4 kB / 0.64 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.1953, allocations: 259.7 kB / 0.6403 GB, free: 5.523 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1956, allocations: 0.7004 MB / 0.6409 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.1957, allocations: 4 kB / 0.6409 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1957, allocations: 15.44 kB / 0.641 GB, free: 4.777 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1957, allocations: 0 / 0.641 GB, free: 4.777 MB / 462.1 MB Notification: Performance of Templates: time 0.003003/0.1987, allocations: 0.6376 MB / 0.6416 GB, free: 4.148 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches