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.009026/0.009026, allocations: 1.436 MB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1204/0.1204, allocations: 22.38 MB / 41.16 MB, free: 7.777 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 104 kB / 48.65 MB, free: 268 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 187.5 kB / 56.24 MB, free: 9.48 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.354/1.354, allocations: 222.9 MB / 286.6 MB, free: 13.99 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.843/0.843, allocations: 127.8 MB / 471.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 127.7 kB / 0.6359 GB, free: 13.24 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4946, allocations: 82.35 MB / 0.7163 GB, free: 9.578 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003333/0.4979, allocations: 2.285 MB / 0.7186 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.4987, allocations: 459.1 kB / 0.719 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.4988, allocations: 1.812 kB / 0.719 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.4989, allocations: 11.81 kB / 0.719 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.499, allocations: 23.23 kB / 0.719 GB, free: 7.422 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.4992, allocations: 24.88 kB / 0.7191 GB, free: 7.402 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.4994, allocations: 109.8 kB / 0.7192 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4995, allocations: 16.94 kB / 0.7192 GB, free: 7.324 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.4996, allocations: 43.44 kB / 0.7192 GB, free: 7.297 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.4997, allocations: 38.72 kB / 0.7193 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.4997, allocations: 6.594 kB / 0.7193 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.4997, allocations: 5.844 kB / 0.7193 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.4997, allocations: 21.91 kB / 0.7193 GB, free: 7.25 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.4998, allocations: 41.17 kB / 0.7193 GB, free: 7.219 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.4999, allocations: 87.89 kB / 0.7194 GB, free: 7.156 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4999, allocations: 3.938 kB / 0.7194 GB, free: 7.152 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5, allocations: 0 / 0.7194 GB, free: 7.152 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5, allocations: 0 / 0.7194 GB, free: 7.152 MB / 0.5138 GB 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.0005573/0.5005, allocations: 401.2 kB / 0.7198 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5006, allocations: 9.406 kB / 0.7198 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.5006, allocations: 16.25 kB / 0.7198 GB, free: 6.742 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.5008, allocations: 196.8 kB / 0.72 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5008, allocations: 6.75 kB / 0.72 GB, free: 6.516 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.5009, allocations: 5.062 kB / 0.72 GB, free: 6.516 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.5011, allocations: 122.5 kB / 0.7201 GB, free: 6.41 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5011, allocations: 0 / 0.7201 GB, free: 6.41 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.5012, allocations: 5.219 kB / 0.7201 GB, free: 6.406 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5012, allocations: 1.375 kB / 0.7201 GB, free: 6.406 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.5014, allocations: 68.61 kB / 0.7202 GB, free: 6.375 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.5021, allocations: 0.5853 MB / 0.7208 GB, free: 5.77 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5023, allocations: 82.31 kB / 0.7209 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5024, allocations: 42.92 kB / 0.7209 GB, free: 5.648 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5024, allocations: 4 kB / 0.7209 GB, free: 5.645 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5024, allocations: 33.72 kB / 0.7209 GB, free: 5.605 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5024, allocations: 0 / 0.7209 GB, free: 5.605 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0004556/0.5029, allocations: 137.7 kB / 0.7211 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.503, allocations: 137.8 kB / 0.7212 GB, free: 5.355 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5031, allocations: 162.8 kB / 0.7214 GB, free: 5.215 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.5032, allocations: 27.23 kB / 0.7214 GB, free: 5.184 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.5032, allocations: 114 kB / 0.7215 GB, free: 5.074 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.5033, allocations: 13.28 kB / 0.7215 GB, free: 5.062 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.5033, allocations: 31.52 kB / 0.7215 GB, free: 5.031 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5034, allocations: 321.5 kB / 0.7218 GB, free: 4.711 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.5036, allocations: 28.33 kB / 0.7219 GB, free: 4.699 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.5037, allocations: 73.28 kB / 0.7219 GB, free: 4.625 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.5039, allocations: 105.3 kB / 0.722 GB, free: 4.539 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5039, allocations: 0 / 0.722 GB, free: 4.539 MB / 0.5138 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003018/0.5042, allocations: 121.7 kB / 0.7222 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5043, allocations: 5.5 kB / 0.7222 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.5043, allocations: 1.375 kB / 0.7222 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5043, allocations: 2.75 kB / 0.7222 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5044, allocations: 23.11 kB / 0.7222 GB, free: 4.457 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5045, allocations: 5.312 kB / 0.7222 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5046, allocations: 16.42 kB / 0.7222 GB, free: 4.445 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.5046, allocations: 2.75 kB / 0.7222 GB, free: 4.445 MB / 0.5138 GB 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.0001109/0.5047, allocations: 127.2 kB / 0.7223 GB, free: 4.316 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.5048, allocations: 13.31 kB / 0.7223 GB, free: 4.309 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.5048, allocations: 16 kB / 0.7224 GB, free: 4.289 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5049, allocations: 1.375 kB / 0.7224 GB, free: 4.289 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5049, allocations: 3.938 kB / 0.7224 GB, free: 4.285 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5049, allocations: 1.375 kB / 0.7224 GB, free: 4.285 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.5052, allocations: 188.9 kB / 0.7225 GB, free: 4.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5052, allocations: 4 kB / 0.7225 GB, free: 4.066 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.5053, allocations: 18.98 kB / 0.7226 GB, free: 4.059 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5053, allocations: 5.359 kB / 0.7226 GB, free: 4.055 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.5053, allocations: 1.375 kB / 0.7226 GB, free: 4.055 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5053, allocations: 1.375 kB / 0.7226 GB, free: 4.055 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5053, allocations: 5.312 kB / 0.7226 GB, free: 4.051 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.5058, allocations: 346.4 kB / 0.7229 GB, free: 3.734 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.5058, allocations: 91.91 kB / 0.723 GB, free: 3.629 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.5059, allocations: 2.281 kB / 0.723 GB, free: 3.629 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.5061, allocations: 10.02 kB / 0.723 GB, free: 3.625 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.5061, allocations: 6.719 kB / 0.723 GB, free: 3.621 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5061, allocations: 6.312 kB / 0.723 GB, free: 3.617 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0001112/0.5063, allocations: 122.3 kB / 0.7231 GB, free: 3.516 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5063, allocations: 1 kB / 0.7231 GB, free: 3.516 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003245/0.5066, allocations: 11.88 kB / 0.7231 GB, free: 3.516 MB / 0.5138 GB 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.0001318/0.5067, allocations: 101.5 kB / 0.7232 GB, free: 3.422 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.507, allocations: 76.97 kB / 0.7233 GB, free: 3.387 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.507, allocations: 4.375 kB / 0.7233 GB, free: 3.383 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5072, allocations: 32.83 kB / 0.7234 GB, free: 3.371 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.5076, allocations: 16.67 kB / 0.7234 GB, free: 3.359 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.5082, allocations: 238.2 kB / 0.7236 GB, free: 3.145 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.5085, allocations: 0.7029 MB / 0.7243 GB, free: 2.434 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.5086, allocations: 15.86 kB / 0.7243 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of SimCode: time 1.383e-06/0.5086, allocations: 0 / 0.7243 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of Templates: time 0.003694/0.5123, allocations: 1.155 MB / 0.7254 GB, free: 1.836 MB / 0.5138 GB 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