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.01237/0.01237, allocations: 1.431 MB / 16.93 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1144/0.1144, 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.001098/0.001098, allocations: 110 kB / 47.83 MB, free: 2.391 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.001231/0.001231, allocations: 192.1 kB / 55.43 MB, free: 6.434 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.301/1.301, allocations: 222.9 MB / 285.8 MB, free: 1.266 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8955/0.8955, allocations: 127.8 MB / 470.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002173, allocations: 122.2 kB / 0.5533 GB, free: 42.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1542, allocations: 82.36 MB / 0.6337 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003189/0.1574, allocations: 2.268 MB / 0.6359 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007175/0.1581, allocations: 458.9 kB / 0.6364 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.1582, allocations: 4 kB / 0.6364 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.1583, allocations: 15.81 kB / 0.6364 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.1584, allocations: 15.8 kB / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1585, allocations: 27.91 kB / 0.6364 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1587, allocations: 99.64 kB / 0.6365 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1588, allocations: 25.39 kB / 0.6366 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.1589, allocations: 43.78 kB / 0.6366 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.159, allocations: 39.78 kB / 0.6366 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.159, allocations: 8 kB / 0.6366 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.159, allocations: 4 kB / 0.6366 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.1591, allocations: 19.86 kB / 0.6367 GB, free: 9.738 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1591, allocations: 47.72 kB / 0.6367 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1592, allocations: 79.66 kB / 0.6368 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1593, allocations: 0 / 0.6368 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1593, allocations: 3.938 kB / 0.6368 GB, free: 9.609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1593, allocations: 0 / 0.6368 GB, free: 9.609 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.0005256/0.1598, allocations: 410.9 kB / 0.6372 GB, free: 9.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1599, allocations: 8.031 kB / 0.6372 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1599, allocations: 12.84 kB / 0.6372 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1601, allocations: 196.1 kB / 0.6374 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1601, allocations: 4.375 kB / 0.6374 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1601, allocations: 8.375 kB / 0.6374 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1604, allocations: 124.1 kB / 0.6375 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1604, allocations: 0 / 0.6375 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1604, allocations: 4 kB / 0.6375 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1604, allocations: 8 kB / 0.6375 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.1606, allocations: 67.88 kB / 0.6376 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.1612, allocations: 0.5754 MB / 0.6382 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1614, allocations: 79.78 kB / 0.6382 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1615, allocations: 46.61 kB / 0.6383 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1615, allocations: 0 / 0.6383 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1616, allocations: 38.56 kB / 0.6383 GB, free: 7.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1616, allocations: 0 / 0.6383 GB, free: 7.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004268/0.162, allocations: 133.5 kB / 0.6384 GB, free: 7.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.1621, allocations: 136.5 kB / 0.6386 GB, free: 7.539 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1622, allocations: 148.7 kB / 0.6387 GB, free: 7.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1622, allocations: 33.64 kB / 0.6387 GB, free: 7.348 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1623, allocations: 115.9 kB / 0.6389 GB, free: 7.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1623, allocations: 23.73 kB / 0.6389 GB, free: 7.207 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1624, allocations: 17.91 kB / 0.6389 GB, free: 7.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1625, allocations: 330.8 kB / 0.6392 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.1626, allocations: 27.97 kB / 0.6392 GB, free: 6.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1627, allocations: 65.94 kB / 0.6393 GB, free: 6.738 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1629, allocations: 101.1 kB / 0.6394 GB, free: 6.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1629, allocations: 0 / 0.6394 GB, free: 6.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002499/0.1632, allocations: 129.3 kB / 0.6395 GB, free: 6.488 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1632, allocations: 5.875 kB / 0.6395 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1632, allocations: 0 / 0.6395 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1632, allocations: 4 kB / 0.6395 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1633, allocations: 19.98 kB / 0.6395 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1634, allocations: 12.06 kB / 0.6396 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.1635, allocations: 11.98 kB / 0.6396 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1635, allocations: 7.938 kB / 0.6396 GB, free: 6.43 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.723e-05/0.1636, allocations: 121.8 kB / 0.6397 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.1636, allocations: 19.89 kB / 0.6397 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.1637, allocations: 11.88 kB / 0.6397 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1637, allocations: 0 / 0.6397 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1637, allocations: 3.938 kB / 0.6397 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1637, allocations: 4 kB / 0.6397 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.164, allocations: 201.5 kB / 0.6399 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.164, allocations: 3.984 kB / 0.6399 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.1641, allocations: 15.98 kB / 0.6399 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1641, allocations: 0 / 0.6399 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1641, allocations: 4 kB / 0.6399 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1641, allocations: 0 / 0.6399 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1641, allocations: 3.938 kB / 0.64 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1644, allocations: 353.8 kB / 0.6403 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.1644, allocations: 85.02 kB / 0.6404 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1645, allocations: 4 kB / 0.6404 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1646, allocations: 7.984 kB / 0.6404 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.1647, allocations: 11.94 kB / 0.6404 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1647, allocations: 7.984 kB / 0.6404 GB, free: 5.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.1648, allocations: 109.2 kB / 0.6405 GB, free: 5.391 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1648, allocations: 0 / 0.6405 GB, free: 5.391 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1651, allocations: 20 kB / 0.6405 GB, free: 5.371 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.746e-05/0.1652, allocations: 99.17 kB / 0.6406 GB, free: 5.266 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1654, allocations: 76.14 kB / 0.6407 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1655, allocations: 4 kB / 0.6407 GB, free: 5.188 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.1656, allocations: 39.84 kB / 0.6407 GB, free: 5.148 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1659, allocations: 4 kB / 0.6407 GB, free: 5.145 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1664, allocations: 218 kB / 0.6409 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1666, allocations: 0.7002 MB / 0.6416 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.1667, allocations: 11.98 kB / 0.6416 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1667, allocations: 7.438 kB / 0.6416 GB, free: 4.152 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1667, allocations: 0 / 0.6416 GB, free: 4.152 MB / 462.1 MB Notification: Performance of Templates: time 0.00273/0.1694, allocations: 0.7437 MB / 0.6424 GB, free: 3.426 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