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.1339/0.1339, allocations: 23.03 MB / 38.26 MB, free: 1.738 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009281/0.009281, allocations: 1.438 MB / 46.89 MB, free: 2.492 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.001356/0.001356, allocations: 104 kB / 54.51 MB, free: 6.496 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.001412/0.001412, allocations: 189.5 kB / 62.23 MB, free: 14.62 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.521/1.521, allocations: 222.9 MB / 292.7 MB, free: 272 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9084/0.9084, allocations: 127.5 MB / 477.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003575/0.003575, allocations: 137 kB / 0.5597 GB, free: 42.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1931, allocations: 82.44 MB / 0.6403 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003897/0.1971, allocations: 2.233 MB / 0.6424 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1984, allocations: 0.6194 MB / 0.643 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.1985, allocations: 0 / 0.643 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.119e-05/0.1986, allocations: 3.938 kB / 0.643 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.1986, allocations: 15.92 kB / 0.6431 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1991, allocations: 87.77 kB / 0.6431 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1992, allocations: 75.72 kB / 0.6432 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1993, allocations: 24.2 kB / 0.6432 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1995, allocations: 31.91 kB / 0.6433 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.1996, allocations: 47.83 kB / 0.6433 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1996, allocations: 8 kB / 0.6433 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.1999, allocations: 151.7 kB / 0.6435 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.1999, allocations: 23.91 kB / 0.6435 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.2, allocations: 35.8 kB / 0.6435 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2002, allocations: 127.7 kB / 0.6436 GB, free: 8.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2002, allocations: 0 / 0.6436 GB, free: 8.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2002, allocations: 0 / 0.6436 GB, free: 8.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2002, allocations: 0 / 0.6436 GB, free: 8.805 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.0007489/0.201, allocations: 419.1 kB / 0.644 GB, free: 8.348 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.201, allocations: 8.031 kB / 0.6441 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.2011, allocations: 12.78 kB / 0.6441 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.2012, allocations: 188.1 kB / 0.6442 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2013, allocations: 4.375 kB / 0.6443 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2013, allocations: 4.375 kB / 0.6443 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.2017, allocations: 105.9 kB / 0.6444 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2017, allocations: 0 / 0.6444 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2017, allocations: 0 / 0.6444 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2017, allocations: 4 kB / 0.6444 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.2022, allocations: 115.8 kB / 0.6445 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.2027, allocations: 316.7 kB / 0.6448 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.203, allocations: 78.55 kB / 0.6448 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.2032, allocations: 60.92 kB / 0.6449 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2033, allocations: 3.938 kB / 0.6449 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2033, allocations: 30.56 kB / 0.6449 GB, free: 7.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2033, allocations: 0 / 0.6449 GB, free: 7.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008441/0.2041, allocations: 201.5 kB / 0.6451 GB, free: 7.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.2042, allocations: 51.41 kB / 0.6452 GB, free: 7.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2043, allocations: 140.1 kB / 0.6453 GB, free: 6.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.2044, allocations: 25.7 kB / 0.6453 GB, free: 6.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.2044, allocations: 100.1 kB / 0.6454 GB, free: 6.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2045, allocations: 19.75 kB / 0.6455 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.2045, allocations: 13.72 kB / 0.6455 GB, free: 6.738 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2047, allocations: 322.8 kB / 0.6458 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.2049, allocations: 59.94 kB / 0.6458 GB, free: 6.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2052, allocations: 51.94 kB / 0.6459 GB, free: 6.305 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.2056, allocations: 121.1 kB / 0.646 GB, free: 6.184 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2056, allocations: 0 / 0.646 GB, free: 6.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000486/0.2061, allocations: 145.5 kB / 0.6461 GB, free: 6.035 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2061, allocations: 4 kB / 0.6461 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2062, allocations: 7.984 kB / 0.6461 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2062, allocations: 4 kB / 0.6461 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2064, allocations: 27.91 kB / 0.6462 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2064, allocations: 0 / 0.6462 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2065, allocations: 19.97 kB / 0.6462 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2065, allocations: 7.938 kB / 0.6462 GB, free: 5.965 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.0001101/0.2067, allocations: 115.5 kB / 0.6463 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2067, allocations: 11.91 kB / 0.6463 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.2073, allocations: 161.9 kB / 0.6465 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2073, allocations: 4 kB / 0.6465 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2073, allocations: 0 / 0.6465 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2073, allocations: 4 kB / 0.6465 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.2075, allocations: 201.5 kB / 0.6467 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2075, allocations: 0 / 0.6467 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2077, allocations: 27.91 kB / 0.6467 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2077, allocations: 4 kB / 0.6467 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2077, allocations: 0 / 0.6467 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2077, allocations: 0 / 0.6467 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2077, allocations: 0 / 0.6467 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.2083, allocations: 259.4 kB / 0.647 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.2084, allocations: 85.02 kB / 0.647 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2084, allocations: 4 kB / 0.647 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2086, allocations: 23.97 kB / 0.6471 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.2086, allocations: 11.98 kB / 0.6471 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2086, allocations: 0 / 0.6471 GB, free: 4.977 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.735e-05/0.2087, allocations: 102.2 kB / 0.6472 GB, free: 4.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.524e-06/0.2087, allocations: 0 / 0.6472 GB, free: 4.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.209, allocations: 39.72 kB / 0.6472 GB, free: 4.84 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.0001801/0.2092, allocations: 103.2 kB / 0.6473 GB, free: 4.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.2097, allocations: 119.9 kB / 0.6474 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2097, allocations: 0 / 0.6474 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.21, allocations: 71.88 kB / 0.6475 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.2103, allocations: 11.98 kB / 0.6475 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.2108, allocations: 199.4 kB / 0.6477 GB, free: 4.309 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.2112, allocations: 0.6963 MB / 0.6484 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.2112, allocations: 3.984 kB / 0.6484 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.2113, allocations: 11.44 kB / 0.6484 GB, free: 3.57 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.2113, allocations: 0 / 0.6484 GB, free: 3.57 MB / 462.1 MB Notification: Performance of Templates: time 0.00405/0.2153, allocations: 1.096 MB / 0.6495 GB, free: 2.484 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/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