Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.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.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01783/0.01783, allocations: 1.427 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.1174/0.1174, allocations: 22.38 MB / 39.95 MB, free: 0.9219 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.001213/0.001213, allocations: 113.4 kB / 47.43 MB, free: 2.547 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.00146/0.00146, allocations: 184.5 kB / 55 MB, free: 6.605 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.426/1.426, allocations: 222.9 MB / 285.3 MB, free: 1.406 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9021/0.9021, allocations: 127.8 MB / 470 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 121.1 kB / 0.5526 GB, free: 43.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1653, allocations: 82.36 MB / 0.633 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003356/0.1687, allocations: 2.221 MB / 0.6352 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1698, allocations: 0.6389 MB / 0.6358 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.1698, allocations: 0 / 0.6358 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.1699, allocations: 11.92 kB / 0.6358 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.17, allocations: 7.938 kB / 0.6358 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1702, allocations: 71.78 kB / 0.6359 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1704, allocations: 79.7 kB / 0.6359 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.1705, allocations: 12.28 kB / 0.636 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1706, allocations: 39.89 kB / 0.636 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.1707, allocations: 43.77 kB / 0.636 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1707, allocations: 7.938 kB / 0.636 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.1709, allocations: 159.7 kB / 0.6362 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.171, allocations: 11.98 kB / 0.6362 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.171, allocations: 31.8 kB / 0.6362 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1712, allocations: 131.6 kB / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1712, allocations: 0 / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1712, allocations: 0 / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1712, allocations: 0 / 0.6364 GB, free: 10 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006871/0.1719, allocations: 419.1 kB / 0.6368 GB, free: 9.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.172, allocations: 8.031 kB / 0.6368 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.172, allocations: 8.844 kB / 0.6368 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1722, allocations: 190.2 kB / 0.637 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1722, allocations: 4.375 kB / 0.637 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1722, allocations: 4.375 kB / 0.637 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.1726, allocations: 109.9 kB / 0.6371 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1726, allocations: 3.984 kB / 0.6371 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1726, allocations: 0 / 0.6371 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1726, allocations: 0 / 0.6371 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.1731, allocations: 119.8 kB / 0.6372 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1735, allocations: 300.8 kB / 0.6375 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1738, allocations: 82.55 kB / 0.6376 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.174, allocations: 60.92 kB / 0.6376 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1741, allocations: 0 / 0.6376 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1741, allocations: 38.55 kB / 0.6377 GB, free: 8.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1741, allocations: 0 / 0.6377 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007962/0.1749, allocations: 201.4 kB / 0.6378 GB, free: 8.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.175, allocations: 55.41 kB / 0.6379 GB, free: 8.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1751, allocations: 133.8 kB / 0.638 GB, free: 8.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1751, allocations: 29.64 kB / 0.6381 GB, free: 8.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1752, allocations: 96.05 kB / 0.6381 GB, free: 7.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1752, allocations: 15.73 kB / 0.6382 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.1752, allocations: 17.72 kB / 0.6382 GB, free: 7.941 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1754, allocations: 326.8 kB / 0.6385 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1756, allocations: 55.94 kB / 0.6385 GB, free: 7.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.1758, allocations: 55.94 kB / 0.6386 GB, free: 7.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.1763, allocations: 116.7 kB / 0.6387 GB, free: 7.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1763, allocations: 7.875 kB / 0.6387 GB, free: 7.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004794/0.1768, allocations: 145.5 kB / 0.6389 GB, free: 7.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1768, allocations: 6.812 kB / 0.6389 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1768, allocations: 4 kB / 0.6389 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1768, allocations: 0 / 0.6389 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.177, allocations: 35.89 kB / 0.6389 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.177, allocations: 0 / 0.6389 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1772, allocations: 19.97 kB / 0.6389 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1772, allocations: 0 / 0.6389 GB, free: 7.168 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.37e-05/0.1773, allocations: 123.5 kB / 0.639 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1773, allocations: 7.906 kB / 0.639 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/0.1779, allocations: 162.3 kB / 0.6392 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1779, allocations: 64 / 0.6392 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1779, allocations: 4 kB / 0.6392 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1779, allocations: 4 kB / 0.6392 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1781, allocations: 197.5 kB / 0.6394 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1781, allocations: 3.938 kB / 0.6394 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1783, allocations: 31.95 kB / 0.6394 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1783, allocations: 0 / 0.6394 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1783, allocations: 0 / 0.6394 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1783, allocations: 4 kB / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1783, allocations: 0 / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.1788, allocations: 255.3 kB / 0.6397 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.1789, allocations: 81.02 kB / 0.6398 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1789, allocations: 4 kB / 0.6398 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1791, allocations: 23.97 kB / 0.6398 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1792, allocations: 7.984 kB / 0.6398 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1792, allocations: 4 kB / 0.6398 GB, free: 6.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.709e-05/0.1792, allocations: 99.27 kB / 0.6399 GB, free: 6.082 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1792, allocations: 3.938 kB / 0.6399 GB, free: 6.078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1795, allocations: 31.78 kB / 0.6399 GB, free: 6.047 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001503/0.1797, allocations: 107.2 kB / 0.64 GB, free: 5.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.1802, allocations: 119.9 kB / 0.6401 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1802, allocations: 0 / 0.6401 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.1805, allocations: 67.88 kB / 0.6402 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1808, allocations: 18.59 kB / 0.6402 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.1812, allocations: 197.1 kB / 0.6404 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1815, allocations: 0.6926 MB / 0.6411 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.1815, allocations: 15.91 kB / 0.6411 GB, free: 4.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1816, allocations: 11.44 kB / 0.6411 GB, free: 4.766 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1816, allocations: 0 / 0.6411 GB, free: 4.766 MB / 462.1 MB Notification: Performance of Templates: time 0.003245/0.1848, allocations: 1.046 MB / 0.6421 GB, free: 3.727 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches