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.01106/0.01106, allocations: 1.436 MB / 17.32 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1284/0.1284, allocations: 22.38 MB / 40.72 MB, free: 0.7852 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.001394/0.001394, allocations: 105.8 kB / 48.2 MB, free: 2.488 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.001554/0.001554, allocations: 188.5 kB / 55.78 MB, free: 6.539 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.518/1.518, allocations: 222.9 MB / 286.1 MB, free: 1.418 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9612/0.9612, allocations: 127.8 MB / 470.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003587/0.003587, allocations: 127.2 kB / 0.5534 GB, free: 42.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1648, allocations: 82.35 MB / 0.6338 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003473/0.1683, allocations: 2.234 MB / 0.636 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1694, allocations: 0.6194 MB / 0.6366 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.1694, allocations: 0 / 0.6366 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.1695, allocations: 3.984 kB / 0.6366 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.1696, allocations: 15.88 kB / 0.6366 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1699, allocations: 67.84 kB / 0.6367 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.17, allocations: 91.75 kB / 0.6368 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1701, allocations: 20.16 kB / 0.6368 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1702, allocations: 39.84 kB / 0.6369 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.1703, allocations: 43.83 kB / 0.6369 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1703, allocations: 12 kB / 0.6369 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1706, allocations: 155.7 kB / 0.6371 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.1706, allocations: 19.92 kB / 0.6371 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1707, allocations: 35.8 kB / 0.6371 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1708, allocations: 83.8 kB / 0.6372 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1708, allocations: 4 kB / 0.6372 GB, free: 9.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1708, allocations: 0 / 0.6372 GB, free: 9.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1708, allocations: 0 / 0.6372 GB, free: 9.973 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.0006929/0.1715, allocations: 419.1 kB / 0.6376 GB, free: 9.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1716, allocations: 12.03 kB / 0.6376 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1716, allocations: 8.844 kB / 0.6376 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1718, allocations: 180.1 kB / 0.6378 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1718, allocations: 4.375 kB / 0.6378 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1718, allocations: 384 / 0.6378 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1722, allocations: 113.9 kB / 0.6379 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1722, allocations: 0 / 0.6379 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1722, allocations: 4 kB / 0.6379 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1722, allocations: 0 / 0.6379 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1727, allocations: 107.9 kB / 0.638 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.1731, allocations: 316.7 kB / 0.6383 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1734, allocations: 70.52 kB / 0.6384 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1736, allocations: 64.92 kB / 0.6384 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1736, allocations: 0 / 0.6384 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1737, allocations: 38.56 kB / 0.6385 GB, free: 8.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1737, allocations: 0 / 0.6385 GB, free: 8.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007968/0.1745, allocations: 205.5 kB / 0.6387 GB, free: 8.293 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1745, allocations: 51.41 kB / 0.6387 GB, free: 8.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1747, allocations: 127.9 kB / 0.6388 GB, free: 8.098 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1747, allocations: 33.7 kB / 0.6389 GB, free: 8.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1747, allocations: 100 kB / 0.639 GB, free: 7.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1748, allocations: 15.75 kB / 0.639 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1748, allocations: 21.7 kB / 0.639 GB, free: 7.914 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.175, allocations: 318.8 kB / 0.6393 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1752, allocations: 55.88 kB / 0.6394 GB, free: 7.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.1754, allocations: 59.94 kB / 0.6394 GB, free: 7.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.1759, allocations: 112.7 kB / 0.6395 GB, free: 7.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1759, allocations: 8 kB / 0.6395 GB, free: 7.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004897/0.1764, allocations: 145.9 kB / 0.6397 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1764, allocations: 7.984 kB / 0.6397 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1764, allocations: 0 / 0.6397 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1764, allocations: 0 / 0.6397 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.1766, allocations: 36.03 kB / 0.6397 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1766, allocations: 4 kB / 0.6397 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1768, allocations: 15.97 kB / 0.6397 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1768, allocations: 4 kB / 0.6397 GB, free: 7.145 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 9.077e-05/0.1769, allocations: 119.5 kB / 0.6398 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1769, allocations: 7.906 kB / 0.6399 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/0.1775, allocations: 169.8 kB / 0.64 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1775, allocations: 0 / 0.64 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1775, allocations: 0 / 0.64 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1775, allocations: 3.984 kB / 0.64 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1777, allocations: 197.5 kB / 0.6402 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1777, allocations: 4 kB / 0.6402 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1779, allocations: 31.91 kB / 0.6402 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1779, allocations: 0 / 0.6402 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1779, allocations: 4 kB / 0.6402 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1779, allocations: 0 / 0.6402 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1779, allocations: 0 / 0.6402 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.1785, allocations: 263.2 kB / 0.6405 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1786, allocations: 81.02 kB / 0.6406 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1786, allocations: 0 / 0.6406 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1787, allocations: 19.97 kB / 0.6406 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.1788, allocations: 15.98 kB / 0.6406 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.1788, allocations: 0 / 0.6406 GB, free: 6.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.1789, allocations: 103.3 kB / 0.6407 GB, free: 6.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1789, allocations: 0 / 0.6407 GB, free: 6.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1792, allocations: 31.78 kB / 0.6407 GB, free: 6.02 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.0001587/0.1793, allocations: 99.23 kB / 0.6408 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005182/0.1798, allocations: 131.9 kB / 0.641 GB, free: 5.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1799, allocations: 4 kB / 0.641 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.1801, allocations: 63.92 kB / 0.641 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1804, allocations: 15.94 kB / 0.641 GB, free: 5.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.1808, allocations: 229 kB / 0.6413 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1812, allocations: 0.6924 MB / 0.6419 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.1812, allocations: 15.42 kB / 0.6419 GB, free: 4.711 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1812, allocations: 0 / 0.6419 GB, free: 4.711 MB / 462.1 MB Notification: Performance of Templates: time 0.003283/0.1845, allocations: 1.251 MB / 0.6432 GB, free: 3.469 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/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