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.01765/0.01765, allocations: 1.417 MB / 17.35 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.148/0.148, allocations: 22.6 MB / 40.97 MB, free: 0.7656 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.000794/0.0007938, allocations: 97.86 kB / 48.72 MB, free: 2.121 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.001185/0.001185, allocations: 184.5 kB / 56.58 MB, free: 5.895 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.462/1.462, allocations: 223.3 MB / 287.6 MB, free: 14.68 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9709/0.9709, allocations: 127.7 MB / 473.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005186, allocations: 20 kB / 0.5573 GB, free: 17.15 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2017, allocations: 83.88 MB / 0.6392 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003053/0.2049, allocations: 1.881 MB / 0.6411 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2062, allocations: 0.6274 MB / 0.6417 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.2063, allocations: 0 / 0.6417 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.2064, allocations: 7.922 kB / 0.6417 GB, free: 10.74 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.2065, allocations: 11.88 kB / 0.6417 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.2069, allocations: 67.84 kB / 0.6418 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.207, allocations: 87.64 kB / 0.6419 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2071, allocations: 12.28 kB / 0.6419 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2073, allocations: 31.89 kB / 0.6419 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.2074, allocations: 39.78 kB / 0.6419 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.2074, allocations: 7.938 kB / 0.642 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.2077, allocations: 159.7 kB / 0.6421 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.2077, allocations: 8 kB / 0.6421 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.2078, allocations: 57.5 kB / 0.6422 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.208, allocations: 91.78 kB / 0.6423 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.208, allocations: 0 / 0.6423 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.208, allocations: 0 / 0.6423 GB, free: 10.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.208, allocations: 0 / 0.6423 GB, free: 10.17 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.0007135/0.2087, allocations: 431.1 kB / 0.6427 GB, free: 9.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2088, allocations: 8.031 kB / 0.6427 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.2089, allocations: 8.844 kB / 0.6427 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.209, allocations: 176.2 kB / 0.6428 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.209, allocations: 4.375 kB / 0.6429 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.2091, allocations: 8.359 kB / 0.6429 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.2095, allocations: 121.9 kB / 0.643 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2095, allocations: 0 / 0.643 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2095, allocations: 3.984 kB / 0.643 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2095, allocations: 8 kB / 0.643 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.21, allocations: 147.9 kB / 0.6431 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.2105, allocations: 316.6 kB / 0.6434 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.2108, allocations: 94.52 kB / 0.6435 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.2111, allocations: 80.92 kB / 0.6436 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.2112, allocations: 4 kB / 0.6436 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2112, allocations: 30.56 kB / 0.6436 GB, free: 8.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.2112, allocations: 0 / 0.6436 GB, free: 8.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009095/0.2121, allocations: 265.5 kB / 0.6439 GB, free: 8.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2122, allocations: 51.41 kB / 0.6439 GB, free: 8.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2123, allocations: 131.9 kB / 0.6441 GB, free: 8.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2123, allocations: 25.7 kB / 0.6441 GB, free: 8.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.2124, allocations: 96.12 kB / 0.6442 GB, free: 8.004 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.2124, allocations: 23.66 kB / 0.6442 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.2124, allocations: 9.719 kB / 0.6442 GB, free: 7.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2126, allocations: 326.7 kB / 0.6445 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.2128, allocations: 75.94 kB / 0.6446 GB, free: 7.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2131, allocations: 71.94 kB / 0.6447 GB, free: 7.492 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.2136, allocations: 152.7 kB / 0.6448 GB, free: 7.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2136, allocations: 0 / 0.6448 GB, free: 7.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005647/0.2142, allocations: 189.4 kB / 0.645 GB, free: 7.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2142, allocations: 8 kB / 0.645 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2142, allocations: 3.984 kB / 0.645 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2142, allocations: 0 / 0.645 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2144, allocations: 44.34 kB / 0.645 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2145, allocations: 0 / 0.645 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.2146, allocations: 27.97 kB / 0.6451 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2146, allocations: 4 kB / 0.6451 GB, free: 7.062 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.2147, allocations: 115.3 kB / 0.6452 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.2148, allocations: 15.91 kB / 0.6452 GB, free: 6.926 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.2154, allocations: 205.8 kB / 0.6454 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2154, allocations: 0 / 0.6454 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2154, allocations: 0 / 0.6454 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2154, allocations: 4 kB / 0.6454 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2156, allocations: 193.5 kB / 0.6456 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2156, allocations: 0 / 0.6456 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.2158, allocations: 39.97 kB / 0.6456 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2158, allocations: 0 / 0.6456 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.2158, allocations: 0 / 0.6456 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2159, allocations: 4 kB / 0.6456 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2159, allocations: 4 kB / 0.6456 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.2165, allocations: 295.2 kB / 0.6459 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.2165, allocations: 85.02 kB / 0.646 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2166, allocations: 0 / 0.646 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2167, allocations: 27.97 kB / 0.646 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.2168, allocations: 7.984 kB / 0.646 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2168, allocations: 4 kB / 0.646 GB, free: 5.988 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.2169, allocations: 105.1 kB / 0.6461 GB, free: 5.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2169, allocations: 0 / 0.6461 GB, free: 5.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2171, allocations: 23.88 kB / 0.6461 GB, free: 5.863 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 (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.0001902/0.2173, allocations: 103.2 kB / 0.6462 GB, free: 5.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.2179, allocations: 155.9 kB / 0.6464 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2179, allocations: 0 / 0.6464 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2182, allocations: 91.88 kB / 0.6465 GB, free: 5.512 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.2186, allocations: 11.92 kB / 0.6465 GB, free: 5.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.2191, allocations: 246.3 kB / 0.6467 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2194, allocations: 0.6926 MB / 0.6474 GB, free: 4.504 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.2195, allocations: 11.44 kB / 0.6474 GB, free: 4.492 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2195, allocations: 0 / 0.6474 GB, free: 4.492 MB / 478.1 MB Notification: Performance of Templates: time 0.003812/0.2233, allocations: 1.24 MB / 0.6486 GB, free: 3.258 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/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