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.01962/0.01962, allocations: 1.427 MB / 16.66 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1168/0.1168, allocations: 22.39 MB / 40.07 MB, free: 0.8203 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.001065/0.001065, allocations: 98.91 kB / 47.54 MB, free: 2.484 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.001263/0.001263, allocations: 193.4 kB / 55.13 MB, free: 6.531 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.427/1.427, allocations: 222.9 MB / 285.5 MB, free: 1.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9004/0.9004, allocations: 127.8 MB / 470.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 130.3 kB / 0.5528 GB, free: 43.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1899, allocations: 82.35 MB / 0.6332 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.00388/0.1939, allocations: 2.333 MB / 0.6355 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.1946, allocations: 447 kB / 0.6359 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1947, allocations: 0 / 0.6359 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1949, allocations: 19.86 kB / 0.6359 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.1949, allocations: 11.86 kB / 0.6359 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.1951, allocations: 23.97 kB / 0.6359 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1953, allocations: 99.58 kB / 0.636 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1954, allocations: 21.06 kB / 0.636 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.1955, allocations: 39.84 kB / 0.6361 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.1956, allocations: 47.77 kB / 0.6361 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1956, allocations: 4 kB / 0.6361 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.1957, allocations: 8 kB / 0.6361 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.1957, allocations: 11.92 kB / 0.6362 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.1958, allocations: 47.67 kB / 0.6362 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1959, allocations: 83.88 kB / 0.6363 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1959, allocations: 4 kB / 0.6363 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1959, allocations: 0 / 0.6363 GB, free: 10.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1959, allocations: 4 kB / 0.6363 GB, free: 10.2 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.0006187/0.1966, allocations: 414.9 kB / 0.6367 GB, free: 9.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1966, allocations: 8.031 kB / 0.6367 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.1967, allocations: 8.844 kB / 0.6367 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1969, allocations: 196.1 kB / 0.6369 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1969, allocations: 4.375 kB / 0.6369 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1969, allocations: 8.375 kB / 0.6369 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.1972, allocations: 125.3 kB / 0.637 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1973, allocations: 0 / 0.637 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1973, allocations: 4 kB / 0.637 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1973, allocations: 4 kB / 0.637 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.1975, allocations: 59.89 kB / 0.6371 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.1982, allocations: 0.5793 MB / 0.6376 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1984, allocations: 91.78 kB / 0.6377 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1985, allocations: 42.61 kB / 0.6378 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1985, allocations: 3.984 kB / 0.6378 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1985, allocations: 42.56 kB / 0.6378 GB, free: 8.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1985, allocations: 0 / 0.6378 GB, free: 8.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004433/0.199, allocations: 129.3 kB / 0.6379 GB, free: 8.281 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.1991, allocations: 136.8 kB / 0.6381 GB, free: 8.117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1992, allocations: 156.7 kB / 0.6382 GB, free: 7.957 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1993, allocations: 29.7 kB / 0.6383 GB, free: 7.922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.1993, allocations: 115.9 kB / 0.6384 GB, free: 7.805 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1994, allocations: 15.75 kB / 0.6384 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1994, allocations: 25.7 kB / 0.6384 GB, free: 7.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1996, allocations: 322.8 kB / 0.6387 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.1997, allocations: 19.98 kB / 0.6387 GB, free: 7.414 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1998, allocations: 73.98 kB / 0.6388 GB, free: 7.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2, allocations: 101 kB / 0.6389 GB, free: 7.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2, allocations: 0 / 0.6389 GB, free: 7.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002575/0.2003, allocations: 129.4 kB / 0.639 GB, free: 7.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2003, allocations: 8 kB / 0.639 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2003, allocations: 0 / 0.639 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2003, allocations: 7.938 kB / 0.639 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2005, allocations: 19.98 kB / 0.6391 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2005, allocations: 8.078 kB / 0.6391 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.2006, allocations: 11.98 kB / 0.6391 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.2006, allocations: 4 kB / 0.6391 GB, free: 7.012 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 0.0001016/0.2007, allocations: 121.9 kB / 0.6392 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.2008, allocations: 15.89 kB / 0.6392 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.2008, allocations: 15.88 kB / 0.6392 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2008, allocations: 4 kB / 0.6392 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2008, allocations: 3.938 kB / 0.6392 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2009, allocations: 0 / 0.6392 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.2012, allocations: 197.6 kB / 0.6394 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2012, allocations: 0 / 0.6394 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.2013, allocations: 15.98 kB / 0.6394 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2013, allocations: 4 kB / 0.6394 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2013, allocations: 3.984 kB / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2013, allocations: 4 kB / 0.6394 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2013, allocations: 3.938 kB / 0.6395 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2017, allocations: 349.8 kB / 0.6398 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.2017, allocations: 92.94 kB / 0.6399 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.2017, allocations: 4 kB / 0.6399 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2019, allocations: 7.984 kB / 0.6399 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.202, allocations: 7.938 kB / 0.6399 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.202, allocations: 0 / 0.6399 GB, free: 6.086 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.2021, allocations: 117.2 kB / 0.64 GB, free: 5.973 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2021, allocations: 0 / 0.64 GB, free: 5.973 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.2024, allocations: 16 kB / 0.64 GB, free: 5.957 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 0.0001056/0.2025, allocations: 99.25 kB / 0.6401 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.2028, allocations: 75.75 kB / 0.6402 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2028, allocations: 0 / 0.6402 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2029, allocations: 36.48 kB / 0.6402 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2033, allocations: 11.98 kB / 0.6402 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.2038, allocations: 253.8 kB / 0.6405 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2041, allocations: 0.6985 MB / 0.6412 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.2042, allocations: 11.98 kB / 0.6412 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.2042, allocations: 11.44 kB / 0.6412 GB, free: 4.703 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2042, allocations: 3.938 kB / 0.6412 GB, free: 4.699 MB / 462.1 MB Notification: Performance of Templates: time 0.00298/0.2072, allocations: 0.6566 MB / 0.6418 GB, free: 4.051 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