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.01087/0.01087, allocations: 1.427 MB / 16.66 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.102/0.102, allocations: 22.38 MB / 40.07 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.001113/0.001113, allocations: 98.92 kB / 47.53 MB, free: 2.5 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.001656/0.001656, allocations: 196.6 kB / 55.13 MB, free: 6.535 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.332/1.332, allocations: 222.9 MB / 285.5 MB, free: 1.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8379/0.8379, allocations: 127.8 MB / 470.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.002211, allocations: 129.4 kB / 0.5528 GB, free: 43.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1558, allocations: 82.36 MB / 0.6332 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.002991/0.1589, allocations: 2.222 MB / 0.6354 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.1598, allocations: 0.6194 MB / 0.636 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.1599, allocations: 8 kB / 0.636 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.1599, allocations: 3.938 kB / 0.636 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.16, allocations: 11.91 kB / 0.636 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1603, allocations: 71.84 kB / 0.6361 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.1604, allocations: 83.72 kB / 0.6361 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1605, allocations: 24.2 kB / 0.6362 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1606, allocations: 39.91 kB / 0.6362 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.1607, allocations: 35.83 kB / 0.6362 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1607, allocations: 8 kB / 0.6362 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.1609, allocations: 163.7 kB / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.161, allocations: 15.92 kB / 0.6364 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.161, allocations: 39.78 kB / 0.6364 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1612, allocations: 127.6 kB / 0.6366 GB, free: 9.824 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1612, allocations: 0 / 0.6366 GB, free: 9.824 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1612, allocations: 0 / 0.6366 GB, free: 9.824 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1612, allocations: 0 / 0.6366 GB, free: 9.824 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.000606/0.1618, allocations: 419.1 kB / 0.637 GB, free: 9.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1619, allocations: 12.03 kB / 0.637 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1619, allocations: 12.78 kB / 0.637 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.162, allocations: 184.1 kB / 0.6372 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.1621, allocations: 4.375 kB / 0.6372 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1621, allocations: 4.375 kB / 0.6372 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.1624, allocations: 105.9 kB / 0.6373 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1624, allocations: 0 / 0.6373 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1624, allocations: 4 kB / 0.6373 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1624, allocations: 0 / 0.6373 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.1629, allocations: 115.8 kB / 0.6374 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1633, allocations: 312.8 kB / 0.6377 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1635, allocations: 82.45 kB / 0.6378 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1637, allocations: 64.95 kB / 0.6378 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1638, allocations: 0 / 0.6378 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.1638, allocations: 30.56 kB / 0.6379 GB, free: 8.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.1638, allocations: 0 / 0.6379 GB, free: 8.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007291/0.1645, allocations: 205.4 kB / 0.6381 GB, free: 8.133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1646, allocations: 59.39 kB / 0.6381 GB, free: 8.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.1647, allocations: 128 kB / 0.6382 GB, free: 7.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1647, allocations: 25.7 kB / 0.6383 GB, free: 7.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1647, allocations: 100 kB / 0.6384 GB, free: 7.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1648, allocations: 19.75 kB / 0.6384 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1648, allocations: 17.7 kB / 0.6384 GB, free: 7.754 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.1649, allocations: 318.8 kB / 0.6387 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1651, allocations: 67.86 kB / 0.6388 GB, free: 7.367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1653, allocations: 51.94 kB / 0.6388 GB, free: 7.316 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.1657, allocations: 112.8 kB / 0.6389 GB, free: 7.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1657, allocations: 0 / 0.6389 GB, free: 7.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004569/0.1662, allocations: 149.5 kB / 0.6391 GB, free: 7.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1662, allocations: 12 kB / 0.6391 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1662, allocations: 0 / 0.6391 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1663, allocations: 0 / 0.6391 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1664, allocations: 23.97 kB / 0.6391 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1665, allocations: 3.938 kB / 0.6391 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1666, allocations: 19.97 kB / 0.6391 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1666, allocations: 7.938 kB / 0.6391 GB, free: 6.984 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 7.6e-05/0.1667, allocations: 119.5 kB / 0.6392 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1667, allocations: 11.89 kB / 0.6392 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.1672, allocations: 162.4 kB / 0.6394 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1672, allocations: 7.984 kB / 0.6394 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1672, allocations: 4 kB / 0.6394 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1672, allocations: 0 / 0.6394 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1674, allocations: 193.6 kB / 0.6396 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1674, allocations: 0 / 0.6396 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1676, allocations: 31.91 kB / 0.6396 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1676, allocations: 0 / 0.6396 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1676, allocations: 0 / 0.6396 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1676, allocations: 0 / 0.6396 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1676, allocations: 0 / 0.6396 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.1681, allocations: 255.3 kB / 0.6399 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.1682, allocations: 85.02 kB / 0.64 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1682, allocations: 4 kB / 0.64 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1683, allocations: 23.97 kB / 0.64 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1684, allocations: 15.92 kB / 0.64 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1684, allocations: 0 / 0.64 GB, free: 5.996 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.1685, allocations: 99.25 kB / 0.6401 GB, free: 5.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 4 kB / 0.6401 GB, free: 5.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1687, allocations: 35.78 kB / 0.6401 GB, free: 5.859 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.0001408/0.1689, allocations: 107.2 kB / 0.6402 GB, free: 5.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.1694, allocations: 119.9 kB / 0.6403 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1694, allocations: 0 / 0.6403 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.1696, allocations: 75.88 kB / 0.6404 GB, free: 5.555 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1699, allocations: 4 kB / 0.6404 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.1703, allocations: 211.4 kB / 0.6406 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1705, allocations: 0.6885 MB / 0.6413 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.1705, allocations: 4.312 kB / 0.6413 GB, free: 4.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1706, allocations: 11.44 kB / 0.6413 GB, free: 4.586 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1706, allocations: 0 / 0.6413 GB, free: 4.586 MB / 462.1 MB Notification: Performance of Templates: time 0.003036/0.1736, allocations: 1.104 MB / 0.6424 GB, free: 3.5 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=50 -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