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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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 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) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_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="Time|Time_bak|_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/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 239.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 110.2 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.086/0.086, allocations: 20.1 MB / 360.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9466/0.9466, allocations: 126.4 MB / 0.5296 GB, free: 14.97 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 83.89 kB / 0.6208 GB, free: 1.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3375, allocations: 81.16 MB / 0.7 GB, free: 33.52 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003015/0.3406, allocations: 2.232 MB / 0.7022 GB, free: 31.96 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.3416, allocations: 0.638 MB / 0.7028 GB, free: 31.52 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.3416, allocations: 0.8438 kB / 0.7028 GB, free: 31.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.3417, allocations: 5.25 kB / 0.7029 GB, free: 31.52 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.3417, allocations: 14.64 kB / 0.7029 GB, free: 31.51 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.342, allocations: 71.2 kB / 0.7029 GB, free: 31.48 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.3421, allocations: 78.42 kB / 0.703 GB, free: 31.45 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.3422, allocations: 22.34 kB / 0.703 GB, free: 31.43 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3424, allocations: 29.03 kB / 0.7031 GB, free: 31.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.3425, allocations: 48.83 kB / 0.7031 GB, free: 31.4 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3425, allocations: 4.25 kB / 0.7031 GB, free: 31.4 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.3428, allocations: 152.8 kB / 0.7033 GB, free: 31.37 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3428, allocations: 22.48 kB / 0.7033 GB, free: 31.35 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.3428, allocations: 31.59 kB / 0.7033 GB, free: 31.33 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.3431, allocations: 126.3 kB / 0.7034 GB, free: 31.29 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3431, allocations: 0 / 0.7034 GB, free: 31.29 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3431, allocations: 1.312 kB / 0.7034 GB, free: 31.29 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3431, allocations: 0 / 0.7034 GB, free: 31.29 MB / 474.8 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.0006351/0.3438, allocations: 420 kB / 0.7038 GB, free: 30.9 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3438, allocations: 11.2 kB / 0.7038 GB, free: 30.9 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.3439, allocations: 12.88 kB / 0.7039 GB, free: 30.89 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/0.344, allocations: 184.1 kB / 0.704 GB, free: 30.68 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.344, allocations: 6 kB / 0.704 GB, free: 30.68 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.344, allocations: 4.625 kB / 0.704 GB, free: 30.68 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3444, allocations: 104 kB / 0.7041 GB, free: 30.63 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3444, allocations: 0.9062 kB / 0.7041 GB, free: 30.63 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3444, allocations: 4 kB / 0.7041 GB, free: 30.63 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3444, allocations: 1.156 kB / 0.7041 GB, free: 30.63 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.3449, allocations: 113 kB / 0.7043 GB, free: 30.61 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3453, allocations: 308.9 kB / 0.7045 GB, free: 30.32 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.3456, allocations: 74.55 kB / 0.7046 GB, free: 30.29 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.3458, allocations: 65.86 kB / 0.7047 GB, free: 30.27 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3459, allocations: 2.125 kB / 0.7047 GB, free: 30.27 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3459, allocations: 34.22 kB / 0.7047 GB, free: 30.23 MB / 474.8 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3459, allocations: 0 / 0.7047 GB, free: 30.23 MB / 474.8 MB Notification: Performance of matching and sorting (n=5): time 0.0008419/0.3468, allocations: 207.2 kB / 0.7049 GB, free: 30.16 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3468, allocations: 53.03 kB / 0.705 GB, free: 30.1 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.3469, allocations: 130.9 kB / 0.7051 GB, free: 30 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3469, allocations: 26.41 kB / 0.7051 GB, free: 29.96 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.3469, allocations: 98.89 kB / 0.7052 GB, free: 29.87 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.347, allocations: 20.55 kB / 0.7052 GB, free: 29.86 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.347, allocations: 18.52 kB / 0.7052 GB, free: 29.84 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.3471, allocations: 324.7 kB / 0.7056 GB, free: 29.52 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3474, allocations: 57.16 kB / 0.7056 GB, free: 29.51 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.3476, allocations: 54.62 kB / 0.7057 GB, free: 29.5 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.3481, allocations: 115.9 kB / 0.7058 GB, free: 29.48 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3481, allocations: 0 / 0.7058 GB, free: 29.48 MB / 474.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000491/0.3486, allocations: 149.8 kB / 0.7059 GB, free: 29.4 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3486, allocations: 6.125 kB / 0.7059 GB, free: 29.4 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3486, allocations: 0 / 0.7059 GB, free: 29.4 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3486, allocations: 1.469 kB / 0.7059 GB, free: 29.4 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.3488, allocations: 34.41 kB / 0.706 GB, free: 29.39 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3488, allocations: 1.125 kB / 0.706 GB, free: 29.39 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.349, allocations: 25.47 kB / 0.706 GB, free: 29.38 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.349, allocations: 1.25 kB / 0.706 GB, free: 29.38 MB / 474.8 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 5.69e-05/0.349, allocations: 121.3 kB / 0.7061 GB, free: 29.25 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3491, allocations: 7.406 kB / 0.7061 GB, free: 29.25 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.3496, allocations: 176.3 kB / 0.7063 GB, free: 29.14 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3496, allocations: 0.9688 kB / 0.7063 GB, free: 29.14 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3496, allocations: 1.094 kB / 0.7063 GB, free: 29.14 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3496, allocations: 0 / 0.7063 GB, free: 29.14 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3498, allocations: 189.2 kB / 0.7065 GB, free: 28.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3498, allocations: 0 / 0.7065 GB, free: 28.93 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.35, allocations: 30.25 kB / 0.7065 GB, free: 28.91 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.35, allocations: 3.375 kB / 0.7065 GB, free: 28.91 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.35, allocations: 5.078 kB / 0.7065 GB, free: 28.91 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.35, allocations: 0 / 0.7065 GB, free: 28.91 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.35, allocations: 0 / 0.7065 GB, free: 28.91 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.3509, allocations: 0.8698 MB / 0.7073 GB, free: 28.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3509, allocations: 92.41 kB / 0.7074 GB, free: 28 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.351, allocations: 5.344 kB / 0.7074 GB, free: 27.99 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3511, allocations: 24 kB / 0.7075 GB, free: 27.98 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3512, allocations: 7.547 kB / 0.7075 GB, free: 27.98 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3512, allocations: 2.094 kB / 0.7075 GB, free: 27.98 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.3513, allocations: 102 kB / 0.7076 GB, free: 27.89 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3513, allocations: 0 / 0.7076 GB, free: 27.89 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003416/0.3516, allocations: 20.25 kB / 0.7076 GB, free: 27.89 MB / 474.8 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.0001242/0.3517, allocations: 106.7 kB / 0.7077 GB, free: 27.79 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0005108/0.3523, allocations: 126.8 kB / 0.7078 GB, free: 27.74 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3523, allocations: 0 / 0.7078 GB, free: 27.74 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.3525, allocations: 62.78 kB / 0.7079 GB, free: 27.71 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3528, allocations: 16.36 kB / 0.7079 GB, free: 27.71 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.3532, allocations: 323.5 kB / 0.7082 GB, free: 27.4 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3534, allocations: 0.6941 MB / 0.7089 GB, free: 26.7 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.3534, allocations: 7.125 kB / 0.7089 GB, free: 26.7 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3535, allocations: 18.66 kB / 0.7089 GB, free: 26.68 MB / 474.8 MB Notification: Performance of SimCode: time 3.4e-07/0.3535, allocations: 0 / 0.7089 GB, free: 26.68 MB / 474.8 MB Notification: Performance of Templates: time 0.002991/0.3565, allocations: 1.074 MB / 0.7099 GB, free: 26.2 MB / 474.8 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","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches