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/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01682/0.01682, allocations: 1.756 MB / 21.38 MB, free: 0.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 107.3 kB / 24.98 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00238/0.00238, allocations: 206 kB / 28.71 MB, free: 3.461 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 262.9 MB, free: 6.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.023/1.023, allocations: 130.7 MB / 450.4 MB, free: 6.602 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03002/0.03002, allocations: 20.62 MB / 0.6363 GB, free: 5.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1839, allocations: 81.91 MB / 0.7163 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003327/0.1872, allocations: 2.197 MB / 0.7185 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1884, allocations: 0.705 MB / 0.7192 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.1885, allocations: 4 kB / 0.7192 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.1885, allocations: 7.875 kB / 0.7192 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.1886, allocations: 15.81 kB / 0.7192 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1889, allocations: 107.7 kB / 0.7193 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1891, allocations: 87.69 kB / 0.7194 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.1892, allocations: 8.234 kB / 0.7194 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1893, allocations: 47.84 kB / 0.7194 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.1894, allocations: 39.83 kB / 0.7195 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1894, allocations: 8 kB / 0.7195 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.1897, allocations: 187.7 kB / 0.7196 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.1897, allocations: 15.92 kB / 0.7197 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.1898, allocations: 39.73 kB / 0.7197 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.19, allocations: 151.4 kB / 0.7198 GB, free: 15.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.19, allocations: 0 / 0.7198 GB, free: 15.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.19, allocations: 0 / 0.7198 GB, free: 15.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.19, allocations: 0 / 0.7198 GB, free: 15.69 MB / 0.545 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.0006666/0.1907, allocations: 349.8 kB / 0.7202 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1907, allocations: 8.031 kB / 0.7202 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.1907, allocations: 4.172 kB / 0.7202 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1908, allocations: 42.73 kB / 0.7202 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.1909, allocations: 12.89 kB / 0.7202 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1911, allocations: 138.3 kB / 0.7204 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1911, allocations: 4.375 kB / 0.7204 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1911, allocations: 4.375 kB / 0.7204 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1915, allocations: 117.5 kB / 0.7205 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1915, allocations: 0 / 0.7205 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1915, allocations: 0 / 0.7205 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1915, allocations: 0 / 0.7205 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.192, allocations: 111.9 kB / 0.7206 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1924, allocations: 283.7 kB / 0.7209 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.1927, allocations: 70.52 kB / 0.7209 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.1929, allocations: 64.92 kB / 0.721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1929, allocations: 0 / 0.721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.193, allocations: 38.5 kB / 0.721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.193, allocations: 0 / 0.721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0008245/0.1938, allocations: 213.5 kB / 0.7212 GB, free: 14.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1938, allocations: 55.39 kB / 0.7213 GB, free: 14.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1939, allocations: 131.3 kB / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.194, allocations: 33.7 kB / 0.7215 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.194, allocations: 92.14 kB / 0.7215 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1941, allocations: 23.78 kB / 0.7216 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1941, allocations: 17.72 kB / 0.7216 GB, free: 13.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1943, allocations: 322.8 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1945, allocations: 55.94 kB / 0.7219 GB, free: 13.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1947, allocations: 51.94 kB / 0.722 GB, free: 13.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.1952, allocations: 116.7 kB / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.1952, allocations: 3.984 kB / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005066/0.1957, allocations: 157.5 kB / 0.7223 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1957, allocations: 4 kB / 0.7223 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1957, allocations: 0 / 0.7223 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1957, allocations: 4 kB / 0.7223 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1959, allocations: 23.97 kB / 0.7223 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1959, allocations: 4 kB / 0.7223 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.196, allocations: 19.91 kB / 0.7223 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.196, allocations: 4 kB / 0.7223 GB, free: 12.97 MB / 0.545 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 9.923e-05/0.1961, allocations: 117.8 kB / 0.7224 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.1962, allocations: 11.95 kB / 0.7224 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.1967, allocations: 165.9 kB / 0.7226 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1967, allocations: 0 / 0.7226 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1967, allocations: 0.5 kB / 0.7226 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1967, allocations: 3.938 kB / 0.7226 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.197, allocations: 168.7 kB / 0.7228 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.197, allocations: 4 kB / 0.7228 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1971, allocations: 27.97 kB / 0.7228 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1971, allocations: 0 / 0.7228 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1971, allocations: 3.984 kB / 0.7228 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1971, allocations: 4 kB / 0.7228 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1971, allocations: 0 / 0.7228 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.1977, allocations: 255.3 kB / 0.723 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.1977, allocations: 11.89 kB / 0.7231 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1977, allocations: 3.984 kB / 0.7231 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1979, allocations: 23.98 kB / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1979, allocations: 7.969 kB / 0.7231 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1979, allocations: 11.94 kB / 0.7231 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.198, allocations: 96.98 kB / 0.7232 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.198, allocations: 0 / 0.7232 GB, free: 11.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002434/0.1982, allocations: 23.94 kB / 0.7232 GB, free: 11.97 MB / 0.545 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.0009002/0.1991, allocations: 0.7826 MB / 0.724 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.1997, allocations: 123.9 kB / 0.7241 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1997, allocations: 0 / 0.7241 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.1999, allocations: 63.88 kB / 0.7242 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2002, allocations: 18.34 kB / 0.7242 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.2026, allocations: 1.627 MB / 0.7258 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2029, allocations: 0.6924 MB / 0.7264 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.2029, allocations: 11.98 kB / 0.7265 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.203, allocations: 27.42 kB / 0.7265 GB, free: 8.492 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.203, allocations: 0 / 0.7265 GB, free: 8.492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.2245, allocations: 2.662 MB / 0.7291 GB, free: 5.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.32, allocations: 10.97 kB / 0.7291 GB, free: 5.934 MB / 0.545 GB " [Timeout remaining time 789] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.15671732404735] Failed to read output from testmodel.py, exit status != 0: 11.483136591967195 11.511398581 11.315292815 Calling exit ...