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/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/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: 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_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_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1199/0.1199, allocations: 23.03 MB / 38.26 MB, free: 1.754 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009076/0.009076, allocations: 1.439 MB / 46.89 MB, free: 2.504 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.001326/0.001326, allocations: 108 kB / 54.51 MB, free: 6.512 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.001517/0.001517, allocations: 186.5 kB / 62.23 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.446/1.446, allocations: 222.9 MB / 292.7 MB, free: 268 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 0.8936/0.8936, allocations: 127.4 MB / 477 MB, free: 9.598 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003493/0.003493, allocations: 126 kB / 0.5596 GB, free: 43.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.152, allocations: 82.45 MB / 0.6402 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003272/0.1553, allocations: 2.23 MB / 0.6423 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1564, allocations: 0.6233 MB / 0.643 GB, free: 9.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.1564, allocations: 0 / 0.643 GB, free: 9.312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1565, allocations: 7.922 kB / 0.643 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.1565, allocations: 7.938 kB / 0.643 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1568, allocations: 71.84 kB / 0.643 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1569, allocations: 91.64 kB / 0.6431 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.157, allocations: 24.2 kB / 0.6431 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1572, allocations: 31.91 kB / 0.6432 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.1572, allocations: 43.83 kB / 0.6432 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1572, allocations: 4 kB / 0.6432 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.1575, allocations: 163.7 kB / 0.6434 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.1575, allocations: 15.92 kB / 0.6434 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1576, allocations: 39.8 kB / 0.6434 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1577, allocations: 127.7 kB / 0.6436 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1578, allocations: 0 / 0.6436 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1578, allocations: 0 / 0.6436 GB, free: 8.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1578, allocations: 0 / 0.6436 GB, free: 8.695 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.0006495/0.1584, allocations: 423 kB / 0.644 GB, free: 8.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1585, allocations: 8.031 kB / 0.644 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.1585, allocations: 16.78 kB / 0.644 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1587, allocations: 184.1 kB / 0.6442 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1587, allocations: 4.375 kB / 0.6442 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1587, allocations: 384 / 0.6442 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.159, allocations: 105.9 kB / 0.6443 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.159, allocations: 0 / 0.6443 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1591, allocations: 4 kB / 0.6443 GB, free: 7.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1591, allocations: 4 kB / 0.6443 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.1595, allocations: 115.8 kB / 0.6444 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1599, allocations: 308.7 kB / 0.6447 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1602, allocations: 70.61 kB / 0.6447 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.1604, allocations: 64.86 kB / 0.6448 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1605, allocations: 8 kB / 0.6448 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1605, allocations: 34.56 kB / 0.6448 GB, free: 7.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1605, allocations: 0 / 0.6448 GB, free: 7.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.000874/0.1614, allocations: 201.5 kB / 0.645 GB, free: 7.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1614, allocations: 55.41 kB / 0.6451 GB, free: 6.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1616, allocations: 131.6 kB / 0.6452 GB, free: 6.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1616, allocations: 25.7 kB / 0.6452 GB, free: 6.773 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.1616, allocations: 96.14 kB / 0.6453 GB, free: 6.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1617, allocations: 19.72 kB / 0.6454 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.1617, allocations: 21.72 kB / 0.6454 GB, free: 6.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1619, allocations: 326.8 kB / 0.6457 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.1621, allocations: 55.88 kB / 0.6457 GB, free: 6.246 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1623, allocations: 51.94 kB / 0.6458 GB, free: 6.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.1628, allocations: 117.1 kB / 0.6459 GB, free: 6.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1628, allocations: 4 kB / 0.6459 GB, free: 6.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004886/0.1633, allocations: 149.5 kB / 0.646 GB, free: 5.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1633, allocations: 4 kB / 0.646 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1633, allocations: 0 / 0.646 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1633, allocations: 0 / 0.646 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.1636, allocations: 35.91 kB / 0.6461 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1636, allocations: 0 / 0.6461 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1637, allocations: 23.97 kB / 0.6461 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1637, allocations: 7.875 kB / 0.6461 GB, free: 5.852 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 9.589e-05/0.1638, allocations: 121.8 kB / 0.6462 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1639, allocations: 7.906 kB / 0.6462 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.1645, allocations: 165.9 kB / 0.6464 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1645, allocations: 0 / 0.6464 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1645, allocations: 0 / 0.6464 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1645, allocations: 0 / 0.6464 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.1647, allocations: 189.6 kB / 0.6466 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1647, allocations: 0 / 0.6466 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.1649, allocations: 31.91 kB / 0.6466 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1649, allocations: 4 kB / 0.6466 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1649, allocations: 7.984 kB / 0.6466 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1649, allocations: 4 kB / 0.6466 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1649, allocations: 0 / 0.6466 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.1655, allocations: 251.5 kB / 0.6469 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1656, allocations: 81.02 kB / 0.6469 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1656, allocations: 11.98 kB / 0.6469 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1658, allocations: 15.97 kB / 0.647 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.1658, allocations: 8 kB / 0.647 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1659, allocations: 4 kB / 0.647 GB, free: 4.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.1659, allocations: 104 kB / 0.6471 GB, free: 4.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1659, allocations: 4 kB / 0.6471 GB, free: 4.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1662, allocations: 31.78 kB / 0.6471 GB, free: 4.734 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.0001584/0.1664, allocations: 99.19 kB / 0.6472 GB, free: 4.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.1669, allocations: 131.9 kB / 0.6473 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1669, allocations: 0 / 0.6473 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.1671, allocations: 63.88 kB / 0.6474 GB, free: 4.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1675, allocations: 10.41 kB / 0.6474 GB, free: 4.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.1679, allocations: 207.4 kB / 0.6476 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1682, allocations: 0.6885 MB / 0.6483 GB, free: 3.484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.1682, allocations: 8 kB / 0.6483 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1683, allocations: 11.44 kB / 0.6483 GB, free: 3.465 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1683, allocations: 0 / 0.6483 GB, free: 3.465 MB / 462.1 MB Notification: Performance of Templates: time 0.003653/0.172, allocations: 1.1 MB / 0.6494 GB, free: 2.379 MB / 462.1 MB make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.makefile (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 & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) diffSimulationResults("ClaRa_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_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches