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.01796/0.01796, allocations: 1.435 MB / 16.55 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1286/0.1286, allocations: 22.38 MB / 39.96 MB, free: 0.9453 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.001188/0.001188, allocations: 106.6 kB / 47.43 MB, free: 2.625 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.001464/0.001464, allocations: 188.5 kB / 55 MB, free: 6.684 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.433/1.433, allocations: 222.9 MB / 285.3 MB, free: 1.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8994/0.8994, allocations: 127.8 MB / 470 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 130.6 kB / 0.5526 GB, free: 43.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2015, allocations: 82.36 MB / 0.633 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003954/0.2055, allocations: 2.235 MB / 0.6352 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2067, allocations: 0.6389 MB / 0.6358 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.2068, allocations: 0 / 0.6358 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.2068, allocations: 3.984 kB / 0.6358 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.2069, allocations: 11.88 kB / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.2072, allocations: 71.84 kB / 0.6359 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2073, allocations: 79.7 kB / 0.636 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2075, allocations: 12.28 kB / 0.636 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2076, allocations: 39.83 kB / 0.636 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.2077, allocations: 39.83 kB / 0.636 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2077, allocations: 8 kB / 0.6361 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.208, allocations: 159.7 kB / 0.6362 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.208, allocations: 11.92 kB / 0.6362 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.2081, allocations: 35.8 kB / 0.6363 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2083, allocations: 123.6 kB / 0.6364 GB, free: 9.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2083, allocations: 0 / 0.6364 GB, free: 9.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2083, allocations: 0 / 0.6364 GB, free: 9.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2083, allocations: 4 kB / 0.6364 GB, free: 9.918 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.0007202/0.209, allocations: 415.1 kB / 0.6368 GB, free: 9.465 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2091, allocations: 12.03 kB / 0.6368 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.2091, allocations: 8.844 kB / 0.6368 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2093, allocations: 194.2 kB / 0.637 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2093, allocations: 4.375 kB / 0.637 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2093, allocations: 4.375 kB / 0.637 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.2097, allocations: 109.9 kB / 0.6371 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2097, allocations: 0 / 0.6371 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2097, allocations: 4 kB / 0.6371 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2098, allocations: 0 / 0.6371 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.2102, allocations: 111.9 kB / 0.6372 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.2107, allocations: 308.7 kB / 0.6375 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.211, allocations: 70.52 kB / 0.6376 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.2112, allocations: 64.92 kB / 0.6376 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.2112, allocations: 0 / 0.6376 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.2113, allocations: 34.59 kB / 0.6377 GB, free: 8.445 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2113, allocations: 0 / 0.6377 GB, free: 8.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008125/0.2121, allocations: 209.6 kB / 0.6379 GB, free: 8.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2122, allocations: 51.41 kB / 0.6379 GB, free: 8.172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2123, allocations: 129.8 kB / 0.638 GB, free: 8.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2123, allocations: 29.7 kB / 0.6381 GB, free: 8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.2124, allocations: 96.05 kB / 0.6381 GB, free: 7.902 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.2124, allocations: 23.73 kB / 0.6382 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.2125, allocations: 13.72 kB / 0.6382 GB, free: 7.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2126, allocations: 322.8 kB / 0.6385 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2128, allocations: 55.94 kB / 0.6385 GB, free: 7.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2131, allocations: 60 kB / 0.6386 GB, free: 7.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.2135, allocations: 112.7 kB / 0.6387 GB, free: 7.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2135, allocations: 4 kB / 0.6387 GB, free: 7.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004878/0.214, allocations: 149.5 kB / 0.6389 GB, free: 7.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.214, allocations: 10.34 kB / 0.6389 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.214, allocations: 0 / 0.6389 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.214, allocations: 4 kB / 0.6389 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.2142, allocations: 23.97 kB / 0.6389 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2143, allocations: 0 / 0.6389 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2144, allocations: 19.97 kB / 0.6389 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2144, allocations: 4 kB / 0.6389 GB, free: 7.094 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.0001037/0.2145, allocations: 127.4 kB / 0.639 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.2146, allocations: 7.906 kB / 0.639 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.2151, allocations: 169.9 kB / 0.6392 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2151, allocations: 3.984 kB / 0.6392 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2151, allocations: 0 / 0.6392 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2151, allocations: 0 / 0.6392 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.2154, allocations: 201.5 kB / 0.6394 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2154, allocations: 0 / 0.6394 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2155, allocations: 28.22 kB / 0.6394 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2155, allocations: 0 / 0.6394 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2156, allocations: 7.938 kB / 0.6394 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2156, allocations: 7.922 kB / 0.6394 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2156, allocations: 0 / 0.6394 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.2161, allocations: 251.3 kB / 0.6397 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.2162, allocations: 85.02 kB / 0.6398 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2162, allocations: 7.984 kB / 0.6398 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2164, allocations: 19.98 kB / 0.6398 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.2164, allocations: 7.984 kB / 0.6398 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.2164, allocations: 7.984 kB / 0.6398 GB, free: 6.086 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.2165, allocations: 95.27 kB / 0.6399 GB, free: 5.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2165, allocations: 4 kB / 0.6399 GB, free: 5.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2168, allocations: 31.78 kB / 0.6399 GB, free: 5.957 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.000176/0.217, allocations: 99.25 kB / 0.64 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.2175, allocations: 127.8 kB / 0.6401 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2175, allocations: 0 / 0.6401 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.2177, allocations: 63.94 kB / 0.6402 GB, free: 5.664 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2181, allocations: 12 kB / 0.6402 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.2186, allocations: 204.9 kB / 0.6404 GB, free: 5.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2189, allocations: 0.6965 MB / 0.6411 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.219, allocations: 4 kB / 0.6411 GB, free: 4.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.219, allocations: 7.438 kB / 0.6411 GB, free: 4.688 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.219, allocations: 0 / 0.6411 GB, free: 4.688 MB / 462.1 MB Notification: Performance of Templates: time 0.003919/0.2229, allocations: 1.056 MB / 0.6421 GB, free: 3.645 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