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/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: 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/TILMedia 1.8.2-main/package.mo): time 0.1244/0.1244, allocations: 23.17 MB / 40.31 MB, free: 7.547 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.0254/0.0254, allocations: 1.448 MB / 49.15 MB, free: 2.367 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.001238/0.001238, allocations: 117.9 kB / 57.01 MB, free: 8.016 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.001826/0.001826, allocations: 196.4 kB / 64.97 MB, free: 40 kB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 298.4 MB, free: 1.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9648/0.9648, allocations: 129 MB / 487.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003699/0.003699, allocations: 132.2 kB / 0.6608 GB, free: 9.785 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2083, allocations: 86.83 MB / 0.7456 GB, free: 2.793 MB / 0.5451 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003841/0.2122, allocations: 2.187 MB / 0.7477 GB, free: 0.5898 MB / 0.5451 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2135, allocations: 0.6311 MB / 0.7483 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.2135, allocations: 0 / 0.7483 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.2136, allocations: 7.922 kB / 0.7484 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.2137, allocations: 15.81 kB / 0.7484 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.214, allocations: 87.75 kB / 0.7484 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2142, allocations: 83.7 kB / 0.7485 GB, free: 15.76 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2143, allocations: 15.94 kB / 0.7485 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2144, allocations: 43.83 kB / 0.7486 GB, free: 15.7 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.2145, allocations: 39.83 kB / 0.7486 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.2145, allocations: 4 kB / 0.7486 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.2149, allocations: 167.7 kB / 0.7488 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.2149, allocations: 15.92 kB / 0.7488 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.2149, allocations: 39.8 kB / 0.7488 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2152, allocations: 135.5 kB / 0.749 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2152, allocations: 0 / 0.749 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2152, allocations: 0 / 0.749 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2152, allocations: 0 / 0.749 GB, free: 15.31 MB / 0.5607 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.0007801/0.216, allocations: 418.9 kB / 0.7494 GB, free: 14.85 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.216, allocations: 12.03 kB / 0.7494 GB, free: 14.84 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.2161, allocations: 8.891 kB / 0.7494 GB, free: 14.83 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2163, allocations: 190.9 kB / 0.7496 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2163, allocations: 4.375 kB / 0.7496 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.2163, allocations: 8.312 kB / 0.7496 GB, free: 14.6 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.2167, allocations: 101.9 kB / 0.7497 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2167, allocations: 0 / 0.7497 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2167, allocations: 3.984 kB / 0.7497 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2168, allocations: 8 kB / 0.7497 GB, free: 14.48 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.2172, allocations: 107.9 kB / 0.7498 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.2177, allocations: 312.7 kB / 0.7501 GB, free: 14.02 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.218, allocations: 70.52 kB / 0.7502 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.2183, allocations: 60.92 kB / 0.7502 GB, free: 13.88 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2183, allocations: 0 / 0.7502 GB, free: 13.88 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2183, allocations: 38.56 kB / 0.7503 GB, free: 13.83 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2183, allocations: 96 / 0.7503 GB, free: 13.83 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0008443/0.2192, allocations: 205.4 kB / 0.7505 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.2192, allocations: 55.39 kB / 0.7505 GB, free: 13.56 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2194, allocations: 125.8 kB / 0.7506 GB, free: 13.43 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2194, allocations: 29.7 kB / 0.7507 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.2195, allocations: 96.08 kB / 0.7507 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2195, allocations: 15.84 kB / 0.7508 GB, free: 13.28 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.2195, allocations: 21.7 kB / 0.7508 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2197, allocations: 322.8 kB / 0.7511 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.22, allocations: 55.94 kB / 0.7511 GB, free: 12.87 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.2202, allocations: 59.92 kB / 0.7512 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.2206, allocations: 108.7 kB / 0.7513 GB, free: 12.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2206, allocations: 0 / 0.7513 GB, free: 12.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005246/0.2212, allocations: 161.9 kB / 0.7515 GB, free: 12.54 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2212, allocations: 4 kB / 0.7515 GB, free: 12.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2212, allocations: 4.062 kB / 0.7515 GB, free: 12.53 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2212, allocations: 0 / 0.7515 GB, free: 12.53 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2214, allocations: 23.97 kB / 0.7515 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2214, allocations: 4 kB / 0.7515 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2215, allocations: 23.92 kB / 0.7515 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2215, allocations: 4 kB / 0.7515 GB, free: 12.48 MB / 0.5607 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 0.0001092/0.2217, allocations: 121.8 kB / 0.7516 GB, free: 12.35 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.2217, allocations: 3.938 kB / 0.7516 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005863/0.2223, allocations: 173.8 kB / 0.7518 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2223, allocations: 0 / 0.7518 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.2223, allocations: 3.984 kB / 0.7518 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2223, allocations: 3.984 kB / 0.7518 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2225, allocations: 197.5 kB / 0.752 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2225, allocations: 3.938 kB / 0.752 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2227, allocations: 27.97 kB / 0.752 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2227, allocations: 3.938 kB / 0.752 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2227, allocations: 4 kB / 0.752 GB, free: 11.87 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2227, allocations: 0 / 0.752 GB, free: 11.87 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2227, allocations: 0 / 0.752 GB, free: 11.87 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.2233, allocations: 263.2 kB / 0.7523 GB, free: 11.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.2233, allocations: 81.06 kB / 0.7524 GB, free: 11.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2234, allocations: 0 / 0.7524 GB, free: 11.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2235, allocations: 23.97 kB / 0.7524 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.2236, allocations: 7.984 kB / 0.7524 GB, free: 11.47 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2236, allocations: 128 / 0.7524 GB, free: 11.47 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 9.178e-05/0.2237, allocations: 105.6 kB / 0.7525 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6e-08/0.2237, allocations: 0 / 0.7525 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002521/0.2239, allocations: 31.86 kB / 0.7525 GB, free: 11.34 MB / 0.5607 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.0001846/0.2241, allocations: 102.3 kB / 0.7526 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.2247, allocations: 123.8 kB / 0.7527 GB, free: 11.11 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2247, allocations: 4 kB / 0.7527 GB, free: 11.11 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.2249, allocations: 63.92 kB / 0.7528 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.2253, allocations: 8 kB / 0.7528 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.2258, allocations: 208.8 kB / 0.753 GB, free: 10.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2262, allocations: 0.6963 MB / 0.7537 GB, free: 10.07 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.2262, allocations: 11.44 kB / 0.7537 GB, free: 10.06 MB / 0.5607 GB Notification: Performance of SimCode: time 4.71e-07/0.2262, allocations: 0 / 0.7537 GB, free: 10.06 MB / 0.5607 GB Notification: Performance of Templates: time 0.003367/0.2296, allocations: 1.261 MB / 0.7549 GB, free: 8.812 MB / 0.5607 GB 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=480 -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