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.012/0.012, allocations: 1.435 MB / 17.07 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1142/0.1142, allocations: 22.37 MB / 40.49 MB, free: 0.5117 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.001107/0.001107, allocations: 118.2 kB / 47.98 MB, free: 2.121 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.001236/0.001236, allocations: 202.5 kB / 55.59 MB, free: 6.145 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.397/1.397, allocations: 222.9 MB / 285.9 MB, free: 1.211 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8936/0.8936, allocations: 127.8 MB / 470.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 120.3 kB / 0.6353 GB, free: 11.17 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1462, allocations: 82.35 MB / 0.7157 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003087/0.1493, allocations: 2.161 MB / 0.7178 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1503, allocations: 0.6272 MB / 0.7184 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.1504, allocations: 0 / 0.7184 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.1504, allocations: 7.922 kB / 0.7184 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.1505, allocations: 23.73 kB / 0.7185 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1509, allocations: 87.75 kB / 0.7185 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.151, allocations: 83.7 kB / 0.7186 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.1511, allocations: 23.97 kB / 0.7186 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1512, allocations: 35.86 kB / 0.7187 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.1513, allocations: 43.81 kB / 0.7187 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1513, allocations: 4 kB / 0.7187 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.1516, allocations: 163.7 kB / 0.7189 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.1516, allocations: 19.92 kB / 0.7189 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.1517, allocations: 39.78 kB / 0.7189 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1519, allocations: 139.5 kB / 0.7191 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1519, allocations: 0 / 0.7191 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1519, allocations: 0 / 0.7191 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1519, allocations: 0 / 0.7191 GB, free: 5.277 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.0006155/0.1525, allocations: 422.9 kB / 0.7195 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1526, allocations: 12.03 kB / 0.7195 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1526, allocations: 8.891 kB / 0.7195 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1527, allocations: 186.5 kB / 0.7197 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1527, allocations: 4.375 kB / 0.7197 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1528, allocations: 8.375 kB / 0.7197 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.1531, allocations: 101.9 kB / 0.7198 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.1531, allocations: 4 kB / 0.7198 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1531, allocations: 0 / 0.7198 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1531, allocations: 4 kB / 0.7198 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.1536, allocations: 111.8 kB / 0.7199 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.154, allocations: 320.7 kB / 0.7202 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1542, allocations: 70.52 kB / 0.7203 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.1545, allocations: 68.95 kB / 0.7203 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1545, allocations: 0 / 0.7203 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1545, allocations: 30.56 kB / 0.7204 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1545, allocations: 0 / 0.7204 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0007747/0.1553, allocations: 205.5 kB / 0.7206 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1553, allocations: 55.39 kB / 0.7206 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.1554, allocations: 125.8 kB / 0.7207 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1555, allocations: 25.7 kB / 0.7208 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.1555, allocations: 100.1 kB / 0.7209 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1555, allocations: 19.84 kB / 0.7209 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.1556, allocations: 21.7 kB / 0.7209 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.1557, allocations: 322.7 kB / 0.7212 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.1559, allocations: 63.86 kB / 0.7213 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1561, allocations: 55.94 kB / 0.7213 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.1565, allocations: 108.8 kB / 0.7214 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1566, allocations: 0 / 0.7214 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004739/0.157, allocations: 153.5 kB / 0.7216 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1571, allocations: 8 kB / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1571, allocations: 0 / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1571, allocations: 0 / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1573, allocations: 23.97 kB / 0.7216 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1573, allocations: 3.938 kB / 0.7216 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1574, allocations: 28.34 kB / 0.7216 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1574, allocations: 0 / 0.7216 GB, free: 2.438 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 7.51e-05/0.1575, allocations: 117.8 kB / 0.7217 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1575, allocations: 11.94 kB / 0.7218 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.1581, allocations: 165.9 kB / 0.7219 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1581, allocations: 7.984 kB / 0.7219 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1581, allocations: 0 / 0.7219 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1581, allocations: 0 / 0.7219 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1583, allocations: 193.6 kB / 0.7221 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1583, allocations: 0 / 0.7221 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1584, allocations: 27.91 kB / 0.7221 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1585, allocations: 8 kB / 0.7221 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1585, allocations: 0 / 0.7221 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1585, allocations: 0 / 0.7221 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1585, allocations: 0 / 0.7221 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.159, allocations: 259.3 kB / 0.7224 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.1591, allocations: 85.06 kB / 0.7225 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1591, allocations: 4 kB / 0.7225 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1592, allocations: 19.97 kB / 0.7225 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1593, allocations: 11.98 kB / 0.7225 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1593, allocations: 0 / 0.7225 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.1594, allocations: 101.6 kB / 0.7226 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1594, allocations: 4 kB / 0.7226 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002338/0.1596, allocations: 31.83 kB / 0.7226 GB, free: 1.309 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.0001346/0.1598, allocations: 107.1 kB / 0.7227 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.1603, allocations: 119.9 kB / 0.7228 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1603, allocations: 0 / 0.7228 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.1605, allocations: 67.92 kB / 0.7229 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1608, allocations: 12.25 kB / 0.7229 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.1611, allocations: 183.8 kB / 0.7231 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1614, allocations: 0.6924 MB / 0.7238 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.254e-05/0.1614, allocations: 4 kB / 0.7238 GB, free: 68 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.1615, allocations: 15.44 kB / 0.7238 GB, free: 52 kB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1615, allocations: 0 / 0.7238 GB, free: 52 kB / 0.5294 GB Notification: Performance of Templates: time 0.01514/0.1766, allocations: 1.272 MB / 0.725 GB, free: 14.79 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