Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.0121/0.0121, 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.001457/0.001457, allocations: 99.81 kB / 24.97 MB, free: 2.188 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.0018/0.0018, allocations: 211.2 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.396/1.396, allocations: 230.6 MB / 262.9 MB, free: 6.012 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.046/1.046, allocations: 130.7 MB / 450.5 MB, free: 6.566 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.testTableGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testTableGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain",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.03232/0.03232, allocations: 20.61 MB / 0.6363 GB, free: 5.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.2046, allocations: 81.91 MB / 0.7163 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003992/0.2086, allocations: 2.406 MB / 0.7187 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2098, allocations: 0.6352 MB / 0.7193 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.2098, allocations: 7.938 kB / 0.7193 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.2101, allocations: 91.62 kB / 0.7194 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.2105, allocations: 131.4 kB / 0.7195 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2109, allocations: 195.1 kB / 0.7197 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.2112, allocations: 179.5 kB / 0.7199 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2113, allocations: 17.69 kB / 0.7199 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2114, allocations: 63.75 kB / 0.7199 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2116, allocations: 103.5 kB / 0.72 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2116, allocations: 8 kB / 0.72 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.2117, allocations: 35.98 kB / 0.7201 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.2118, allocations: 51.83 kB / 0.7201 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.2119, allocations: 67.42 kB / 0.7202 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.2121, allocations: 179.2 kB / 0.7204 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2121, allocations: 0 / 0.7204 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2121, allocations: 4 kB / 0.7204 GB, free: 15.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.2122, allocations: 0 / 0.7204 GB, free: 15.13 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000647/0.2128, allocations: 421 kB / 0.7208 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2128, allocations: 15.97 kB / 0.7208 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.535e-05/0.2129, allocations: 4.188 kB / 0.7208 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.2129, allocations: 38.73 kB / 0.7208 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.2129, allocations: 20.8 kB / 0.7208 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.2132, allocations: 201.6 kB / 0.721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2132, allocations: 4.375 kB / 0.721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.2132, allocations: 4.125 kB / 0.7211 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.2135, allocations: 89.53 kB / 0.7211 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2135, allocations: 0 / 0.7211 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2135, allocations: 4 kB / 0.7211 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2135, allocations: 0 / 0.7211 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.2137, allocations: 59.94 kB / 0.7212 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.2143, allocations: 363.6 kB / 0.7215 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2145, allocations: 74.59 kB / 0.7216 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2146, allocations: 32.83 kB / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.2146, allocations: 4 kB / 0.7216 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.2147, allocations: 34.56 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2147, allocations: 4 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.000442/0.2151, allocations: 145.5 kB / 0.7218 GB, free: 13.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2152, allocations: 51.41 kB / 0.7219 GB, free: 13.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.2155, allocations: 325.8 kB / 0.7222 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2155, allocations: 25.7 kB / 0.7222 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2156, allocations: 136.1 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2157, allocations: 19.8 kB / 0.7224 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.2157, allocations: 17.72 kB / 0.7224 GB, free: 12.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2159, allocations: 334.8 kB / 0.7227 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.216, allocations: 31.97 kB / 0.7227 GB, free: 12.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.2161, allocations: 31.91 kB / 0.7228 GB, free: 12.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2163, allocations: 64.81 kB / 0.7228 GB, free: 12.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2163, allocations: 4 kB / 0.7228 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002685/0.2165, allocations: 121.4 kB / 0.7229 GB, free: 12.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2166, allocations: 4 kB / 0.7229 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2166, allocations: 0 / 0.7229 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2166, allocations: 0 / 0.7229 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2167, allocations: 15.98 kB / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2167, allocations: 0 / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.2167, allocations: 7.938 kB / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.2168, allocations: 4 kB / 0.723 GB, free: 12.29 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 0.0001237/0.2169, allocations: 137.8 kB / 0.7231 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.2169, allocations: 27.84 kB / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.2172, allocations: 127 kB / 0.7232 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2172, allocations: 4 kB / 0.7232 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2172, allocations: 3.984 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2172, allocations: 3.938 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.2175, allocations: 209.1 kB / 0.7235 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2175, allocations: 3.938 kB / 0.7235 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.2176, allocations: 15.98 kB / 0.7235 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2176, allocations: 4 kB / 0.7235 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2176, allocations: 4 kB / 0.7235 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2176, allocations: 0 / 0.7235 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2176, allocations: 0 / 0.7235 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.2179, allocations: 219.2 kB / 0.7237 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.2179, allocations: 23.8 kB / 0.7237 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.218, allocations: 0 / 0.7237 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.2181, allocations: 11.98 kB / 0.7237 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.2181, allocations: 3.938 kB / 0.7237 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2181, allocations: 0 / 0.7237 GB, free: 11.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002508/0.2184, allocations: 241.2 kB / 0.724 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2184, allocations: 0 / 0.724 GB, free: 11.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002413/0.2186, allocations: 24 kB / 0.724 GB, free: 11.16 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 (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 Backend phase and start with SimCode phase: time 0.001807/0.2204, allocations: 0.991 MB / 0.725 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.2207, allocations: 63.89 kB / 0.725 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2207, allocations: 0 / 0.725 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2208, allocations: 35.97 kB / 0.725 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.2212, allocations: 57.53 kB / 0.7251 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.2239, allocations: 2.024 MB / 0.7271 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.2243, allocations: 0.7357 MB / 0.7278 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.406e-05/0.2244, allocations: 33.12 kB / 0.7278 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2245, allocations: 55.41 kB / 0.7279 GB, free: 7.172 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2245, allocations: 0 / 0.7279 GB, free: 7.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.2478, allocations: 4.253 MB / 0.732 GB, free: 2.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 9.375 kB / 0.732 GB, free: 2.965 MB / 0.545 GB " [Timeout remaining time 789] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.191039049066603] Failed to read output from testmodel.py, exit status != 0: 11.481486249016598 11.511834618 11.291959966 Calling exit ...