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.01277/0.01277, allocations: 1.43 MB / 16.93 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.12/0.12, allocations: 22.38 MB / 40.35 MB, free: 0.5625 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.001131/0.001131, allocations: 103.2 kB / 47.83 MB, free: 2.215 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.001366/0.001366, allocations: 199.1 kB / 55.44 MB, free: 6.242 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.461/1.461, 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.904/0.904, allocations: 127.8 MB / 470.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 132.8 kB / 0.5533 GB, free: 42.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1799, allocations: 82.35 MB / 0.6337 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003944/0.1839, allocations: 2.275 MB / 0.636 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.1847, allocations: 454.9 kB / 0.6364 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.1848, allocations: 4 kB / 0.6364 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1849, allocations: 11.81 kB / 0.6364 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.185, allocations: 23.78 kB / 0.6364 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1852, allocations: 27.91 kB / 0.6364 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1854, allocations: 103.6 kB / 0.6365 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1855, allocations: 17.34 kB / 0.6366 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1856, allocations: 47.84 kB / 0.6366 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.1857, allocations: 39.77 kB / 0.6366 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1857, allocations: 8 kB / 0.6367 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.1857, allocations: 8 kB / 0.6367 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.1858, allocations: 11.92 kB / 0.6367 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1858, allocations: 43.67 kB / 0.6367 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.186, allocations: 83.59 kB / 0.6368 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.186, allocations: 4 kB / 0.6368 GB, free: 9.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.186, allocations: 0 / 0.6368 GB, free: 9.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.186, allocations: 0 / 0.6368 GB, free: 9.629 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.0005234/0.1865, allocations: 412.7 kB / 0.6372 GB, free: 9.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.1866, allocations: 12.03 kB / 0.6372 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.1866, allocations: 8.844 kB / 0.6372 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1868, allocations: 200.1 kB / 0.6374 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1868, allocations: 384 / 0.6374 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1869, allocations: 8.375 kB / 0.6374 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1871, allocations: 129.2 kB / 0.6375 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1871, allocations: 4 kB / 0.6375 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1872, allocations: 4 kB / 0.6375 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1872, allocations: 0 / 0.6375 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1874, allocations: 71.88 kB / 0.6376 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.188, allocations: 0.5715 MB / 0.6382 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1882, allocations: 87.78 kB / 0.6383 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1883, allocations: 42.61 kB / 0.6383 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1883, allocations: 0 / 0.6383 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1884, allocations: 38.56 kB / 0.6383 GB, free: 7.852 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1884, allocations: 0 / 0.6383 GB, free: 7.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004391/0.1888, allocations: 133.3 kB / 0.6385 GB, free: 7.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.1889, allocations: 136.5 kB / 0.6386 GB, free: 7.551 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.189, allocations: 157 kB / 0.6387 GB, free: 7.391 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1891, allocations: 25.7 kB / 0.6388 GB, free: 7.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.1891, allocations: 111.9 kB / 0.6389 GB, free: 7.246 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1892, allocations: 27.72 kB / 0.6389 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.1892, allocations: 17.72 kB / 0.6389 GB, free: 7.195 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.1893, allocations: 326.8 kB / 0.6392 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.1894, allocations: 27.97 kB / 0.6393 GB, free: 6.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1895, allocations: 70 kB / 0.6393 GB, free: 6.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1897, allocations: 101 kB / 0.6394 GB, free: 6.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1897, allocations: 0 / 0.6394 GB, free: 6.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002587/0.19, allocations: 133.4 kB / 0.6395 GB, free: 6.496 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.19, allocations: 4 kB / 0.6395 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.19, allocations: 4 kB / 0.6395 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1901, allocations: 3.938 kB / 0.6396 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1902, allocations: 19.98 kB / 0.6396 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1902, allocations: 7.938 kB / 0.6396 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.1903, allocations: 11.98 kB / 0.6396 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1903, allocations: 0 / 0.6396 GB, free: 6.445 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 8.843e-05/0.1904, allocations: 133.8 kB / 0.6397 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.1905, allocations: 7.906 kB / 0.6397 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.1905, allocations: 11.88 kB / 0.6397 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1905, allocations: 0 / 0.6397 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1906, allocations: 7.938 kB / 0.6397 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1906, allocations: 0 / 0.6397 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.1908, allocations: 197.6 kB / 0.6399 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1909, allocations: 3.984 kB / 0.6399 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.191, allocations: 11.98 kB / 0.6399 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.191, allocations: 4 kB / 0.64 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.191, allocations: 4 kB / 0.64 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.191, allocations: 0 / 0.64 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.191, allocations: 7.938 kB / 0.64 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1913, allocations: 349.9 kB / 0.6403 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1914, allocations: 93.02 kB / 0.6404 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1914, allocations: 0 / 0.6404 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1916, allocations: 11.98 kB / 0.6404 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1916, allocations: 7.938 kB / 0.6404 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1917, allocations: 7.984 kB / 0.6404 GB, free: 5.512 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.1917, allocations: 109.2 kB / 0.6405 GB, free: 5.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1917, allocations: 0 / 0.6405 GB, free: 5.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1921, allocations: 16 kB / 0.6405 GB, free: 5.391 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.793e-05/0.1922, allocations: 103.2 kB / 0.6406 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.1924, allocations: 75.83 kB / 0.6407 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1924, allocations: 0 / 0.6407 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1925, allocations: 32.47 kB / 0.6407 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1929, allocations: 12.06 kB / 0.6407 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1934, allocations: 217.7 kB / 0.641 GB, free: 4.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1936, allocations: 0.7002 MB / 0.6416 GB, free: 4.191 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.1937, allocations: 11.97 kB / 0.6416 GB, free: 4.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1937, allocations: 15.44 kB / 0.6417 GB, free: 4.164 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1937, allocations: 3.938 kB / 0.6417 GB, free: 4.16 MB / 462.1 MB Notification: Performance of Templates: time 0.003063/0.1968, allocations: 0.7372 MB / 0.6424 GB, free: 3.438 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