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.01246/0.01246, allocations: 1.426 MB / 16.93 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1195/0.1195, allocations: 22.38 MB / 40.35 MB, free: 0.7188 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.001013/0.001013, allocations: 103.3 kB / 47.84 MB, free: 2.395 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.001275/0.001275, allocations: 192.5 kB / 55.43 MB, free: 6.438 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.336/1.336, allocations: 222.9 MB / 285.8 MB, free: 1.281 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.821/0.821, allocations: 127.8 MB / 470.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 132.6 kB / 0.5533 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 82.35 MB / 0.6337 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003226/0.1586, allocations: 2.169 MB / 0.6358 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.1597, allocations: 0.6233 MB / 0.6365 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.1597, allocations: 0 / 0.6365 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.1597, allocations: 7.938 kB / 0.6365 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.1598, allocations: 19.78 kB / 0.6365 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1602, allocations: 91.75 kB / 0.6366 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.693e-05/0.1603, allocations: 75.78 kB / 0.6366 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1604, allocations: 28.14 kB / 0.6367 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1605, allocations: 31.91 kB / 0.6367 GB, free: 9.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.1606, allocations: 43.83 kB / 0.6367 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1606, allocations: 11.94 kB / 0.6368 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.1609, allocations: 151.8 kB / 0.6369 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1609, allocations: 19.92 kB / 0.6369 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.1609, allocations: 39.8 kB / 0.637 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1611, allocations: 135.6 kB / 0.6371 GB, free: 9.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1611, allocations: 0 / 0.6371 GB, free: 9.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1611, allocations: 0 / 0.6371 GB, free: 9.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1612, allocations: 0 / 0.6371 GB, free: 9.344 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.0006273/0.1618, allocations: 415.1 kB / 0.6375 GB, free: 8.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1618, allocations: 8.031 kB / 0.6375 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1619, allocations: 16.84 kB / 0.6375 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.162, allocations: 180.1 kB / 0.6377 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.162, allocations: 4.375 kB / 0.6377 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.162, allocations: 4.375 kB / 0.6377 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1624, allocations: 109.8 kB / 0.6378 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1624, allocations: 0 / 0.6378 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1624, allocations: 3.984 kB / 0.6378 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1624, allocations: 8 kB / 0.6378 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.1629, allocations: 115.8 kB / 0.6379 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.1633, allocations: 316.7 kB / 0.6382 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.1635, allocations: 70.52 kB / 0.6383 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1638, allocations: 60.92 kB / 0.6383 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1638, allocations: 4 kB / 0.6383 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1638, allocations: 30.56 kB / 0.6384 GB, free: 7.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1638, allocations: 0 / 0.6384 GB, free: 7.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.000771/0.1646, allocations: 209.5 kB / 0.6386 GB, free: 7.652 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1646, allocations: 51.41 kB / 0.6386 GB, free: 7.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.1647, allocations: 132.5 kB / 0.6387 GB, free: 7.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1648, allocations: 25.7 kB / 0.6388 GB, free: 7.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1648, allocations: 100 kB / 0.6389 GB, free: 7.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1649, allocations: 19.75 kB / 0.6389 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1649, allocations: 17.72 kB / 0.6389 GB, free: 7.277 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.165, allocations: 322.8 kB / 0.6392 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1652, allocations: 55.94 kB / 0.6393 GB, free: 6.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.1654, allocations: 51.94 kB / 0.6393 GB, free: 6.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.1659, allocations: 116.7 kB / 0.6394 GB, free: 6.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1659, allocations: 0 / 0.6394 GB, free: 6.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004744/0.1664, allocations: 153.4 kB / 0.6396 GB, free: 6.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1664, allocations: 8 kB / 0.6396 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1664, allocations: 3.984 kB / 0.6396 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1664, allocations: 0 / 0.6396 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1666, allocations: 23.97 kB / 0.6396 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1666, allocations: 0 / 0.6396 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1667, allocations: 23.97 kB / 0.6396 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1668, allocations: 4 kB / 0.6396 GB, free: 6.512 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 6.992e-05/0.1668, allocations: 115.5 kB / 0.6397 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1669, allocations: 7.906 kB / 0.6397 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.1674, allocations: 174.2 kB / 0.6399 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1674, allocations: 7.938 kB / 0.6399 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1674, allocations: 0 / 0.6399 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1674, allocations: 0 / 0.6399 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1676, allocations: 201.5 kB / 0.6401 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1676, allocations: 0 / 0.6401 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1678, allocations: 27.97 kB / 0.6401 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1678, allocations: 4 kB / 0.6401 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1678, allocations: 0 / 0.6401 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1678, allocations: 0 / 0.6401 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1678, allocations: 0 / 0.6401 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.1683, allocations: 263.2 kB / 0.6404 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.1684, allocations: 85.02 kB / 0.6405 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1684, allocations: 7.938 kB / 0.6405 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1686, allocations: 19.97 kB / 0.6405 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1686, allocations: 11.98 kB / 0.6405 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.1686, allocations: 0 / 0.6405 GB, free: 5.512 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.1687, allocations: 95.27 kB / 0.6406 GB, free: 5.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 4 kB / 0.6406 GB, free: 5.414 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1689, allocations: 31.78 kB / 0.6406 GB, free: 5.383 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.0001435/0.1691, allocations: 103.2 kB / 0.6407 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.1696, allocations: 123.8 kB / 0.6409 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1696, allocations: 0 / 0.6409 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.1698, allocations: 67.94 kB / 0.6409 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.1701, allocations: 10.8 kB / 0.6409 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1705, allocations: 187.3 kB / 0.6411 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1707, allocations: 0.6885 MB / 0.6418 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.1708, allocations: 12.36 kB / 0.6418 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1708, allocations: 11.44 kB / 0.6418 GB, free: 4.129 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1708, allocations: 0 / 0.6418 GB, free: 4.129 MB / 462.1 MB Notification: Performance of Templates: time 0.00336/0.1742, allocations: 1.275 MB / 0.6431 GB, free: 2.867 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=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