Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean.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.01377/0.01377, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001486/0.001486, allocations: 105.2 kB / 24.98 MB, free: 2.16 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.001907/0.001907, allocations: 207.2 kB / 28.71 MB, free: 3.441 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.441/1.441, allocations: 230.6 MB / 262.9 MB, free: 6.016 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.039/1.039, allocations: 130.7 MB / 450.5 MB, free: 6.559 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.Basics.Functions.TestCases.TestLogMean,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestLogMean",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestLogMean,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestLogMean",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.03166/0.03166, allocations: 20.6 MB / 0.6363 GB, free: 5.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.191, allocations: 81.91 MB / 0.7163 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestLogMean): time 0.003537/0.1945, allocations: 2.28 MB / 0.7185 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1963, allocations: 1.001 MB / 0.7195 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.1963, allocations: 0 / 0.7195 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1965, allocations: 71.72 kB / 0.7196 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.197, allocations: 167.4 kB / 0.7197 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.1975, allocations: 195.5 kB / 0.7199 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1978, allocations: 231.5 kB / 0.7202 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.1979, allocations: 9.75 kB / 0.7202 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1981, allocations: 139.6 kB / 0.7203 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1984, allocations: 179.5 kB / 0.7205 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.1984, allocations: 16 kB / 0.7205 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.199, allocations: 339.5 kB / 0.7208 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.1991, allocations: 51.75 kB / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1992, allocations: 91.45 kB / 0.7209 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.1996, allocations: 350.8 kB / 0.7213 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1996, allocations: 0 / 0.7213 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1996, allocations: 0 / 0.7213 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1997, allocations: 0 / 0.7213 GB, free: 14.2 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001432/0.2011, allocations: 0.5976 MB / 0.7219 GB, free: 13.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2011, allocations: 8.031 kB / 0.7219 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.606e-05/0.2011, allocations: 12.17 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.2012, allocations: 38.75 kB / 0.7219 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.2013, allocations: 24.8 kB / 0.7219 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.2016, allocations: 186.1 kB / 0.7221 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2016, allocations: 8.375 kB / 0.7221 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.2017, allocations: 19.94 kB / 0.7221 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.2026, allocations: 315.7 kB / 0.7224 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2026, allocations: 0 / 0.7224 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2026, allocations: 4 kB / 0.7224 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.2026, allocations: 8 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2039, allocations: 391.5 kB / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.205, allocations: 0.6457 MB / 0.7235 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/0.2059, allocations: 275.9 kB / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.2066, allocations: 198.6 kB / 0.7239 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.2068, allocations: 27.92 kB / 0.7239 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008614/0.2076, allocations: 349.2 kB / 0.7243 GB, free: 10.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.417e-06/0.2076, allocations: 7.984 kB / 0.7243 GB, free: 10.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002288/0.2099, allocations: 0.7303 MB / 0.725 GB, free: 10.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.21, allocations: 166.5 kB / 0.7252 GB, free: 9.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.2102, allocations: 223.5 kB / 0.7254 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.2103, allocations: 33.7 kB / 0.7254 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.2104, allocations: 120.7 kB / 0.7255 GB, free: 9.578 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.2105, allocations: 91.22 kB / 0.7256 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2106, allocations: 65.62 kB / 0.7257 GB, free: 9.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2107, allocations: 334.8 kB / 0.726 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.2114, allocations: 163.9 kB / 0.7261 GB, free: 8.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.212, allocations: 204.5 kB / 0.7263 GB, free: 8.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.2133, allocations: 466.8 kB / 0.7268 GB, free: 8.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2133, allocations: 3.938 kB / 0.7268 GB, free: 8.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001553/0.2148, allocations: 0.5669 MB / 0.7273 GB, free: 7.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.2149, allocations: 71.38 kB / 0.7274 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2149, allocations: 4 kB / 0.7274 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2149, allocations: 0 / 0.7274 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.2153, allocations: 63.92 kB / 0.7275 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2153, allocations: 7.938 kB / 0.7275 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.2157, allocations: 47.95 kB / 0.7275 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.2157, allocations: 19.97 kB / 0.7275 GB, free: 7.406 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 (rampT_out2.nextEventScaled,rampT_out2.nextEvent,$PRE.rampT_out2.nextEvent,rampT_out2.last,rampT_out2.b,rampT_out2.a,rampT_in.nextEventScaled,rampT_in.nextEvent,$PRE.rampT_in.nextEvent,rampT_in.last,rampT_in.b,rampT_in.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0002289/0.216, allocations: 222.2 kB / 0.7278 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.216, allocations: 35.75 kB / 0.7278 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.2176, allocations: 0.621 MB / 0.7284 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2176, allocations: 8 kB / 0.7284 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2176, allocations: 4 kB / 0.7284 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2176, allocations: 0 / 0.7284 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.2179, allocations: 312.2 kB / 0.7287 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2179, allocations: 0 / 0.7287 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.2184, allocations: 75.86 kB / 0.7288 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.2184, allocations: 4 kB / 0.7288 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.2184, allocations: 15.98 kB / 0.7288 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2184, allocations: 7.984 kB / 0.7288 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2184, allocations: 4 kB / 0.7288 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.22, allocations: 0.6814 MB / 0.7295 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.2202, allocations: 63.69 kB / 0.7295 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.2202, allocations: 11.98 kB / 0.7295 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.2206, allocations: 39.91 kB / 0.7296 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.2207, allocations: 36.17 kB / 0.7296 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.2207, allocations: 19.92 kB / 0.7296 GB, free: 5.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001456/0.2208, allocations: 168.5 kB / 0.7298 GB, free: 4.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2208, allocations: 0 / 0.7298 GB, free: 4.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000402/0.2212, allocations: 99.88 kB / 0.7299 GB, free: 4.875 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse7,$cse8,$whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 12 (rampT_out2.nextEvent,rampT_out2.last,rampT_out2.nextEventScaled,rampT_out2.b,rampT_out2.a,$whenCondition1,rampT_in.nextEvent,rampT_in.last,rampT_in.nextEventScaled,rampT_in.b,rampT_in.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.002146/0.2234, allocations: 1.293 MB / 0.7312 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.2249, allocations: 0.5327 MB / 0.7317 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2249, allocations: 0 / 0.7317 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.2257, allocations: 339 kB / 0.732 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.226, allocations: 35.91 kB / 0.732 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.2321, allocations: 3.233 MB / 0.7352 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.2325, allocations: 0.7562 MB / 0.7359 GB, free: 14.45 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.2326, allocations: 33.48 kB / 0.736 GB, free: 14.41 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.2328, allocations: 83.38 kB / 0.736 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of SimCode: time 4.8e-07/0.2328, allocations: 4 kB / 0.736 GB, free: 14.33 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.2602, allocations: 6.973 MB / 0.7428 GB, free: 7.469 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.05, allocations: 11.8 kB / 0.7429 GB, free: 7.457 MB / 0.5607 GB " [Timeout remaining time 788] (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean_res.mat --tempDir=temp_ClaRa_ClaRa_Basics_Functions_TestCases_TestLogMean_fmu --startTime=0 --stopTime=20 --stepSize=0.00399361 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Basics_Functions_TestCases_TestLogMean.fmu > ClaRa_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.24439709505532] Failed to read output from testmodel.py, exit status != 0: 12.219068554928526 12.57770753 12.374983144 Calling exit ...