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.129/0.129, allocations: 23.03 MB / 38.53 MB, free: 1.574 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008868/0.008868, allocations: 1.433 MB / 47.17 MB, free: 2.281 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.001248/0.001248, allocations: 111.9 kB / 54.81 MB, free: 6.266 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.00145/0.00145, allocations: 199.2 kB / 62.54 MB, free: 14.63 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.434/1.434, allocations: 222.9 MB / 293 MB, free: 13.33 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 0.8845/0.8845, allocations: 127.4 MB / 477.4 MB, free: 20 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003571/0.003571, allocations: 131.8 kB / 0.5602 GB, free: 16.56 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1583, allocations: 82.44 MB / 0.6407 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.00342/0.1618, allocations: 2.158 MB / 0.6428 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1629, allocations: 0.6271 MB / 0.6434 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.1629, allocations: 8 kB / 0.6434 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.163, allocations: 11.86 kB / 0.6435 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.163, allocations: 11.86 kB / 0.6435 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1634, allocations: 91.69 kB / 0.6436 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1635, allocations: 83.7 kB / 0.6436 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1636, allocations: 20.27 kB / 0.6437 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1637, allocations: 35.91 kB / 0.6437 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.1638, allocations: 47.75 kB / 0.6437 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1638, allocations: 8 kB / 0.6437 GB, free: 11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.1641, allocations: 163.7 kB / 0.6439 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.1641, allocations: 11.98 kB / 0.6439 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1642, allocations: 39.78 kB / 0.6439 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1644, allocations: 131.5 kB / 0.6441 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1644, allocations: 0 / 0.6441 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1644, allocations: 0 / 0.6441 GB, free: 10.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1644, allocations: 4 kB / 0.6441 GB, free: 10.66 MB / 478.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.0006645/0.1651, allocations: 423 kB / 0.6445 GB, free: 10.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1651, allocations: 12.03 kB / 0.6445 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1652, allocations: 8.844 kB / 0.6445 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1653, allocations: 178.4 kB / 0.6447 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1653, allocations: 384 / 0.6447 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1653, allocations: 4.375 kB / 0.6447 GB, free: 9.965 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1657, allocations: 109.9 kB / 0.6448 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1657, allocations: 0 / 0.6448 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1657, allocations: 8 kB / 0.6448 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1658, allocations: 0 / 0.6448 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.1662, allocations: 107.9 kB / 0.6449 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1667, allocations: 312.8 kB / 0.6452 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.1669, allocations: 78.45 kB / 0.6453 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.1672, allocations: 64.92 kB / 0.6453 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1672, allocations: 0 / 0.6453 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1672, allocations: 38.5 kB / 0.6454 GB, free: 9.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1673, allocations: 4 kB / 0.6454 GB, free: 9.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008135/0.1681, allocations: 209.3 kB / 0.6456 GB, free: 8.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1681, allocations: 55.41 kB / 0.6456 GB, free: 8.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1682, allocations: 125.8 kB / 0.6457 GB, free: 8.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1683, allocations: 29.7 kB / 0.6458 GB, free: 8.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.1683, allocations: 92.14 kB / 0.6459 GB, free: 8.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1684, allocations: 19.73 kB / 0.6459 GB, free: 8.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1684, allocations: 17.72 kB / 0.6459 GB, free: 8.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1686, allocations: 322.8 kB / 0.6462 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1688, allocations: 59.94 kB / 0.6463 GB, free: 8.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.169, allocations: 51.88 kB / 0.6463 GB, free: 8.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.1695, allocations: 116.7 kB / 0.6464 GB, free: 8.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1695, allocations: 0 / 0.6464 GB, free: 8.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005082/0.17, allocations: 149.4 kB / 0.6466 GB, free: 7.895 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.17, allocations: 12 kB / 0.6466 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.17, allocations: 0 / 0.6466 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1701, allocations: 0 / 0.6466 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1703, allocations: 27.97 kB / 0.6466 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1703, allocations: 0 / 0.6466 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1705, allocations: 19.97 kB / 0.6466 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1705, allocations: 4 kB / 0.6466 GB, free: 7.832 MB / 478.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 8.954e-05/0.1706, allocations: 121.8 kB / 0.6467 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1706, allocations: 7.906 kB / 0.6467 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.1712, allocations: 170.2 kB / 0.6469 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1712, allocations: 4 kB / 0.6469 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1712, allocations: 64 / 0.6469 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1712, allocations: 4 kB / 0.6469 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1714, allocations: 193.5 kB / 0.6471 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1714, allocations: 0 / 0.6471 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1716, allocations: 31.97 kB / 0.6471 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1716, allocations: 0 / 0.6471 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1716, allocations: 7.969 kB / 0.6471 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1716, allocations: 0 / 0.6471 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1716, allocations: 0 / 0.6471 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.1722, allocations: 251.3 kB / 0.6474 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1723, allocations: 89.03 kB / 0.6475 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1723, allocations: 0 / 0.6475 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1725, allocations: 23.97 kB / 0.6475 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1725, allocations: 8 kB / 0.6475 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1725, allocations: 0 / 0.6475 GB, free: 6.844 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.1726, allocations: 108.9 kB / 0.6476 GB, free: 6.738 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1726, allocations: 7.938 kB / 0.6476 GB, free: 6.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1729, allocations: 23.88 kB / 0.6476 GB, free: 6.707 MB / 478.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.0001571/0.173, allocations: 107.2 kB / 0.6477 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.1736, allocations: 123.9 kB / 0.6478 GB, free: 6.473 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.1736, allocations: 3.938 kB / 0.6478 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1738, allocations: 71.88 kB / 0.6479 GB, free: 6.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1741, allocations: 8 kB / 0.6479 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.1745, allocations: 179.4 kB / 0.6481 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1749, allocations: 0.6885 MB / 0.6488 GB, free: 5.473 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.011e-05/0.1749, allocations: 4 kB / 0.6488 GB, free: 5.469 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1749, allocations: 11.44 kB / 0.6488 GB, free: 5.457 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1749, allocations: 0 / 0.6488 GB, free: 5.457 MB / 478.1 MB Notification: Performance of Templates: time 0.003874/0.1788, allocations: 1.278 MB / 0.65 GB, free: 4.191 MB / 478.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