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.01428/0.01428, allocations: 1.425 MB / 16.65 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1154/0.1154, allocations: 22.38 MB / 40.07 MB, free: 0.8398 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.001149/0.00115, allocations: 99.48 kB / 47.53 MB, free: 2.5 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.001597/0.001597, allocations: 195.9 kB / 55.12 MB, free: 6.547 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.331/1.331, allocations: 222.9 MB / 285.5 MB, free: 1.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8441/0.8441, allocations: 127.8 MB / 470.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 124.4 kB / 0.5527 GB, free: 43.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1349, allocations: 82.35 MB / 0.6332 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003422/0.1383, allocations: 2.328 MB / 0.6354 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.1391, allocations: 454.9 kB / 0.6359 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.1392, allocations: 0 / 0.6359 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1393, allocations: 19.86 kB / 0.6359 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.1394, allocations: 11.86 kB / 0.6359 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.1396, allocations: 23.97 kB / 0.6359 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1397, allocations: 99.59 kB / 0.636 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.1398, allocations: 25.03 kB / 0.636 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.1399, allocations: 43.84 kB / 0.6361 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.14, allocations: 43.77 kB / 0.6361 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.14, allocations: 4 kB / 0.6361 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.14, allocations: 8 kB / 0.6361 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.1401, allocations: 15.94 kB / 0.6362 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.1401, allocations: 35.73 kB / 0.6362 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1403, allocations: 95.86 kB / 0.6363 GB, free: 10.08 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1403, allocations: 0 / 0.6363 GB, free: 10.08 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1403, allocations: 0 / 0.6363 GB, free: 10.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1403, allocations: 0 / 0.6363 GB, free: 10.08 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.0005185/0.1408, allocations: 414.9 kB / 0.6367 GB, free: 9.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1408, allocations: 8.031 kB / 0.6367 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1409, allocations: 12.84 kB / 0.6367 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.141, allocations: 192.1 kB / 0.6369 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.1411, allocations: 4.375 kB / 0.6369 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1411, allocations: 8.375 kB / 0.6369 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1413, allocations: 132.1 kB / 0.637 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1413, allocations: 0 / 0.637 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1414, allocations: 4 kB / 0.637 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1414, allocations: 4 kB / 0.637 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1416, allocations: 63.89 kB / 0.6371 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.1422, allocations: 0.5716 MB / 0.6376 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1423, allocations: 91.77 kB / 0.6377 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.1424, allocations: 46.55 kB / 0.6378 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1425, allocations: 4 kB / 0.6378 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1425, allocations: 38.56 kB / 0.6378 GB, free: 8.301 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1425, allocations: 0 / 0.6378 GB, free: 8.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003918/0.1429, allocations: 129.4 kB / 0.6379 GB, free: 8.168 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.143, allocations: 136.4 kB / 0.6381 GB, free: 8.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1431, allocations: 153 kB / 0.6382 GB, free: 7.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1431, allocations: 29.7 kB / 0.6382 GB, free: 7.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.1432, allocations: 115.9 kB / 0.6384 GB, free: 7.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1432, allocations: 19.69 kB / 0.6384 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1433, allocations: 25.7 kB / 0.6384 GB, free: 7.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1434, allocations: 322.8 kB / 0.6387 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.1435, allocations: 19.98 kB / 0.6387 GB, free: 7.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1436, allocations: 73.98 kB / 0.6388 GB, free: 7.207 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1438, allocations: 97.08 kB / 0.6389 GB, free: 7.094 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1438, allocations: 4 kB / 0.6389 GB, free: 7.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002484/0.144, allocations: 125.3 kB / 0.639 GB, free: 6.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1441, allocations: 10.22 kB / 0.639 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1441, allocations: 0 / 0.639 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1441, allocations: 11.88 kB / 0.639 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1442, allocations: 19.98 kB / 0.6391 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1442, allocations: 3.938 kB / 0.6391 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1443, allocations: 11.98 kB / 0.6391 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1443, allocations: 4 kB / 0.6391 GB, free: 6.902 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.65e-05/0.1444, allocations: 117.8 kB / 0.6392 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.1445, allocations: 15.91 kB / 0.6392 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.1445, allocations: 11.86 kB / 0.6392 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1445, allocations: 7.938 kB / 0.6392 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1445, allocations: 3.938 kB / 0.6392 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1445, allocations: 4 kB / 0.6392 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1448, allocations: 197.6 kB / 0.6394 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1448, allocations: 0 / 0.6394 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.1449, allocations: 15.98 kB / 0.6394 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1449, allocations: 0 / 0.6394 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.145, allocations: 4 kB / 0.6394 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.145, allocations: 7.984 kB / 0.6394 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.145, allocations: 3.938 kB / 0.6394 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1453, allocations: 345.8 kB / 0.6398 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1453, allocations: 96.94 kB / 0.6399 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1454, allocations: 4 kB / 0.6399 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.1455, allocations: 7.984 kB / 0.6399 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.1456, allocations: 15.92 kB / 0.6399 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.1456, allocations: 0 / 0.6399 GB, free: 5.969 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.358e-05/0.1457, allocations: 113.2 kB / 0.64 GB, free: 5.859 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1457, allocations: 0 / 0.64 GB, free: 5.859 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000303/0.146, allocations: 20 kB / 0.64 GB, free: 5.84 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.433e-05/0.1461, allocations: 95.25 kB / 0.6401 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1463, allocations: 71.88 kB / 0.6402 GB, free: 5.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1463, allocations: 0 / 0.6402 GB, free: 5.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.1464, allocations: 32.42 kB / 0.6402 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1468, allocations: 11.94 kB / 0.6402 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.1472, allocations: 261.8 kB / 0.6405 GB, free: 5.336 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1475, allocations: 0.6985 MB / 0.6412 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.1476, allocations: 4 kB / 0.6412 GB, free: 4.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1476, allocations: 19.42 kB / 0.6412 GB, free: 4.59 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1476, allocations: 3.938 kB / 0.6412 GB, free: 4.586 MB / 462.1 MB Notification: Performance of Templates: time 0.002645/0.1503, allocations: 0.658 MB / 0.6418 GB, free: 3.941 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