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.01314/0.01314, allocations: 1.438 MB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1093/0.1093, allocations: 22.37 MB / 41.16 MB, free: 7.785 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.001091/0.00109, allocations: 106.9 kB / 48.66 MB, free: 268 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.001258/0.001258, allocations: 192.4 kB / 56.26 MB, free: 9.477 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.326/1.326, allocations: 222.9 MB / 286.6 MB, free: 13.97 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8768/0.8768, allocations: 127.8 MB / 471.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 124.3 kB / 0.636 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3903, allocations: 82.34 MB / 0.7164 GB, free: 9.965 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.002981/0.3933, allocations: 2.176 MB / 0.7185 GB, free: 8.285 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.3943, allocations: 0.6193 MB / 0.7191 GB, free: 7.793 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.3944, allocations: 1.312 kB / 0.7191 GB, free: 7.793 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.3944, allocations: 7.922 kB / 0.7191 GB, free: 7.785 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.3945, allocations: 22.36 kB / 0.7191 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.3948, allocations: 85.62 kB / 0.7192 GB, free: 7.703 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3949, allocations: 84.17 kB / 0.7193 GB, free: 7.652 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.395, allocations: 20.12 kB / 0.7193 GB, free: 7.645 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.3951, allocations: 37.53 kB / 0.7193 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.3952, allocations: 42.48 kB / 0.7194 GB, free: 7.59 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3952, allocations: 10.12 kB / 0.7194 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3955, allocations: 163.9 kB / 0.7196 GB, free: 7.492 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3955, allocations: 21.28 kB / 0.7196 GB, free: 7.473 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3955, allocations: 34.67 kB / 0.7196 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3958, allocations: 138.9 kB / 0.7197 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3958, allocations: 0 / 0.7197 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3958, allocations: 0 / 0.7197 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3958, 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.0006316/0.3964, allocations: 422.5 kB / 0.7201 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3965, allocations: 8.688 kB / 0.7202 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.3965, allocations: 9.484 kB / 0.7202 GB, free: 6.926 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3966, allocations: 184.8 kB / 0.7203 GB, free: 6.711 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3966, allocations: 3.219 kB / 0.7203 GB, free: 6.711 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3967, allocations: 11.03 kB / 0.7204 GB, free: 6.703 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.397, allocations: 105.8 kB / 0.7205 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.397, allocations: 1.312 kB / 0.7205 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3971, allocations: 0 / 0.7205 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3971, allocations: 0.9688 kB / 0.7205 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.3976, allocations: 113.2 kB / 0.7206 GB, free: 6.578 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.3979, allocations: 307.6 kB / 0.7209 GB, free: 6.254 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3982, allocations: 70.67 kB / 0.7209 GB, free: 6.207 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.3985, allocations: 68.36 kB / 0.721 GB, free: 6.168 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3985, allocations: 1.938 kB / 0.721 GB, free: 6.168 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3985, allocations: 30.66 kB / 0.721 GB, free: 6.129 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.3986, allocations: 7.922 kB / 0.721 GB, free: 6.121 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0008403/0.3994, allocations: 208.1 kB / 0.7212 GB, free: 6.008 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3994, allocations: 51.41 kB / 0.7213 GB, free: 5.945 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.3995, allocations: 132.8 kB / 0.7214 GB, free: 5.828 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3996, allocations: 25.7 kB / 0.7214 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.3996, allocations: 100.3 kB / 0.7215 GB, free: 5.699 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3996, allocations: 17.3 kB / 0.7215 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3997, allocations: 17.84 kB / 0.7216 GB, free: 5.664 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3998, allocations: 325.5 kB / 0.7219 GB, free: 5.34 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.4, allocations: 58.12 kB / 0.7219 GB, free: 5.312 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4003, allocations: 62.14 kB / 0.722 GB, free: 5.281 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.4008, allocations: 120.2 kB / 0.7221 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4008, allocations: 0 / 0.7221 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005239/0.4013, allocations: 150.3 kB / 0.7222 GB, free: 5.133 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4013, allocations: 5.5 kB / 0.7222 GB, free: 5.133 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4013, allocations: 0 / 0.7222 GB, free: 5.133 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4013, allocations: 0 / 0.7222 GB, free: 5.133 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.4015, allocations: 29.84 kB / 0.7223 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4016, allocations: 0 / 0.7223 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.4017, allocations: 20.34 kB / 0.7223 GB, free: 5.113 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4017, allocations: 1.375 kB / 0.7223 GB, free: 5.113 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.399e-05/0.4018, allocations: 122.3 kB / 0.7224 GB, free: 4.988 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.4018, allocations: 12.02 kB / 0.7224 GB, free: 4.98 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.4024, allocations: 166.6 kB / 0.7226 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4024, allocations: 0 / 0.7226 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4024, allocations: 1.375 kB / 0.7226 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.4025, allocations: 82.44 kB / 0.7227 GB, free: 4.773 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4025, allocations: 5.312 kB / 0.7227 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4027, allocations: 26.75 kB / 0.7227 GB, free: 4.754 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.4027, allocations: 8.297 kB / 0.7227 GB, free: 4.75 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006728/0.4034, allocations: 251 kB / 0.7229 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005868/0.404, allocations: 323.7 kB / 0.7232 GB, free: 4.312 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002526/0.4043, allocations: 72.83 kB / 0.7233 GB, free: 4.273 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.4043, allocations: 102.4 kB / 0.7234 GB, free: 4.188 MB / 0.5138 GB Notification: Performance of Backend: time 4.51e-07/0.4043, allocations: 1.469 kB / 0.7234 GB, free: 4.188 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.405, allocations: 162.2 kB / 0.7236 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0005024/0.4055, allocations: 0.6138 MB / 0.7242 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of Templates: time 0.003977/0.4095, allocations: 1.731 MB / 0.7259 GB, free: 2.582 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