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.01363/0.01363, allocations: 1.43 MB / 16.93 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1145/0.1145, allocations: 22.38 MB / 40.35 MB, free: 0.5625 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: 100 kB / 47.83 MB, free: 2.211 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.001457/0.001457, allocations: 195.7 kB / 55.43 MB, free: 6.246 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.305/1.305, allocations: 222.9 MB / 285.8 MB, free: 1.289 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8098/0.8098, allocations: 127.8 MB / 470.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 123.6 kB / 0.5533 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1315, allocations: 82.36 MB / 0.6337 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003423/0.135, allocations: 2.165 MB / 0.6358 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1361, allocations: 0.6233 MB / 0.6365 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.1361, allocations: 4 kB / 0.6365 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.1362, allocations: 7.922 kB / 0.6365 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.1363, allocations: 15.8 kB / 0.6365 GB, free: 9.898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1366, allocations: 87.75 kB / 0.6366 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1367, allocations: 79.78 kB / 0.6366 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1368, allocations: 24.14 kB / 0.6367 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.137, allocations: 35.91 kB / 0.6367 GB, free: 9.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.137, allocations: 35.84 kB / 0.6367 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1371, allocations: 11.98 kB / 0.6367 GB, free: 9.629 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.1373, allocations: 163.7 kB / 0.6369 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1373, allocations: 15.92 kB / 0.6369 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1374, allocations: 35.78 kB / 0.6369 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1376, allocations: 135.6 kB / 0.6371 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1376, allocations: 0 / 0.6371 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1376, allocations: 0 / 0.6371 GB, free: 9.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1376, allocations: 4 kB / 0.6371 GB, free: 9.281 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.0006385/0.1382, allocations: 415.1 kB / 0.6375 GB, free: 8.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1383, allocations: 12.03 kB / 0.6375 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1383, allocations: 12.84 kB / 0.6375 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1385, allocations: 182.3 kB / 0.6377 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1385, allocations: 384 / 0.6377 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1385, allocations: 8.312 kB / 0.6377 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.1389, allocations: 105.9 kB / 0.6378 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1389, allocations: 0 / 0.6378 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1389, allocations: 8 kB / 0.6378 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1389, allocations: 4 kB / 0.6378 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.1394, allocations: 107.9 kB / 0.6379 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1398, allocations: 316.7 kB / 0.6382 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1401, allocations: 70.52 kB / 0.6383 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1404, allocations: 64.86 kB / 0.6383 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1404, allocations: 4 kB / 0.6383 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1404, allocations: 34.56 kB / 0.6384 GB, free: 7.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1404, allocations: 4 kB / 0.6384 GB, free: 7.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008346/0.1413, allocations: 205.5 kB / 0.6386 GB, free: 7.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1413, allocations: 55.39 kB / 0.6386 GB, free: 7.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.1414, allocations: 121.8 kB / 0.6387 GB, free: 7.398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1415, allocations: 25.7 kB / 0.6388 GB, free: 7.367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1415, allocations: 104 kB / 0.6389 GB, free: 7.262 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1416, allocations: 15.75 kB / 0.6389 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.1416, allocations: 25.7 kB / 0.6389 GB, free: 7.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1417, allocations: 318.8 kB / 0.6392 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.142, allocations: 55.92 kB / 0.6393 GB, free: 6.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.1422, allocations: 52.31 kB / 0.6393 GB, free: 6.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.1427, allocations: 116.8 kB / 0.6394 GB, free: 6.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1427, allocations: 0 / 0.6394 GB, free: 6.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005197/0.1432, allocations: 157.4 kB / 0.6396 GB, free: 6.512 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1432, allocations: 10.81 kB / 0.6396 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1433, allocations: 0 / 0.6396 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1433, allocations: 0 / 0.6396 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.1435, allocations: 27.97 kB / 0.6396 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1435, allocations: 0 / 0.6396 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1436, allocations: 23.97 kB / 0.6396 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1436, allocations: 4 kB / 0.6396 GB, free: 6.449 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 8.349e-05/0.1437, allocations: 115.5 kB / 0.6397 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1438, allocations: 11.89 kB / 0.6398 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.1444, allocations: 173.8 kB / 0.6399 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1444, allocations: 3.984 kB / 0.6399 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1444, allocations: 0 / 0.6399 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1444, allocations: 0 / 0.6399 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1446, allocations: 189.6 kB / 0.6401 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1446, allocations: 0 / 0.6401 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.1448, allocations: 27.97 kB / 0.6401 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1448, allocations: 4 kB / 0.6401 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1448, allocations: 4 kB / 0.6401 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1448, allocations: 0 / 0.6401 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1448, allocations: 128 / 0.6401 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.1454, allocations: 267.2 kB / 0.6404 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1454, allocations: 85.02 kB / 0.6405 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1454, allocations: 0 / 0.6405 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1456, allocations: 19.97 kB / 0.6405 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1457, allocations: 11.98 kB / 0.6405 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1457, allocations: 3.938 kB / 0.6405 GB, free: 5.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.1457, allocations: 107.2 kB / 0.6406 GB, free: 5.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 4 kB / 0.6406 GB, free: 5.348 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.146, allocations: 27.78 kB / 0.6406 GB, free: 5.32 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.0001396/0.1461, allocations: 95.25 kB / 0.6407 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.1467, allocations: 131.8 kB / 0.6409 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1467, allocations: 0 / 0.6409 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.147, allocations: 63.94 kB / 0.6409 GB, free: 5.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.1473, allocations: 8.875 kB / 0.6409 GB, free: 5.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.1477, allocations: 187.4 kB / 0.6411 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1479, allocations: 0.6962 MB / 0.6418 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.148, allocations: 4 kB / 0.6418 GB, free: 4.082 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.148, allocations: 11.44 kB / 0.6418 GB, free: 4.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.148, allocations: 0 / 0.6418 GB, free: 4.07 MB / 462.1 MB Notification: Performance of Templates: time 0.003538/0.1516, allocations: 1.274 MB / 0.643 GB, free: 2.812 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