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.008982/0.008982, allocations: 1.438 MB / 17.74 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1133/0.1133, allocations: 22.38 MB / 41.16 MB, free: 7.762 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.001064/0.001064, allocations: 112 kB / 48.66 MB, free: 244 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 205.8 kB / 56.26 MB, free: 9.457 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.322/1.322, allocations: 222.9 MB / 286.6 MB, free: 13.98 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8434/0.8434, allocations: 127.8 MB / 471.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 124.3 kB / 0.636 GB, free: 13.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3809, allocations: 82.34 MB / 0.7164 GB, free: 9.961 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003184/0.3841, allocations: 2.176 MB / 0.7185 GB, free: 8.281 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3852, allocations: 0.6276 MB / 0.7191 GB, free: 7.781 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.3852, allocations: 1.375 kB / 0.7191 GB, free: 7.781 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.3853, allocations: 7.922 kB / 0.7191 GB, free: 7.773 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.3854, allocations: 14.62 kB / 0.7191 GB, free: 7.762 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.3857, allocations: 85.03 kB / 0.7192 GB, free: 7.699 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3858, allocations: 80.39 kB / 0.7193 GB, free: 7.652 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.3859, allocations: 24.52 kB / 0.7193 GB, free: 7.637 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3861, allocations: 33.38 kB / 0.7193 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.3862, allocations: 47.27 kB / 0.7194 GB, free: 7.582 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.3862, allocations: 6.656 kB / 0.7194 GB, free: 7.582 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.3864, allocations: 162 kB / 0.7195 GB, free: 7.488 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.3865, allocations: 18.2 kB / 0.7196 GB, free: 7.473 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.3865, allocations: 35.73 kB / 0.7196 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3867, allocations: 141 kB / 0.7197 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3868, allocations: 0 / 0.7197 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3868, allocations: 0 / 0.7197 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3868, allocations: 0 / 0.7197 GB, free: 7.348 MB / 0.5138 GB 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.000642/0.3874, allocations: 422.5 kB / 0.7201 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3875, allocations: 9.812 kB / 0.7201 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3875, allocations: 9.656 kB / 0.7202 GB, free: 6.926 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3876, allocations: 184.8 kB / 0.7203 GB, free: 6.711 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3876, allocations: 5.938 kB / 0.7203 GB, free: 6.707 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3877, allocations: 2.344 kB / 0.7203 GB, free: 6.707 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.388, allocations: 107.4 kB / 0.7204 GB, free: 6.633 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.388, allocations: 0 / 0.7204 GB, free: 6.633 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3881, allocations: 4 kB / 0.7204 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3881, allocations: 1.5 kB / 0.7204 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.3886, allocations: 109.3 kB / 0.7205 GB, free: 6.582 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.389, allocations: 318.7 kB / 0.7209 GB, free: 6.246 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3893, allocations: 74.98 kB / 0.7209 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3895, allocations: 60.55 kB / 0.721 GB, free: 6.164 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3895, allocations: 1.375 kB / 0.721 GB, free: 6.164 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3896, allocations: 43.97 kB / 0.721 GB, free: 6.113 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3896, allocations: 0 / 0.721 GB, free: 6.113 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0008388/0.3904, allocations: 207 kB / 0.7212 GB, free: 6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.3904, allocations: 52.78 kB / 0.7213 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.3905, allocations: 128 kB / 0.7214 GB, free: 5.824 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3906, allocations: 27.08 kB / 0.7214 GB, free: 5.793 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.3906, allocations: 94.89 kB / 0.7215 GB, free: 5.699 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3907, allocations: 18.48 kB / 0.7215 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3907, allocations: 17.84 kB / 0.7215 GB, free: 5.664 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.3908, allocations: 324.1 kB / 0.7219 GB, free: 5.34 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3911, allocations: 58.19 kB / 0.7219 GB, free: 5.312 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.3913, allocations: 50.2 kB / 0.722 GB, free: 5.293 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.3917, allocations: 119.8 kB / 0.7221 GB, free: 5.23 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3918, allocations: 1.375 kB / 0.7221 GB, free: 5.23 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005099/0.3923, allocations: 154.2 kB / 0.7222 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3923, allocations: 4.812 kB / 0.7222 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3923, allocations: 0 / 0.7222 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3923, allocations: 0 / 0.7222 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.3925, allocations: 29.25 kB / 0.7223 GB, free: 5.129 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3925, allocations: 1.125 kB / 0.7223 GB, free: 5.129 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3927, allocations: 18.97 kB / 0.7223 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3927, allocations: 6.969 kB / 0.7223 GB, free: 5.117 MB / 0.5138 GB 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 8.066e-05/0.3928, allocations: 123.9 kB / 0.7224 GB, free: 4.988 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.3928, allocations: 7.312 kB / 0.7224 GB, free: 4.984 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.3934, allocations: 171.2 kB / 0.7226 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3934, allocations: 1.219 kB / 0.7226 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3934, allocations: 0 / 0.7226 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3935, allocations: 82.58 kB / 0.7226 GB, free: 4.773 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3935, allocations: 9.375 kB / 0.7227 GB, free: 4.766 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3937, allocations: 19.94 kB / 0.7227 GB, free: 4.758 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.3937, allocations: 10.83 kB / 0.7227 GB, free: 4.75 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006585/0.3944, allocations: 251.3 kB / 0.7229 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005708/0.395, allocations: 331.4 kB / 0.7232 GB, free: 4.305 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002455/0.3952, allocations: 61.08 kB / 0.7233 GB, free: 4.277 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.3953, allocations: 106.9 kB / 0.7234 GB, free: 4.188 MB / 0.5138 GB Notification: Performance of Backend: time 5.11e-07/0.3953, allocations: 4 kB / 0.7234 GB, free: 4.184 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.3959, allocations: 151.6 kB / 0.7235 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0004966/0.3964, allocations: 0.6232 MB / 0.7242 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of Templates: time 0.00425/0.4007, allocations: 1.739 MB / 0.7259 GB, free: 2.578 MB / 0.5138 GB 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