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.02144/0.02144, allocations: 1.424 MB / 17.2 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.2176/0.2176, allocations: 22.38 MB / 40.6 MB, free: 0.8242 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.001582/0.001581, allocations: 106.6 kB / 48.08 MB, free: 2.523 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.001876/0.001876, allocations: 199.5 kB / 55.65 MB, free: 6.578 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.433/2.433, allocations: 222.9 MB / 286 MB, free: 1.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.426/1.426, allocations: 127.8 MB / 470.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 123.8 kB / 0.5532 GB, free: 43.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2763, allocations: 82.36 MB / 0.6336 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.005134/0.2815, allocations: 2.226 MB / 0.6358 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.283, allocations: 0.635 MB / 0.6364 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.2831, allocations: 4 kB / 0.6364 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.018e-05/0.2832, allocations: 7.984 kB / 0.6364 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.2833, allocations: 11.86 kB / 0.6364 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.2837, allocations: 67.84 kB / 0.6365 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2838, allocations: 83.7 kB / 0.6366 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.284, allocations: 16.28 kB / 0.6366 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.2841, allocations: 35.84 kB / 0.6366 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.2842, allocations: 39.83 kB / 0.6367 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2842, allocations: 4 kB / 0.6367 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.2846, allocations: 159.7 kB / 0.6368 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.2846, allocations: 15.92 kB / 0.6368 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.2846, allocations: 31.8 kB / 0.6369 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.2848, allocations: 91.78 kB / 0.637 GB, free: 10.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2848, allocations: 0 / 0.637 GB, free: 10.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2848, allocations: 0 / 0.637 GB, free: 10.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2849, allocations: 0 / 0.637 GB, free: 10.04 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.0008099/0.2857, allocations: 419.1 kB / 0.6374 GB, free: 9.586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.2857, allocations: 8.031 kB / 0.6374 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.2858, allocations: 8.844 kB / 0.6374 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.286, allocations: 178.2 kB / 0.6375 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.286, allocations: 8.375 kB / 0.6375 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.286, allocations: 4.312 kB / 0.6375 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2864, allocations: 109.9 kB / 0.6377 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2864, allocations: 3.984 kB / 0.6377 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2865, allocations: 0 / 0.6377 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2865, allocations: 0 / 0.6377 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.287, allocations: 119.8 kB / 0.6378 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.2877, allocations: 308.7 kB / 0.6381 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.288, allocations: 78.52 kB / 0.6381 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.2883, allocations: 60.92 kB / 0.6382 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2883, allocations: 0 / 0.6382 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.2883, allocations: 34.66 kB / 0.6382 GB, free: 8.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.2884, allocations: 7.875 kB / 0.6382 GB, free: 8.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008433/0.2892, allocations: 201.4 kB / 0.6384 GB, free: 8.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2893, allocations: 51.41 kB / 0.6385 GB, free: 8.297 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2894, allocations: 140.8 kB / 0.6386 GB, free: 8.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2894, allocations: 25.7 kB / 0.6386 GB, free: 8.121 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.2895, allocations: 100 kB / 0.6387 GB, free: 8.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2895, allocations: 15.75 kB / 0.6388 GB, free: 8.004 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.2896, allocations: 21.7 kB / 0.6388 GB, free: 7.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2897, allocations: 318.8 kB / 0.6391 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.29, allocations: 55.94 kB / 0.6391 GB, free: 7.602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.2902, allocations: 55.94 kB / 0.6392 GB, free: 7.547 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.2907, allocations: 120.7 kB / 0.6393 GB, free: 7.426 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2907, allocations: 0 / 0.6393 GB, free: 7.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004905/0.2912, allocations: 145.5 kB / 0.6394 GB, free: 7.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2912, allocations: 7.984 kB / 0.6394 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2912, allocations: 4 kB / 0.6394 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2912, allocations: 0 / 0.6394 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2914, allocations: 27.97 kB / 0.6395 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2915, allocations: 0 / 0.6395 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2916, allocations: 23.97 kB / 0.6395 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2916, allocations: 0 / 0.6395 GB, free: 7.215 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.0001127/0.2917, allocations: 127.5 kB / 0.6396 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.2918, allocations: 7.906 kB / 0.6396 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.2925, allocations: 158.3 kB / 0.6398 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2925, allocations: 0 / 0.6398 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.2925, allocations: 8.062 kB / 0.6398 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2925, allocations: 0 / 0.6398 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.2929, allocations: 201.5 kB / 0.64 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2929, allocations: 3.938 kB / 0.64 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2932, allocations: 27.97 kB / 0.64 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2932, allocations: 0 / 0.64 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2932, allocations: 0 / 0.64 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2932, allocations: 0 / 0.64 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2932, allocations: 4 kB / 0.64 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.2941, allocations: 263.2 kB / 0.6403 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.2942, allocations: 81.02 kB / 0.6403 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.2943, allocations: 0 / 0.6403 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2945, allocations: 23.97 kB / 0.6404 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2947, allocations: 11.98 kB / 0.6404 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2947, allocations: 0 / 0.6404 GB, free: 6.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2948, allocations: 99.27 kB / 0.6405 GB, free: 6.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2948, allocations: 0 / 0.6405 GB, free: 6.125 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.2953, allocations: 43.7 kB / 0.6405 GB, free: 6.082 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.0002773/0.2956, allocations: 99.25 kB / 0.6406 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007791/0.2964, allocations: 119.8 kB / 0.6407 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2964, allocations: 4 kB / 0.6407 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.2968, allocations: 67.92 kB / 0.6408 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.2974, allocations: 8 kB / 0.6408 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.2981, allocations: 234.7 kB / 0.641 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.2985, allocations: 0.6926 MB / 0.6417 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.2986, allocations: 11.44 kB / 0.6417 GB, free: 4.785 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2986, allocations: 0 / 0.6417 GB, free: 4.785 MB / 462.1 MB Notification: Performance of Templates: time 0.005087/0.3037, allocations: 1.262 MB / 0.6429 GB, free: 3.535 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/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