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.01426/0.01426, allocations: 1.409 MB / 16.39 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1394/0.1394, allocations: 22.6 MB / 40 MB, free: 1.098 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.000839/0.0008391, allocations: 100.6 kB / 47.73 MB, free: 2.453 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.001201/0.001201, allocations: 183.1 kB / 55.58 MB, free: 6.246 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.564/1.564, allocations: 223.3 MB / 286.6 MB, free: 14.67 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9748/0.9748, allocations: 127.7 MB / 472.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005653, allocations: 19.98 kB / 0.556 GB, free: 17.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2014, allocations: 83.89 MB / 0.6379 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.00238/0.2039, allocations: 1.775 MB / 0.6397 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2049, allocations: 0.5771 MB / 0.6402 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.205, allocations: 4 kB / 0.6402 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.205, allocations: 7.922 kB / 0.6402 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.2051, allocations: 15.86 kB / 0.6402 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.2054, allocations: 63.84 kB / 0.6403 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2055, allocations: 71.77 kB / 0.6404 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2056, allocations: 12 kB / 0.6404 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2057, allocations: 35.84 kB / 0.6404 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.2058, allocations: 39.83 kB / 0.6405 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2058, allocations: 0 / 0.6405 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.2061, allocations: 155.7 kB / 0.6406 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.2061, allocations: 11.94 kB / 0.6406 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2062, allocations: 37.69 kB / 0.6407 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2063, allocations: 80.08 kB / 0.6407 GB, free: 10.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2063, allocations: 0 / 0.6407 GB, free: 10.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2063, allocations: 0 / 0.6407 GB, free: 10.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2063, allocations: 0 / 0.6407 GB, free: 10.79 MB / 478.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.0006225/0.207, allocations: 430.9 kB / 0.6411 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.207, allocations: 16.03 kB / 0.6412 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2071, allocations: 7.906 kB / 0.6412 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2072, allocations: 182.8 kB / 0.6413 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2072, allocations: 4 kB / 0.6413 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2072, allocations: 4 kB / 0.6414 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.2076, allocations: 117.6 kB / 0.6415 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2076, allocations: 4 kB / 0.6415 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2076, allocations: 0 / 0.6415 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2076, allocations: 3.953 kB / 0.6415 GB, free: 9.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.2081, allocations: 155.8 kB / 0.6416 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.2085, allocations: 300.8 kB / 0.6419 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.2088, allocations: 94.55 kB / 0.642 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.209, allocations: 88.86 kB / 0.6421 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2091, allocations: 7.938 kB / 0.6421 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2091, allocations: 34.56 kB / 0.6421 GB, free: 9.203 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2091, allocations: 0 / 0.6421 GB, free: 9.203 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007531/0.2099, allocations: 257.4 kB / 0.6424 GB, free: 8.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2099, allocations: 55.39 kB / 0.6424 GB, free: 8.879 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.21, allocations: 128.1 kB / 0.6425 GB, free: 8.746 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2101, allocations: 29.7 kB / 0.6426 GB, free: 8.711 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.2101, allocations: 100 kB / 0.6427 GB, free: 8.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2102, allocations: 15.75 kB / 0.6427 GB, free: 8.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.2102, allocations: 0 / 0.6427 GB, free: 8.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2103, allocations: 326.8 kB / 0.643 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2105, allocations: 75.94 kB / 0.6431 GB, free: 8.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.2107, allocations: 67.94 kB / 0.6431 GB, free: 8.125 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.2109, allocations: 75.94 kB / 0.6432 GB, free: 8.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2109, allocations: 0 / 0.6432 GB, free: 8.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004567/0.2114, allocations: 193.4 kB / 0.6434 GB, free: 7.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2114, allocations: 7.984 kB / 0.6434 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2114, allocations: 0 / 0.6434 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2114, allocations: 4 kB / 0.6434 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2116, allocations: 31.97 kB / 0.6434 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.2116, allocations: 0 / 0.6434 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2118, allocations: 31.97 kB / 0.6435 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2118, allocations: 0 / 0.6435 GB, free: 7.781 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/0.2119, allocations: 119.3 kB / 0.6436 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.2119, allocations: 11.86 kB / 0.6436 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.2125, allocations: 210.3 kB / 0.6438 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2125, allocations: 0 / 0.6438 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2125, allocations: 0 / 0.6438 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2125, allocations: 0 / 0.6438 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2127, allocations: 193.6 kB / 0.644 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2127, allocations: 4 kB / 0.644 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2129, allocations: 43.91 kB / 0.644 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.2129, allocations: 0 / 0.644 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2129, allocations: 3.953 kB / 0.644 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2129, allocations: 3.938 kB / 0.644 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2129, allocations: 0 / 0.644 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.2134, allocations: 287.3 kB / 0.6443 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.2135, allocations: 85.02 kB / 0.6444 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2135, allocations: 0 / 0.6444 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2137, allocations: 35.92 kB / 0.6444 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.2137, allocations: 11.98 kB / 0.6444 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2137, allocations: 0 / 0.6444 GB, free: 6.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.2138, allocations: 109.7 kB / 0.6445 GB, free: 6.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2138, allocations: 0 / 0.6445 GB, free: 6.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.2141, allocations: 27.98 kB / 0.6446 GB, free: 6.562 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.2143, allocations: 99.19 kB / 0.6446 GB, free: 6.457 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.2148, allocations: 155.8 kB / 0.6448 GB, free: 6.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.2148, allocations: 8 kB / 0.6448 GB, free: 6.297 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.215, allocations: 87.92 kB / 0.6449 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.2154, allocations: 8 kB / 0.6449 GB, free: 6.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.2158, allocations: 205.1 kB / 0.6451 GB, free: 5.969 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.216, allocations: 0.6965 MB / 0.6458 GB, free: 5.246 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.2161, allocations: 0 / 0.6458 GB, free: 5.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.2161, allocations: 11.44 kB / 0.6458 GB, free: 5.234 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2161, allocations: 0 / 0.6458 GB, free: 5.234 MB / 478.1 MB Notification: Performance of Templates: time 0.003706/0.2199, allocations: 1.021 MB / 0.6468 GB, free: 4.227 MB / 478.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