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.01562/0.01562, allocations: 1.431 MB / 16.55 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1151/0.1151, allocations: 22.37 MB / 39.95 MB, free: 0.8906 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.00113/0.001131, allocations: 103.8 kB / 47.42 MB, free: 2.539 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.001635/0.001635, allocations: 190.3 kB / 55 MB, free: 6.598 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.458/1.458, allocations: 222.9 MB / 285.3 MB, free: 1.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9371/0.9371, allocations: 127.8 MB / 469.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 128.5 kB / 0.5525 GB, free: 43.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1889, allocations: 82.36 MB / 0.633 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.004322/0.1933, allocations: 2.325 MB / 0.6352 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.1942, allocations: 454.8 kB / 0.6357 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.1943, allocations: 4 kB / 0.6357 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.1945, allocations: 11.88 kB / 0.6357 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.1945, allocations: 19.84 kB / 0.6357 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1948, allocations: 23.97 kB / 0.6357 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.195, allocations: 91.59 kB / 0.6358 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1951, allocations: 29.09 kB / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1952, allocations: 31.84 kB / 0.6359 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.1953, allocations: 39.78 kB / 0.6359 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1954, allocations: 4 kB / 0.6359 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.1954, allocations: 4 kB / 0.6359 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.1954, allocations: 11.92 kB / 0.6359 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.1955, allocations: 43.67 kB / 0.636 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1957, allocations: 79.94 kB / 0.636 GB, free: 10.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1957, allocations: 11.86 kB / 0.6361 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1957, allocations: 0 / 0.6361 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1957, allocations: 4 kB / 0.6361 GB, free: 10.27 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.0006606/0.1964, allocations: 403 kB / 0.6364 GB, free: 9.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1964, allocations: 12.03 kB / 0.6365 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1965, allocations: 8.844 kB / 0.6365 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1967, allocations: 200.1 kB / 0.6367 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1967, allocations: 4.375 kB / 0.6367 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1968, allocations: 4.375 kB / 0.6367 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1971, allocations: 129.3 kB / 0.6368 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1971, allocations: 4 kB / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1971, allocations: 0 / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1971, allocations: 0 / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.1973, allocations: 67.88 kB / 0.6369 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.1981, allocations: 0.5715 MB / 0.6374 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1983, allocations: 95.77 kB / 0.6375 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1984, allocations: 42.62 kB / 0.6375 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1984, allocations: 3.984 kB / 0.6376 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1985, allocations: 34.56 kB / 0.6376 GB, free: 8.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1985, allocations: 0 / 0.6376 GB, free: 8.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004727/0.199, allocations: 133.3 kB / 0.6377 GB, free: 8.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.1991, allocations: 136.8 kB / 0.6378 GB, free: 8.195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1993, allocations: 156.7 kB / 0.638 GB, free: 8.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1993, allocations: 25.7 kB / 0.638 GB, free: 8.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1995, allocations: 111.9 kB / 0.6381 GB, free: 7.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1995, allocations: 27.67 kB / 0.6381 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1996, allocations: 21.72 kB / 0.6382 GB, free: 7.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1998, allocations: 318.8 kB / 0.6385 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1999, allocations: 27.97 kB / 0.6385 GB, free: 7.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.2, allocations: 73.98 kB / 0.6386 GB, free: 7.395 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2002, allocations: 101 kB / 0.6387 GB, free: 7.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2002, allocations: 0 / 0.6387 GB, free: 7.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002709/0.2005, allocations: 125.4 kB / 0.6388 GB, free: 7.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2005, allocations: 8 kB / 0.6388 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2006, allocations: 0 / 0.6388 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2006, allocations: 0 / 0.6388 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2007, allocations: 23.97 kB / 0.6388 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2007, allocations: 7.938 kB / 0.6388 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.2008, allocations: 11.98 kB / 0.6388 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2009, allocations: 8 kB / 0.6388 GB, free: 7.09 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.000111/0.201, allocations: 125.9 kB / 0.639 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.201, allocations: 7.906 kB / 0.639 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.2011, allocations: 15.81 kB / 0.639 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2011, allocations: 3.984 kB / 0.639 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2011, allocations: 7.938 kB / 0.639 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2011, allocations: 0 / 0.639 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.2014, allocations: 193.6 kB / 0.6392 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2014, allocations: 0 / 0.6392 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.2015, allocations: 15.98 kB / 0.6392 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2015, allocations: 4 kB / 0.6392 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2016, allocations: 0 / 0.6392 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2016, allocations: 0 / 0.6392 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2016, allocations: 7.938 kB / 0.6392 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.2019, allocations: 353.8 kB / 0.6395 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.202, allocations: 88.95 kB / 0.6396 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.202, allocations: 3.984 kB / 0.6396 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2022, allocations: 11.98 kB / 0.6396 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.2023, allocations: 11.92 kB / 0.6397 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2023, allocations: 4 kB / 0.6397 GB, free: 6.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.867e-05/0.2024, allocations: 113.2 kB / 0.6398 GB, free: 6.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.2024, allocations: 0 / 0.6398 GB, free: 6.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.2027, allocations: 19.94 kB / 0.6398 GB, free: 6.031 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.000103/0.2028, allocations: 99.25 kB / 0.6399 GB, free: 5.926 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.2031, allocations: 71.83 kB / 0.64 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2031, allocations: 0 / 0.64 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2032, allocations: 36.47 kB / 0.64 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.2036, allocations: 8 kB / 0.64 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.2041, allocations: 255.5 kB / 0.6402 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2044, allocations: 0.7004 MB / 0.6409 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.2045, allocations: 8 kB / 0.6409 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.2045, allocations: 7.438 kB / 0.6409 GB, free: 4.785 MB / 462.1 MB Notification: Performance of SimCode: time 5.1e-07/0.2046, allocations: 0 / 0.6409 GB, free: 4.785 MB / 462.1 MB Notification: Performance of Templates: time 0.003027/0.2076, allocations: 0.6438 MB / 0.6416 GB, free: 4.156 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