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/TILMedia 1.8.2-main/package.mo", uses=false) 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/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.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/TILMedia 1.8.2-main/package.mo): time 0.1657/0.1657, allocations: 23.24 MB / 38.51 MB, free: 1.488 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009629/0.009629, allocations: 1.42 MB / 47.41 MB, free: 2.129 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009417, allocations: 88.81 kB / 55.3 MB, free: 5.859 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 186.9 kB / 63.31 MB, free: 15.25 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.664/1.664, allocations: 223.3 MB / 294.4 MB, free: 1.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.061/1.061, allocations: 127.4 MB / 480 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005861/0.0005861, allocations: 16.88 kB / 0.5639 GB, free: 42.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1899, allocations: 83.96 MB / 0.6459 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.002725/0.1927, allocations: 1.883 MB / 0.6478 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.194, allocations: 0.6274 MB / 0.6484 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.194, allocations: 0 / 0.6484 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.194, allocations: 11.94 kB / 0.6484 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.1941, allocations: 7.922 kB / 0.6484 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1944, allocations: 67.84 kB / 0.6484 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1946, allocations: 79.66 kB / 0.6485 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1947, allocations: 19.97 kB / 0.6485 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1948, allocations: 35.91 kB / 0.6486 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.1949, allocations: 35.83 kB / 0.6486 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1949, allocations: 4 kB / 0.6486 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1952, allocations: 159.7 kB / 0.6488 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.1952, allocations: 11.92 kB / 0.6488 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.1953, allocations: 57.5 kB / 0.6488 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1955, allocations: 123.7 kB / 0.649 GB, free: 6.969 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1955, allocations: 0 / 0.649 GB, free: 6.969 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1955, allocations: 0 / 0.649 GB, free: 6.969 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1955, allocations: 0 / 0.649 GB, free: 6.969 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.0007526/0.1963, allocations: 423.4 kB / 0.6494 GB, free: 6.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1964, allocations: 13.16 kB / 0.6494 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1964, allocations: 16.78 kB / 0.6494 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.1966, allocations: 182.7 kB / 0.6496 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1966, allocations: 384 / 0.6496 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1966, allocations: 12.36 kB / 0.6496 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.197, allocations: 121.9 kB / 0.6497 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1971, allocations: 0 / 0.6497 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1971, allocations: 4 kB / 0.6497 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1971, allocations: 0 / 0.6497 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.1976, allocations: 155.8 kB / 0.6498 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.1981, allocations: 304.7 kB / 0.6501 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1984, allocations: 98.55 kB / 0.6502 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.1987, allocations: 80.92 kB / 0.6503 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1987, allocations: 4 kB / 0.6503 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1988, allocations: 34.56 kB / 0.6503 GB, free: 5.391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.093e-06/0.1988, allocations: 0 / 0.6503 GB, free: 5.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009499/0.1997, allocations: 257.4 kB / 0.6506 GB, free: 5.133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1998, allocations: 51.41 kB / 0.6506 GB, free: 5.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1999, allocations: 129.8 kB / 0.6508 GB, free: 4.934 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2, allocations: 25.7 kB / 0.6508 GB, free: 4.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.2, allocations: 104.1 kB / 0.6509 GB, free: 4.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.2001, allocations: 23.59 kB / 0.6509 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2001, allocations: 13.72 kB / 0.6509 GB, free: 4.754 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2003, allocations: 322.8 kB / 0.6512 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.2005, allocations: 71.94 kB / 0.6513 GB, free: 4.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.2008, allocations: 75.94 kB / 0.6514 GB, free: 4.285 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.2013, allocations: 152.7 kB / 0.6515 GB, free: 4.133 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2013, allocations: 0 / 0.6515 GB, free: 4.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005736/0.2019, allocations: 177.6 kB / 0.6517 GB, free: 3.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2019, allocations: 8 kB / 0.6517 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.202, allocations: 3.984 kB / 0.6517 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.202, allocations: 4 kB / 0.6517 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.2022, allocations: 39.91 kB / 0.6517 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2022, allocations: 448 / 0.6517 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.2024, allocations: 35.88 kB / 0.6518 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2024, allocations: 7.938 kB / 0.6518 GB, free: 3.855 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 0.0001046/0.2025, allocations: 115.5 kB / 0.6519 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.2025, allocations: 7.906 kB / 0.6519 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.2032, allocations: 209.9 kB / 0.6521 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2032, allocations: 0 / 0.6521 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2032, allocations: 0 / 0.6521 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2032, allocations: 0 / 0.6521 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.2034, allocations: 197.5 kB / 0.6523 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2034, allocations: 0 / 0.6523 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2036, allocations: 47.84 kB / 0.6523 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2036, allocations: 0 / 0.6523 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2037, allocations: 4 kB / 0.6523 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.2037, allocations: 4 kB / 0.6523 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2037, allocations: 0 / 0.6523 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.2043, allocations: 295.2 kB / 0.6526 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.2044, allocations: 88.95 kB / 0.6527 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2044, allocations: 0 / 0.6527 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2046, allocations: 31.97 kB / 0.6527 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.2047, allocations: 11.98 kB / 0.6527 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2047, allocations: 0 / 0.6527 GB, free: 2.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.2048, allocations: 101.8 kB / 0.6528 GB, free: 2.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2048, allocations: 0 / 0.6528 GB, free: 2.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.205, allocations: 19.94 kB / 0.6529 GB, free: 2.652 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.0001759/0.2052, allocations: 111.2 kB / 0.653 GB, free: 2.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.2058, allocations: 151.9 kB / 0.6531 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2058, allocations: 0 / 0.6531 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.2061, allocations: 91.88 kB / 0.6532 GB, free: 2.297 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2064, allocations: 8.547 kB / 0.6532 GB, free: 2.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.2069, allocations: 221.6 kB / 0.6534 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2072, allocations: 0.6965 MB / 0.6541 GB, free: 1.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.2073, allocations: 8 kB / 0.6541 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.2073, allocations: 7.438 kB / 0.6541 GB, free: 1.305 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2073, allocations: 0 / 0.6541 GB, free: 1.305 MB / 462.1 MB Notification: Performance of Templates: time 0.00394/0.2113, allocations: 1.041 MB / 0.6551 GB, free: 284 kB / 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