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.02498/0.02498, allocations: 1.424 MB / 17.2 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.2311/0.2311, allocations: 22.37 MB / 40.6 MB, free: 0.8828 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.001677/0.001677, allocations: 99.78 kB / 48.08 MB, free: 2.609 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.002347/0.002347, allocations: 195.8 kB / 55.65 MB, free: 6.668 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.578/1.578, allocations: 222.9 MB / 286 MB, free: 1.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9876/0.9876, allocations: 127.8 MB / 470.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 129.7 kB / 0.5532 GB, free: 43.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1767, allocations: 82.36 MB / 0.6336 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003573/0.1803, allocations: 2.325 MB / 0.6359 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.1811, allocations: 451 kB / 0.6363 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.1811, allocations: 0 / 0.6363 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1813, allocations: 15.86 kB / 0.6363 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.1814, allocations: 15.86 kB / 0.6363 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.1815, allocations: 27.91 kB / 0.6364 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1817, allocations: 87.66 kB / 0.6364 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1818, allocations: 29.11 kB / 0.6365 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.1819, allocations: 35.78 kB / 0.6365 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.182, allocations: 39.78 kB / 0.6365 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.182, allocations: 4 kB / 0.6365 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.182, allocations: 4 kB / 0.6366 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.1821, allocations: 15.86 kB / 0.6366 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.1821, allocations: 39.73 kB / 0.6366 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1822, allocations: 60.12 kB / 0.6367 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1823, allocations: 0 / 0.6367 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1823, allocations: 4 kB / 0.6367 GB, free: 10.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1823, allocations: 4 kB / 0.6367 GB, free: 10.28 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.0005508/0.1828, allocations: 403 kB / 0.6371 GB, free: 9.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1829, allocations: 12.03 kB / 0.6371 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1829, allocations: 8.844 kB / 0.6371 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1831, allocations: 196.1 kB / 0.6373 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1831, allocations: 8.312 kB / 0.6373 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1832, allocations: 4.375 kB / 0.6373 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1834, allocations: 144.3 kB / 0.6374 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1835, allocations: 0 / 0.6374 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1835, allocations: 0 / 0.6374 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1835, allocations: 4 kB / 0.6374 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.1837, allocations: 59.89 kB / 0.6375 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.1844, allocations: 0.5715 MB / 0.638 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1845, allocations: 95.77 kB / 0.6381 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1847, allocations: 46.61 kB / 0.6382 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1847, allocations: 0 / 0.6382 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1847, allocations: 38.56 kB / 0.6382 GB, free: 8.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1847, allocations: 0 / 0.6382 GB, free: 8.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004204/0.1851, allocations: 133.3 kB / 0.6383 GB, free: 8.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.1852, allocations: 136.8 kB / 0.6385 GB, free: 8.199 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1854, allocations: 152.7 kB / 0.6386 GB, free: 8.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1854, allocations: 25.7 kB / 0.6386 GB, free: 8.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.1855, allocations: 119.9 kB / 0.6387 GB, free: 7.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.1855, allocations: 11.75 kB / 0.6388 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.1856, allocations: 29.69 kB / 0.6388 GB, free: 7.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1857, allocations: 318.8 kB / 0.6391 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1858, allocations: 31.98 kB / 0.6391 GB, free: 7.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1859, allocations: 69.92 kB / 0.6392 GB, free: 7.402 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1861, allocations: 101.1 kB / 0.6393 GB, free: 7.285 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1861, allocations: 0 / 0.6393 GB, free: 7.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002511/0.1864, allocations: 125.3 kB / 0.6394 GB, free: 7.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1864, allocations: 10.19 kB / 0.6394 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1864, allocations: 0 / 0.6394 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1864, allocations: 4 kB / 0.6394 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1866, allocations: 15.98 kB / 0.6394 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1866, allocations: 8.094 kB / 0.6394 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.1867, allocations: 15.98 kB / 0.6395 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1867, allocations: 8.125 kB / 0.6395 GB, free: 7.098 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.121e-05/0.1868, allocations: 117.8 kB / 0.6396 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.1869, allocations: 11.89 kB / 0.6396 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.1869, allocations: 15.86 kB / 0.6396 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1869, allocations: 3.938 kB / 0.6396 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1869, allocations: 7.938 kB / 0.6396 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1869, allocations: 0 / 0.6396 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.1872, allocations: 193.6 kB / 0.6398 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1872, allocations: 0 / 0.6398 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.1873, allocations: 19.98 kB / 0.6398 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1873, allocations: 0 / 0.6398 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1873, allocations: 7.984 kB / 0.6398 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1874, allocations: 11.92 kB / 0.6398 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1874, allocations: 3.938 kB / 0.6398 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1877, allocations: 349.8 kB / 0.6402 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1877, allocations: 88.95 kB / 0.6403 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1878, allocations: 3.984 kB / 0.6403 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1879, allocations: 12 kB / 0.6403 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.188, allocations: 11.92 kB / 0.6403 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.188, allocations: 0 / 0.6403 GB, free: 6.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.1881, allocations: 113.2 kB / 0.6404 GB, free: 6.055 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1881, allocations: 0 / 0.6404 GB, free: 6.055 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1884, allocations: 20 kB / 0.6404 GB, free: 6.035 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 8.982e-05/0.1885, allocations: 99.19 kB / 0.6405 GB, free: 5.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1888, allocations: 71.88 kB / 0.6406 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1888, allocations: 0 / 0.6406 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.1889, allocations: 32.36 kB / 0.6406 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1893, allocations: 8 kB / 0.6406 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.1898, allocations: 285.2 kB / 0.6409 GB, free: 5.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.19, allocations: 0.6965 MB / 0.6416 GB, free: 4.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.1901, allocations: 15.42 kB / 0.6416 GB, free: 4.762 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1901, allocations: 0 / 0.6416 GB, free: 4.762 MB / 462.1 MB Notification: Performance of Templates: time 0.002485/0.1926, allocations: 1.141 MB / 0.6427 GB, free: 3.625 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