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.01441/0.01441, allocations: 1.429 MB / 16.93 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.1392/0.1392, allocations: 22.38 MB / 40.35 MB, free: 0.7227 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.001227/0.001227, allocations: 107.4 kB / 47.83 MB, free: 2.398 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.001567/0.001567, allocations: 191.8 kB / 55.43 MB, free: 6.441 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.372/1.372, allocations: 222.9 MB / 285.8 MB, free: 1.289 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8999/0.8999, allocations: 127.8 MB / 470.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 127.5 kB / 0.5533 GB, free: 42.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1756, allocations: 82.36 MB / 0.6337 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003534/0.1792, allocations: 2.268 MB / 0.6359 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.18, allocations: 450.9 kB / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.1801, allocations: 0 / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1802, allocations: 19.8 kB / 0.6364 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.1803, allocations: 15.81 kB / 0.6364 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1805, allocations: 31.89 kB / 0.6364 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1806, allocations: 95.64 kB / 0.6365 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1807, allocations: 25.38 kB / 0.6365 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.1808, allocations: 43.8 kB / 0.6366 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.1809, allocations: 43.72 kB / 0.6366 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.181, allocations: 4 kB / 0.6366 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.181, allocations: 8 kB / 0.6366 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.181, allocations: 19.91 kB / 0.6367 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.1811, allocations: 43.73 kB / 0.6367 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1812, allocations: 79.64 kB / 0.6368 GB, free: 9.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1812, allocations: 0 / 0.6368 GB, free: 9.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1812, allocations: 7.938 kB / 0.6368 GB, free: 9.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1812, allocations: 7.938 kB / 0.6368 GB, free: 9.566 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.0005386/0.1818, allocations: 403 kB / 0.6372 GB, free: 9.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1818, allocations: 12.03 kB / 0.6372 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1819, allocations: 12.83 kB / 0.6372 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1821, allocations: 192.1 kB / 0.6374 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1821, allocations: 4.312 kB / 0.6374 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1821, allocations: 4.375 kB / 0.6374 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.1824, allocations: 132.3 kB / 0.6375 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1824, allocations: 0 / 0.6375 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1824, allocations: 0 / 0.6375 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1824, allocations: 7.984 kB / 0.6375 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.1826, allocations: 71.89 kB / 0.6376 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.1833, allocations: 0.5715 MB / 0.6382 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1835, allocations: 91.77 kB / 0.6382 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1836, allocations: 38.62 kB / 0.6383 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1836, allocations: 4 kB / 0.6383 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1836, allocations: 42.48 kB / 0.6383 GB, free: 7.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.1837, allocations: 0 / 0.6383 GB, free: 7.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004316/0.1841, allocations: 125.8 kB / 0.6384 GB, free: 7.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.1842, allocations: 140.4 kB / 0.6386 GB, free: 7.496 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1843, allocations: 148.7 kB / 0.6387 GB, free: 7.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1843, allocations: 25.7 kB / 0.6387 GB, free: 7.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1844, allocations: 123.9 kB / 0.6389 GB, free: 7.188 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.1844, allocations: 11.75 kB / 0.6389 GB, free: 7.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.1845, allocations: 29.7 kB / 0.6389 GB, free: 7.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1846, allocations: 318.8 kB / 0.6392 GB, free: 6.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.1847, allocations: 31.97 kB / 0.6392 GB, free: 6.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1848, allocations: 77.91 kB / 0.6393 GB, free: 6.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.185, allocations: 93.09 kB / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.185, allocations: 0 / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002571/0.1853, allocations: 125.3 kB / 0.6395 GB, free: 6.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1853, allocations: 8 kB / 0.6395 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1853, allocations: 0 / 0.6395 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1854, allocations: 7.984 kB / 0.6395 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1855, allocations: 19.98 kB / 0.6396 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1855, allocations: 15.81 kB / 0.6396 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.1856, allocations: 11.98 kB / 0.6396 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1856, allocations: 8.188 kB / 0.6396 GB, free: 6.383 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 7.94e-05/0.1857, allocations: 113.8 kB / 0.6397 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.1858, allocations: 7.906 kB / 0.6397 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.1858, allocations: 19.86 kB / 0.6397 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1858, allocations: 4 kB / 0.6397 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1858, allocations: 7.875 kB / 0.6397 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1859, allocations: 0 / 0.6397 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1861, allocations: 193.6 kB / 0.6399 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1861, allocations: 0 / 0.6399 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.1862, allocations: 23.98 kB / 0.6399 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1862, allocations: 0 / 0.6399 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1863, allocations: 0 / 0.6399 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1863, allocations: 7.938 kB / 0.6399 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1863, allocations: 3.938 kB / 0.64 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1866, allocations: 345.9 kB / 0.6403 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1866, allocations: 89.02 kB / 0.6404 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1867, allocations: 4.062 kB / 0.6404 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1868, allocations: 11.98 kB / 0.6404 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1869, allocations: 15.91 kB / 0.6404 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1869, allocations: 0 / 0.6404 GB, free: 5.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.961e-05/0.187, allocations: 117.2 kB / 0.6405 GB, free: 5.348 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.187, allocations: 7.938 kB / 0.6405 GB, free: 5.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1873, allocations: 12 kB / 0.6405 GB, free: 5.328 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.565e-05/0.1874, allocations: 99.25 kB / 0.6406 GB, free: 5.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1876, allocations: 67.89 kB / 0.6407 GB, free: 5.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1876, allocations: 384 / 0.6407 GB, free: 5.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1878, allocations: 43.91 kB / 0.6407 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1881, allocations: 8 kB / 0.6407 GB, free: 5.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.1886, allocations: 221.9 kB / 0.6409 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1888, allocations: 0.6963 MB / 0.6416 GB, free: 4.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1889, allocations: 8 kB / 0.6416 GB, free: 4.125 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1889, allocations: 11.44 kB / 0.6416 GB, free: 4.113 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.189, allocations: 0 / 0.6416 GB, free: 4.113 MB / 462.1 MB Notification: Performance of Templates: time 0.002893/0.1918, allocations: 0.7458 MB / 0.6424 GB, free: 3.383 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=50 -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