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.01276/0.01276, allocations: 1.436 MB / 17.07 MB, free: 4.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.125/0.125, allocations: 22.36 MB / 40.48 MB, free: 0.4922 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.001021/0.00102, allocations: 110.3 kB / 47.98 MB, free: 2.141 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.001241/0.001241, allocations: 191.6 kB / 55.58 MB, free: 6.172 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.367/1.367, allocations: 222.9 MB / 285.9 MB, free: 1.184 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8692/0.8692, allocations: 127.8 MB / 470.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 123.8 kB / 0.6353 GB, free: 11.17 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1592, allocations: 82.34 MB / 0.7157 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.002848/0.1621, allocations: 2.169 MB / 0.7178 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.163, allocations: 0.6233 MB / 0.7184 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1631, allocations: 0 / 0.7184 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.1631, allocations: 3.938 kB / 0.7184 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.1632, allocations: 15.81 kB / 0.7184 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1635, allocations: 87.75 kB / 0.7185 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.1636, allocations: 83.69 kB / 0.7186 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.1637, allocations: 35.91 kB / 0.7186 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1638, allocations: 39.84 kB / 0.7187 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.1639, allocations: 39.84 kB / 0.7187 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1639, allocations: 4 kB / 0.7187 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1641, allocations: 167.7 kB / 0.7189 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.1641, allocations: 19.92 kB / 0.7189 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.1642, allocations: 31.8 kB / 0.7189 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1644, allocations: 135.6 kB / 0.7191 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1644, allocations: 4 kB / 0.7191 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1644, allocations: 0 / 0.7191 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1644, allocations: 0 / 0.7191 GB, free: 5.301 MB / 0.5294 GB 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.0005706/0.165, allocations: 415 kB / 0.7195 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.165, allocations: 19.95 kB / 0.7195 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.165, allocations: 12.84 kB / 0.7195 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1652, allocations: 178.4 kB / 0.7197 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1652, allocations: 384 / 0.7197 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1652, allocations: 4.375 kB / 0.7197 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.1655, allocations: 105.9 kB / 0.7198 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1655, allocations: 0 / 0.7198 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1655, allocations: 4 kB / 0.7198 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1656, allocations: 4 kB / 0.7198 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.166, allocations: 111.8 kB / 0.7199 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1663, allocations: 308.7 kB / 0.7202 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1665, allocations: 78.55 kB / 0.7203 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.1668, allocations: 60.92 kB / 0.7203 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1668, allocations: 3.984 kB / 0.7203 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1668, allocations: 38.55 kB / 0.7204 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1668, allocations: 0 / 0.7204 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0006969/0.1675, allocations: 209.4 kB / 0.7206 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1676, allocations: 51.41 kB / 0.7206 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.1677, allocations: 129.8 kB / 0.7207 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1677, allocations: 25.7 kB / 0.7207 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.1677, allocations: 96.12 kB / 0.7208 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1678, allocations: 19.75 kB / 0.7209 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1678, allocations: 21.66 kB / 0.7209 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.1679, allocations: 322.8 kB / 0.7212 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.1681, allocations: 55.94 kB / 0.7212 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.1683, allocations: 51.94 kB / 0.7213 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.1687, allocations: 121.1 kB / 0.7214 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1687, allocations: 0 / 0.7214 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004234/0.1691, allocations: 149.5 kB / 0.7215 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1691, allocations: 6.344 kB / 0.7216 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1692, allocations: 4 kB / 0.7216 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1692, allocations: 3.938 kB / 0.7216 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1694, allocations: 27.95 kB / 0.7216 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1694, allocations: 3.984 kB / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1695, allocations: 23.97 kB / 0.7216 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1695, allocations: 4 kB / 0.7216 GB, free: 2.465 MB / 0.5294 GB 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 6.908e-05/0.1696, allocations: 117.8 kB / 0.7217 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1696, allocations: 7.906 kB / 0.7217 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.1701, allocations: 165.9 kB / 0.7219 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1701, allocations: 4 kB / 0.7219 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1701, allocations: 0 / 0.7219 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1701, allocations: 3.938 kB / 0.7219 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1703, allocations: 193.5 kB / 0.7221 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1703, allocations: 0 / 0.7221 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1705, allocations: 31.89 kB / 0.7221 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1705, allocations: 7.984 kB / 0.7221 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1705, allocations: 0 / 0.7221 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1705, allocations: 0 / 0.7221 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1705, allocations: 4 kB / 0.7221 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.171, allocations: 259.4 kB / 0.7224 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.171, allocations: 85.11 kB / 0.7225 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.171, allocations: 0 / 0.7225 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1712, allocations: 19.97 kB / 0.7225 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1712, allocations: 11.98 kB / 0.7225 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1712, allocations: 0 / 0.7225 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.1713, allocations: 107.1 kB / 0.7226 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1713, allocations: 0 / 0.7226 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002321/0.1715, allocations: 27.88 kB / 0.7226 GB, free: 1.336 MB / 0.5294 GB 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.0001417/0.1717, allocations: 111.2 kB / 0.7227 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.1721, allocations: 115.9 kB / 0.7228 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1721, allocations: 0 / 0.7228 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1724, allocations: 71.88 kB / 0.7229 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1726, allocations: 8 kB / 0.7229 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.173, allocations: 179.4 kB / 0.7231 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.1732, allocations: 0.6924 MB / 0.7238 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.1732, allocations: 4 kB / 0.7238 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.1733, allocations: 15.42 kB / 0.7238 GB, free: 84 kB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.1733, allocations: 0 / 0.7238 GB, free: 84 kB / 0.5294 GB Notification: Performance of Templates: time 0.602/0.7752, allocations: 1.291 MB / 0.725 GB, free: 14.8 MB / 0.545 GB 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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","/var/lib/jenkins1/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