Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) 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/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1156/0.1156, allocations: 23.03 MB / 38.67 MB, free: 1.496 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009004/0.009004, allocations: 1.446 MB / 47.31 MB, free: 2.18 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.00125/0.00125, allocations: 107.9 kB / 54.94 MB, free: 6.172 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 194.6 kB / 62.68 MB, free: 14.62 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.421/1.421, allocations: 222.9 MB / 293.2 MB, free: 13.25 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8838/0.8838, allocations: 127.5 MB / 477.6 MB, free: 76 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003523/0.003523, allocations: 131.8 kB / 0.6419 GB, free: 13.23 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4467, allocations: 82.44 MB / 0.7224 GB, free: 9.566 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003409/0.4501, allocations: 2.172 MB / 0.7245 GB, free: 7.895 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.4512, allocations: 0.6202 MB / 0.7251 GB, free: 7.402 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.4513, allocations: 3.938 kB / 0.7251 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.4513, allocations: 9.266 kB / 0.7251 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.4514, allocations: 17.02 kB / 0.7251 GB, free: 7.375 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.4517, allocations: 90.72 kB / 0.7252 GB, free: 7.309 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.4519, allocations: 79.33 kB / 0.7253 GB, free: 7.262 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.452, allocations: 36.2 kB / 0.7253 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.4521, allocations: 36.22 kB / 0.7254 GB, free: 7.215 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.4522, allocations: 42.83 kB / 0.7254 GB, free: 7.184 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.4522, allocations: 10.81 kB / 0.7254 GB, free: 7.18 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.4525, allocations: 163.1 kB / 0.7256 GB, free: 7.086 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.4525, allocations: 17.34 kB / 0.7256 GB, free: 7.07 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.4526, allocations: 32.05 kB / 0.7256 GB, free: 7.047 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.4528, allocations: 137.6 kB / 0.7257 GB, free: 6.953 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4528, allocations: 0 / 0.7257 GB, free: 6.953 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4528, allocations: 4 kB / 0.7257 GB, free: 6.949 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4528, allocations: 0 / 0.7257 GB, free: 6.949 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.000697/0.4535, allocations: 419 kB / 0.7261 GB, free: 6.535 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4536, allocations: 9.625 kB / 0.7262 GB, free: 6.535 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.4536, allocations: 36.11 kB / 0.7262 GB, free: 6.492 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.4537, allocations: 9.016 kB / 0.7262 GB, free: 6.488 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4538, allocations: 188.5 kB / 0.7264 GB, free: 6.273 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4538, allocations: 9.75 kB / 0.7264 GB, free: 6.266 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.4538, allocations: 3.125 kB / 0.7264 GB, free: 6.266 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.4542, allocations: 102.9 kB / 0.7265 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4542, allocations: 0 / 0.7265 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4542, allocations: 0 / 0.7265 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4542, allocations: 1.375 kB / 0.7265 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.4547, allocations: 117.7 kB / 0.7266 GB, free: 6.141 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.4551, allocations: 298.7 kB / 0.7269 GB, free: 5.824 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.4554, allocations: 78.86 kB / 0.727 GB, free: 5.77 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.4557, allocations: 65.23 kB / 0.727 GB, free: 5.734 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4557, allocations: 3.984 kB / 0.727 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4558, allocations: 32.09 kB / 0.7271 GB, free: 5.691 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.4558, allocations: 4 kB / 0.7271 GB, free: 5.688 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0008363/0.4566, allocations: 200.2 kB / 0.7273 GB, free: 5.582 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4567, allocations: 55.41 kB / 0.7273 GB, free: 5.516 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4568, allocations: 134.7 kB / 0.7274 GB, free: 5.395 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4568, allocations: 29.64 kB / 0.7275 GB, free: 5.359 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.457, allocations: 104.5 kB / 0.7276 GB, free: 5.258 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.457, allocations: 13.31 kB / 0.7276 GB, free: 5.246 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.457, allocations: 13.94 kB / 0.7276 GB, free: 5.23 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4572, allocations: 324.4 kB / 0.7279 GB, free: 4.906 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.4574, allocations: 62.41 kB / 0.728 GB, free: 4.875 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.4577, allocations: 54.23 kB / 0.728 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.4581, allocations: 121 kB / 0.7281 GB, free: 4.789 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4581, allocations: 0 / 0.7281 GB, free: 4.789 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005084/0.4586, allocations: 150.5 kB / 0.7283 GB, free: 4.703 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4587, allocations: 4.375 kB / 0.7283 GB, free: 4.703 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4587, allocations: 0 / 0.7283 GB, free: 4.703 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4587, allocations: 1.812 kB / 0.7283 GB, free: 4.703 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.4589, allocations: 28.52 kB / 0.7283 GB, free: 4.691 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4589, allocations: 5.062 kB / 0.7283 GB, free: 4.688 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.459, allocations: 23.3 kB / 0.7283 GB, free: 4.676 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4591, allocations: 5.25 kB / 0.7283 GB, free: 4.672 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 9.849e-05/0.4592, allocations: 116.2 kB / 0.7284 GB, free: 4.551 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.4592, allocations: 3.906 kB / 0.7284 GB, free: 4.551 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.4598, allocations: 171.7 kB / 0.7286 GB, free: 4.438 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4598, allocations: 4 kB / 0.7286 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4598, allocations: 1.188 kB / 0.7286 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4598, allocations: 0 / 0.7286 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.4601, allocations: 196.6 kB / 0.7288 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4601, allocations: 1.438 kB / 0.7288 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.4602, allocations: 34.3 kB / 0.7288 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4602, allocations: 0 / 0.7288 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4603, allocations: 1.25 kB / 0.7288 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4603, allocations: 3.984 kB / 0.7288 GB, free: 4.188 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4603, allocations: 5.844 kB / 0.7289 GB, free: 4.184 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.4609, allocations: 258.9 kB / 0.7291 GB, free: 3.984 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.4609, allocations: 86.45 kB / 0.7292 GB, free: 3.883 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.461, allocations: 9.219 kB / 0.7292 GB, free: 3.875 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.4611, allocations: 20.34 kB / 0.7292 GB, free: 3.867 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.4612, allocations: 10.95 kB / 0.7292 GB, free: 3.859 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.4612, allocations: 0.6875 kB / 0.7292 GB, free: 3.859 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.4613, allocations: 106 kB / 0.7293 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4613, allocations: 2.031 kB / 0.7293 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.000238/0.4615, allocations: 18.09 kB / 0.7293 GB, free: 3.766 MB / 0.5138 GB 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.0009419/0.4625, allocations: 0.792 MB / 0.7301 GB, free: 3.039 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.463, allocations: 123.2 kB / 0.7302 GB, free: 2.984 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.463, allocations: 0 / 0.7302 GB, free: 2.984 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.4633, allocations: 74.31 kB / 0.7303 GB, free: 2.949 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4636, allocations: 6.844 kB / 0.7303 GB, free: 2.945 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.4641, allocations: 217.5 kB / 0.7305 GB, free: 2.742 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4645, allocations: 0.694 MB / 0.7312 GB, free: 2.035 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 4.425e-05/0.4646, allocations: 6.312 kB / 0.7312 GB, free: 2.031 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.4646, allocations: 27.98 kB / 0.7312 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of SimCode: time 6.92e-07/0.4646, allocations: 0 / 0.7312 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.4872, allocations: 2.483 MB / 0.7337 GB, free: 0.7031 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.155, allocations: 9.531 kB / 0.7337 GB, free: 0.6953 MB / 0.5138 GB (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) diffSimulationResults("ClaRa_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_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches