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.01485/0.01485, allocations: 1.415 MB / 17.34 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1409/0.1409, allocations: 22.59 MB / 40.96 MB, free: 0.9258 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.0008637/0.000864, allocations: 102.5 kB / 48.72 MB, free: 2.312 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.001365/0.001365, allocations: 169.9 kB / 56.57 MB, free: 3.941 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 287.6 MB, free: 2.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9362/0.9362, allocations: 127.7 MB / 473.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005512/0.0005512, allocations: 24.86 kB / 0.5573 GB, free: 42.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.188, allocations: 83.88 MB / 0.6392 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.002552/0.1906, allocations: 1.983 MB / 0.6412 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.1914, allocations: 443 kB / 0.6416 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.1915, allocations: 3.938 kB / 0.6416 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.1916, allocations: 3.938 kB / 0.6416 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.1917, allocations: 19.8 kB / 0.6416 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1918, allocations: 27.95 kB / 0.6416 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.192, allocations: 91.66 kB / 0.6417 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1921, allocations: 29.03 kB / 0.6418 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.1922, allocations: 31.8 kB / 0.6418 GB, free: 8.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.1923, allocations: 47.7 kB / 0.6418 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1924, allocations: 4 kB / 0.6418 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.1924, allocations: 4 kB / 0.6418 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.1924, allocations: 11.92 kB / 0.6419 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1925, allocations: 61.44 kB / 0.6419 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.249e-05/0.1926, allocations: 59.89 kB / 0.642 GB, free: 8.258 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1926, allocations: 0 / 0.642 GB, free: 8.258 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1926, allocations: 0 / 0.642 GB, free: 8.258 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1926, allocations: 3.938 kB / 0.642 GB, free: 8.254 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.0005264/0.1931, allocations: 395.1 kB / 0.6424 GB, free: 7.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1932, allocations: 8.031 kB / 0.6424 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1933, allocations: 16.84 kB / 0.6424 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1935, allocations: 200 kB / 0.6426 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1935, allocations: 8.312 kB / 0.6426 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1935, allocations: 8.375 kB / 0.6426 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1938, allocations: 123.4 kB / 0.6427 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1938, allocations: 4 kB / 0.6427 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1938, allocations: 4 kB / 0.6427 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1938, allocations: 0 / 0.6427 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.1941, allocations: 79.88 kB / 0.6428 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.1947, allocations: 0.5792 MB / 0.6433 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1949, allocations: 99.77 kB / 0.6434 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.195, allocations: 50.62 kB / 0.6435 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1951, allocations: 4 kB / 0.6435 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1951, allocations: 34.5 kB / 0.6435 GB, free: 6.453 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1951, allocations: 4 kB / 0.6435 GB, free: 6.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004662/0.1956, allocations: 145.5 kB / 0.6437 GB, free: 6.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1957, allocations: 136.8 kB / 0.6438 GB, free: 6.137 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1958, allocations: 152.7 kB / 0.6439 GB, free: 5.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1958, allocations: 25.7 kB / 0.644 GB, free: 5.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.1959, allocations: 115.9 kB / 0.6441 GB, free: 5.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1959, allocations: 19.73 kB / 0.6441 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.196, allocations: 13.72 kB / 0.6441 GB, free: 5.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1961, allocations: 322.8 kB / 0.6444 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.1962, allocations: 35.98 kB / 0.6445 GB, free: 5.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1963, allocations: 77.91 kB / 0.6445 GB, free: 5.336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1966, allocations: 117.1 kB / 0.6446 GB, free: 5.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1966, allocations: 0 / 0.6446 GB, free: 5.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002765/0.1969, allocations: 137.4 kB / 0.6448 GB, free: 5.062 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1969, allocations: 4 kB / 0.6448 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1969, allocations: 4 kB / 0.6448 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1969, allocations: 0 / 0.6448 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.197, allocations: 23.98 kB / 0.6448 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1971, allocations: 7.875 kB / 0.6448 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1972, allocations: 24.14 kB / 0.6448 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.1972, allocations: 4 kB / 0.6448 GB, free: 4.996 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 9.175e-05/0.1973, allocations: 113.8 kB / 0.6449 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.1974, allocations: 7.906 kB / 0.645 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.1974, allocations: 19.8 kB / 0.645 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1974, allocations: 3.938 kB / 0.645 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1974, allocations: 7.938 kB / 0.645 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1974, allocations: 0 / 0.645 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1977, allocations: 205.5 kB / 0.6452 GB, free: 4.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1977, allocations: 0 / 0.6452 GB, free: 4.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.1978, allocations: 15.98 kB / 0.6452 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1978, allocations: 4 kB / 0.6452 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1979, allocations: 3.984 kB / 0.6452 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1979, allocations: 7.938 kB / 0.6452 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1979, allocations: 7.938 kB / 0.6452 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.1982, allocations: 357.9 kB / 0.6456 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1983, allocations: 81.02 kB / 0.6456 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1983, allocations: 11.98 kB / 0.6456 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1985, allocations: 12 kB / 0.6457 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1985, allocations: 15.91 kB / 0.6457 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.1985, allocations: 0 / 0.6457 GB, free: 4.047 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.1986, allocations: 117.2 kB / 0.6458 GB, free: 3.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1986, allocations: 3.938 kB / 0.6458 GB, free: 3.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1989, allocations: 12 kB / 0.6458 GB, free: 3.918 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.254e-05/0.199, allocations: 99.25 kB / 0.6459 GB, free: 3.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1993, allocations: 84.19 kB / 0.646 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1993, allocations: 4.062 kB / 0.646 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1994, allocations: 35.92 kB / 0.646 GB, free: 3.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1998, allocations: 8 kB / 0.646 GB, free: 3.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.2003, allocations: 287 kB / 0.6463 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.2006, allocations: 0.712 MB / 0.647 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.2007, allocations: 11.44 kB / 0.647 GB, free: 2.602 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2007, allocations: 0 / 0.647 GB, free: 2.602 MB / 462.1 MB Notification: Performance of Templates: time 0.002726/0.2034, allocations: 1.128 MB / 0.6481 GB, free: 1.477 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/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