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.01605/0.01605, allocations: 1.413 MB / 16.38 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1405/0.1405, allocations: 22.59 MB / 39.99 MB, free: 1.23 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.000908/0.000908, allocations: 100.8 kB / 47.73 MB, free: 2.543 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.001309/0.001309, allocations: 175.4 kB / 55.58 MB, free: 6.328 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.524/1.524, allocations: 223.3 MB / 286.5 MB, free: 14.7 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9532/0.9532, allocations: 127.8 MB / 472.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005351, allocations: 19.98 kB / 0.556 GB, free: 17.56 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1982, allocations: 83.87 MB / 0.6379 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.002813/0.2011, allocations: 1.862 MB / 0.6397 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.2021, allocations: 435.3 kB / 0.6401 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2022, allocations: 0 / 0.6401 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2024, allocations: 15.81 kB / 0.6402 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.553e-05/0.2025, allocations: 15.84 kB / 0.6402 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2027, allocations: 19.92 kB / 0.6402 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.2029, allocations: 83.7 kB / 0.6403 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.203, allocations: 21.09 kB / 0.6403 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2032, allocations: 39.78 kB / 0.6403 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2033, allocations: 39.78 kB / 0.6404 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.2033, allocations: 0 / 0.6404 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.2033, allocations: 4 kB / 0.6404 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.2034, allocations: 15.92 kB / 0.6404 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.2034, allocations: 37.64 kB / 0.6404 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.2035, allocations: 60.11 kB / 0.6405 GB, free: 11.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2035, allocations: 4 kB / 0.6405 GB, free: 11.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2036, allocations: 0 / 0.6405 GB, free: 11.03 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2036, allocations: 0 / 0.6405 GB, free: 11.03 MB / 478.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.0006243/0.2042, allocations: 394.9 kB / 0.6409 GB, free: 10.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2042, allocations: 8.031 kB / 0.6409 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.2043, allocations: 15.86 kB / 0.6409 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2046, allocations: 190.9 kB / 0.6411 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2046, allocations: 12 kB / 0.6411 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2046, allocations: 4 kB / 0.6411 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.2049, allocations: 125 kB / 0.6412 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.205, allocations: 0 / 0.6412 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.205, allocations: 8 kB / 0.6412 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.205, allocations: 3.938 kB / 0.6412 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.2052, allocations: 79.84 kB / 0.6413 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.2061, allocations: 0.5792 MB / 0.6418 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2063, allocations: 91.78 kB / 0.6419 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2064, allocations: 54.61 kB / 0.642 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2064, allocations: 4 kB / 0.642 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.2065, allocations: 34.56 kB / 0.642 GB, free: 9.234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.2065, allocations: 0 / 0.642 GB, free: 9.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004756/0.207, allocations: 149.5 kB / 0.6422 GB, free: 9.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.2071, allocations: 132.5 kB / 0.6423 GB, free: 8.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2072, allocations: 153.8 kB / 0.6424 GB, free: 8.766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2072, allocations: 25.7 kB / 0.6425 GB, free: 8.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.2073, allocations: 115.9 kB / 0.6426 GB, free: 8.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.2074, allocations: 27.64 kB / 0.6426 GB, free: 8.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.2074, allocations: 0 / 0.6426 GB, free: 8.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2075, allocations: 318.8 kB / 0.6429 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2076, allocations: 35.97 kB / 0.6429 GB, free: 8.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2078, allocations: 77.98 kB / 0.643 GB, free: 8.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2079, allocations: 47.89 kB / 0.6431 GB, free: 8.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2079, allocations: 3.953 kB / 0.6431 GB, free: 8.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002834/0.2082, allocations: 133.4 kB / 0.6432 GB, free: 7.949 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2082, allocations: 6.031 kB / 0.6432 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2082, allocations: 0 / 0.6432 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2083, allocations: 4 kB / 0.6432 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2084, allocations: 24.17 kB / 0.6432 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2084, allocations: 4 kB / 0.6432 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2085, allocations: 19.98 kB / 0.6432 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2086, allocations: 0 / 0.6432 GB, free: 7.895 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.2087, allocations: 125.8 kB / 0.6434 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.2088, allocations: 11.86 kB / 0.6434 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.2088, allocations: 15.88 kB / 0.6434 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2088, allocations: 4 kB / 0.6434 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.2088, allocations: 4 kB / 0.6434 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2089, allocations: 0 / 0.6434 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.2092, allocations: 193.5 kB / 0.6436 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2092, allocations: 0 / 0.6436 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2093, allocations: 27.86 kB / 0.6436 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.2094, allocations: 4 kB / 0.6436 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2094, allocations: 4 kB / 0.6436 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2094, allocations: 0 / 0.6436 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2094, allocations: 0 / 0.6436 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.2098, allocations: 361.9 kB / 0.644 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.2098, allocations: 88.95 kB / 0.644 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.2099, allocations: 15.94 kB / 0.6441 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2101, allocations: 11.98 kB / 0.6441 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.2101, allocations: 4 kB / 0.6441 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2101, allocations: 3.984 kB / 0.6441 GB, free: 6.941 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2103, allocations: 116.1 kB / 0.6442 GB, free: 6.828 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2103, allocations: 4 kB / 0.6442 GB, free: 6.824 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.2106, allocations: 12 kB / 0.6442 GB, free: 6.812 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.2107, allocations: 95.23 kB / 0.6443 GB, free: 6.711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.211, allocations: 88.08 kB / 0.6444 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2111, allocations: 0 / 0.6444 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2112, allocations: 39.97 kB / 0.6444 GB, free: 6.586 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2116, allocations: 14.64 kB / 0.6444 GB, free: 6.578 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.2121, allocations: 253.3 kB / 0.6447 GB, free: 6.289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2125, allocations: 0.7043 MB / 0.6454 GB, free: 5.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.625e-05/0.2126, allocations: 8.172 kB / 0.6454 GB, free: 5.551 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.2126, allocations: 11.44 kB / 0.6454 GB, free: 5.539 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2126, allocations: 0 / 0.6454 GB, free: 5.539 MB / 478.1 MB Notification: Performance of Templates: time 0.003374/0.216, allocations: 0.6029 MB / 0.646 GB, free: 4.941 MB / 478.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