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.0222/0.0222, allocations: 1.41 MB / 16.68 MB, free: 4.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1259/0.1259, allocations: 22.6 MB / 40.32 MB, free: 1.051 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.0008123/0.0008123, allocations: 94.3 kB / 48.06 MB, free: 2.41 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.001124/0.001124, allocations: 174.7 kB / 55.92 MB, free: 3.98 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.3 MB / 286.9 MB, free: 2.562 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.033/1.033, allocations: 127.7 MB / 472.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005473, allocations: 20.92 kB / 0.5567 GB, free: 42.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1888, allocations: 83.87 MB / 0.6386 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003013/0.1919, allocations: 1.887 MB / 0.6404 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1933, allocations: 0.6234 MB / 0.6411 GB, free: 8.461 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.1933, allocations: 4 kB / 0.6411 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.1934, allocations: 3.984 kB / 0.6411 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.1935, allocations: 11.86 kB / 0.6411 GB, free: 8.441 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1938, allocations: 71.84 kB / 0.6411 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.194, allocations: 83.7 kB / 0.6412 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1941, allocations: 15.94 kB / 0.6412 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1943, allocations: 35.84 kB / 0.6413 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.1944, allocations: 31.84 kB / 0.6413 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1944, allocations: 4 kB / 0.6413 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.1947, allocations: 167.7 kB / 0.6415 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1947, allocations: 7.922 kB / 0.6415 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.1948, allocations: 57.5 kB / 0.6415 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.195, allocations: 123.7 kB / 0.6416 GB, free: 7.848 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.195, allocations: 0 / 0.6416 GB, free: 7.848 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.195, allocations: 0 / 0.6416 GB, free: 7.848 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.195, allocations: 0 / 0.6416 GB, free: 7.848 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.0007263/0.1957, allocations: 431.1 kB / 0.6421 GB, free: 7.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1958, allocations: 16.02 kB / 0.6421 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1959, allocations: 8.844 kB / 0.6421 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.196, allocations: 181.4 kB / 0.6423 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.196, allocations: 4.359 kB / 0.6423 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1961, allocations: 8.375 kB / 0.6423 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.1965, allocations: 117.9 kB / 0.6424 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1965, allocations: 4 kB / 0.6424 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1965, allocations: 8 kB / 0.6424 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1965, allocations: 0 / 0.6424 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.1971, allocations: 143.9 kB / 0.6425 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.1976, allocations: 316.6 kB / 0.6428 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1979, allocations: 90.52 kB / 0.6429 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.1982, allocations: 80.92 kB / 0.643 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1982, allocations: 4 kB / 0.643 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1982, allocations: 42.58 kB / 0.643 GB, free: 6.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1982, allocations: 0 / 0.643 GB, free: 6.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009416/0.1992, allocations: 261.4 kB / 0.6433 GB, free: 6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1993, allocations: 51.41 kB / 0.6433 GB, free: 5.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1994, allocations: 127.9 kB / 0.6435 GB, free: 5.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1994, allocations: 25.7 kB / 0.6435 GB, free: 5.773 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1995, allocations: 96.12 kB / 0.6436 GB, free: 5.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1995, allocations: 19.75 kB / 0.6436 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1996, allocations: 9.719 kB / 0.6436 GB, free: 5.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1997, allocations: 330.8 kB / 0.6439 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.2, allocations: 71.94 kB / 0.644 GB, free: 5.238 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.2003, allocations: 76.12 kB / 0.6441 GB, free: 5.164 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.2008, allocations: 156.9 kB / 0.6442 GB, free: 5.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2008, allocations: 0 / 0.6442 GB, free: 5.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005737/0.2014, allocations: 185.5 kB / 0.6444 GB, free: 4.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2014, allocations: 8 kB / 0.6444 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2014, allocations: 0 / 0.6444 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2015, allocations: 0 / 0.6444 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2017, allocations: 35.97 kB / 0.6444 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2017, allocations: 4 kB / 0.6444 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2019, allocations: 27.88 kB / 0.6445 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2019, allocations: 11.92 kB / 0.6445 GB, free: 4.734 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.0001207/0.202, allocations: 131.4 kB / 0.6446 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.202, allocations: 0 / 0.6446 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.2027, allocations: 201.9 kB / 0.6448 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2027, allocations: 4 kB / 0.6448 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2027, allocations: 0 / 0.6448 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2028, allocations: 0 / 0.6448 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.203, allocations: 197.5 kB / 0.645 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.203, allocations: 0 / 0.645 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.2032, allocations: 35.97 kB / 0.645 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2032, allocations: 7.984 kB / 0.645 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2032, allocations: 4 kB / 0.645 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2032, allocations: 3.938 kB / 0.645 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2032, allocations: 0 / 0.645 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.2039, allocations: 291.4 kB / 0.6453 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.2039, allocations: 92.94 kB / 0.6454 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.204, allocations: 4 kB / 0.6454 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2041, allocations: 27.97 kB / 0.6454 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.2042, allocations: 11.98 kB / 0.6454 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2042, allocations: 0 / 0.6454 GB, free: 3.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.2043, allocations: 101.3 kB / 0.6455 GB, free: 3.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2043, allocations: 0 / 0.6455 GB, free: 3.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.2046, allocations: 23.94 kB / 0.6456 GB, free: 3.527 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.0001708/0.2047, allocations: 110.9 kB / 0.6457 GB, free: 3.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.2053, allocations: 159.8 kB / 0.6458 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2053, allocations: 0 / 0.6458 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.2056, allocations: 83.94 kB / 0.6459 GB, free: 3.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2059, allocations: 8.859 kB / 0.6459 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.2064, allocations: 217.1 kB / 0.6461 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2067, allocations: 0.6965 MB / 0.6468 GB, free: 2.199 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.2068, allocations: 4 kB / 0.6468 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.2068, allocations: 15.42 kB / 0.6468 GB, free: 2.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2068, allocations: 0 / 0.6468 GB, free: 2.18 MB / 462.1 MB Notification: Performance of Templates: time 0.003968/0.2108, allocations: 1.03 MB / 0.6478 GB, free: 1.156 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