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.01277/0.01277, allocations: 1.43 MB / 16.93 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1325/0.1325, allocations: 22.38 MB / 40.35 MB, free: 0.5547 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.00166/0.00166, allocations: 107.3 kB / 47.83 MB, free: 2.211 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.002388/0.002388, allocations: 191.8 kB / 55.43 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.654/1.654, allocations: 222.9 MB / 285.8 MB, free: 1.246 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8789/0.8789, allocations: 127.8 MB / 470.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 128.6 kB / 0.5533 GB, free: 42.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1919, allocations: 82.35 MB / 0.6337 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003582/0.1956, allocations: 2.169 MB / 0.6359 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1967, allocations: 0.6233 MB / 0.6365 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.1968, allocations: 0 / 0.6365 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.1968, allocations: 7.875 kB / 0.6365 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.1969, allocations: 15.86 kB / 0.6365 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1972, allocations: 87.69 kB / 0.6366 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1974, allocations: 83.77 kB / 0.6367 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1975, allocations: 32.12 kB / 0.6367 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1976, allocations: 31.92 kB / 0.6367 GB, free: 9.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.1977, allocations: 43.81 kB / 0.6368 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1977, allocations: 8 kB / 0.6368 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.198, allocations: 155.7 kB / 0.6369 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.198, allocations: 19.92 kB / 0.6369 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1981, allocations: 39.78 kB / 0.637 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1983, allocations: 131.7 kB / 0.6371 GB, free: 9.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1983, allocations: 4 kB / 0.6371 GB, free: 9.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1983, allocations: 0 / 0.6371 GB, free: 9.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1983, allocations: 0 / 0.6371 GB, free: 9.195 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.0006936/0.199, allocations: 415 kB / 0.6375 GB, free: 8.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1991, allocations: 12.02 kB / 0.6375 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.1991, allocations: 8.844 kB / 0.6375 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1992, allocations: 180.9 kB / 0.6377 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1993, allocations: 8.375 kB / 0.6377 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.1993, allocations: 8.375 kB / 0.6377 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.1996, allocations: 105.9 kB / 0.6378 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1997, allocations: 0 / 0.6378 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1997, allocations: 0 / 0.6378 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1997, allocations: 3.938 kB / 0.6378 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.2002, allocations: 115.9 kB / 0.6379 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.2006, allocations: 300.8 kB / 0.6382 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.2009, allocations: 82.55 kB / 0.6383 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.2011, allocations: 60.92 kB / 0.6383 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2012, allocations: 4 kB / 0.6383 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2012, allocations: 38.55 kB / 0.6384 GB, free: 7.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2012, allocations: 0 / 0.6384 GB, free: 7.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008159/0.202, allocations: 201.4 kB / 0.6386 GB, free: 7.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2021, allocations: 59.34 kB / 0.6386 GB, free: 7.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2022, allocations: 131.9 kB / 0.6388 GB, free: 7.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2022, allocations: 25.7 kB / 0.6388 GB, free: 7.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.2022, allocations: 100 kB / 0.6389 GB, free: 7.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2023, allocations: 11.75 kB / 0.6389 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.2023, allocations: 17.72 kB / 0.6389 GB, free: 7.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2025, allocations: 330.8 kB / 0.6392 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.2027, allocations: 51.94 kB / 0.6393 GB, free: 6.758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.2029, allocations: 55.94 kB / 0.6393 GB, free: 6.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.2034, allocations: 117.1 kB / 0.6394 GB, free: 6.586 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2034, allocations: 4 kB / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004836/0.2039, allocations: 149.5 kB / 0.6396 GB, free: 6.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2039, allocations: 4 kB / 0.6396 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2039, allocations: 3.938 kB / 0.6396 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2039, allocations: 0 / 0.6396 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.2041, allocations: 31.95 kB / 0.6396 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2041, allocations: 0 / 0.6396 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2043, allocations: 23.97 kB / 0.6396 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.2043, allocations: 0 / 0.6396 GB, free: 6.367 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 8.468e-05/0.2044, allocations: 119.5 kB / 0.6398 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.2044, allocations: 7.906 kB / 0.6398 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.205, allocations: 169.8 kB / 0.6399 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.205, allocations: 3.938 kB / 0.6399 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.205, allocations: 7.938 kB / 0.6399 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.205, allocations: 0 / 0.6399 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2052, allocations: 189.6 kB / 0.6401 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2052, allocations: 4 kB / 0.6401 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2054, allocations: 27.95 kB / 0.6402 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2054, allocations: 0 / 0.6402 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2054, allocations: 8 kB / 0.6402 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2054, allocations: 0 / 0.6402 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2054, allocations: 0 / 0.6402 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.206, allocations: 259.4 kB / 0.6404 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.206, allocations: 81.08 kB / 0.6405 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.206, allocations: 8 kB / 0.6405 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2062, allocations: 23.97 kB / 0.6405 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.2063, allocations: 7.969 kB / 0.6405 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2063, allocations: 11.94 kB / 0.6405 GB, free: 5.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.2063, allocations: 97.92 kB / 0.6406 GB, free: 5.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2063, allocations: 0 / 0.6406 GB, free: 5.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.2066, allocations: 35.78 kB / 0.6407 GB, free: 5.234 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.0001636/0.2068, allocations: 103.2 kB / 0.6408 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005297/0.2073, allocations: 115.9 kB / 0.6409 GB, free: 5.012 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2073, allocations: 4 kB / 0.6409 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.2076, allocations: 67.88 kB / 0.6409 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2079, allocations: 10.39 kB / 0.6409 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.2084, allocations: 183.4 kB / 0.6411 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2086, allocations: 0.6924 MB / 0.6418 GB, free: 4.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.2086, allocations: 4 kB / 0.6418 GB, free: 4.004 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2087, allocations: 23.42 kB / 0.6418 GB, free: 3.98 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2087, allocations: 0 / 0.6418 GB, free: 3.98 MB / 462.1 MB Notification: Performance of Templates: time 0.003927/0.2126, allocations: 1.261 MB / 0.6431 GB, free: 2.734 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