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.01567/0.01567, allocations: 1.747 MB / 21.38 MB, free: 480 kB / 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.001684/0.001684, allocations: 101 kB / 24.96 MB, free: 2.059 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.002192/0.002192, allocations: 210.6 kB / 28.68 MB, free: 3.348 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.488/1.488, allocations: 230.6 MB / 262.9 MB, free: 5.84 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.062/1.062, allocations: 130.7 MB / 450.4 MB, free: 6.441 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.06408/0.06408, allocations: 20.61 MB / 0.6362 GB, free: 5.109 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.2187, allocations: 81.9 MB / 0.7162 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestLogMean): time 0.003553/0.2223, allocations: 2.216 MB / 0.7184 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.2241, allocations: 0.9074 MB / 0.7193 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.2242, allocations: 4 kB / 0.7193 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2243, allocations: 71.72 kB / 0.7193 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.2248, allocations: 171.3 kB / 0.7195 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.2254, allocations: 203 kB / 0.7197 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.2257, allocations: 235.4 kB / 0.7199 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.2257, allocations: 5.75 kB / 0.7199 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.226, allocations: 139.6 kB / 0.72 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.2263, allocations: 183.5 kB / 0.7202 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.2263, allocations: 12 kB / 0.7202 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.2268, allocations: 311.6 kB / 0.7205 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.2269, allocations: 51.7 kB / 0.7206 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.227, allocations: 79.56 kB / 0.7207 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.2275, allocations: 346.8 kB / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2275, allocations: 0 / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2275, allocations: 0 / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2275, allocations: 0 / 0.721 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.001453/0.2289, allocations: 0.5899 MB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.229, allocations: 12.03 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.338e-05/0.229, allocations: 4.125 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2291, allocations: 50.73 kB / 0.7216 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.2291, allocations: 24.8 kB / 0.7217 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2295, allocations: 182.1 kB / 0.7218 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2295, allocations: 16.3 kB / 0.7218 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.2295, allocations: 15.94 kB / 0.7219 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.2304, allocations: 379.1 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2304, allocations: 0 / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2305, allocations: 0 / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2305, allocations: 4 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.2318, allocations: 458.9 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2329, allocations: 0.6223 MB / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.2338, allocations: 331.4 kB / 0.7236 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.2345, allocations: 270 kB / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.2347, allocations: 19.98 kB / 0.7239 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.2356, allocations: 424.6 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.2356, allocations: 0 / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002323/0.2379, allocations: 0.8488 MB / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.238, allocations: 170.2 kB / 0.7253 GB, free: 9.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2382, allocations: 223.5 kB / 0.7255 GB, free: 9.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.2383, allocations: 33.7 kB / 0.7255 GB, free: 9.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.2384, allocations: 120.7 kB / 0.7256 GB, free: 9.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.632e-05/0.2385, allocations: 95.2 kB / 0.7257 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2386, allocations: 65.62 kB / 0.7258 GB, free: 8.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2388, allocations: 338.9 kB / 0.7261 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.2394, allocations: 227.3 kB / 0.7263 GB, free: 8.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.2401, allocations: 267.9 kB / 0.7266 GB, free: 8.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.2413, allocations: 474.8 kB / 0.727 GB, free: 7.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2413, allocations: 7.938 kB / 0.727 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00158/0.2429, allocations: 0.6445 MB / 0.7277 GB, free: 6.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.243, allocations: 67.39 kB / 0.7277 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.243, allocations: 0 / 0.7277 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.243, allocations: 4 kB / 0.7277 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.2434, allocations: 67.91 kB / 0.7278 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2434, allocations: 8 kB / 0.7278 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.2438, allocations: 43.86 kB / 0.7278 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.2438, allocations: 19.98 kB / 0.7279 GB, free: 6.66 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.0002617/0.2441, allocations: 222 kB / 0.7281 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.2442, allocations: 35.8 kB / 0.7281 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.2457, allocations: 0.6868 MB / 0.7288 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2457, allocations: 0 / 0.7288 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2457, allocations: 4 kB / 0.7288 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2457, allocations: 3.938 kB / 0.7288 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.2461, allocations: 280.4 kB / 0.729 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2461, allocations: 4 kB / 0.7291 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.2465, allocations: 79.84 kB / 0.7291 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2465, allocations: 4 kB / 0.7291 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.2466, allocations: 15.98 kB / 0.7291 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2466, allocations: 0 / 0.7291 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2466, allocations: 4 kB / 0.7292 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.2482, allocations: 0.7472 MB / 0.7299 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2484, allocations: 67.67 kB / 0.7299 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.2484, allocations: 23.94 kB / 0.73 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.2488, allocations: 27.97 kB / 0.73 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2489, allocations: 40.11 kB / 0.73 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.2489, allocations: 23.92 kB / 0.7301 GB, free: 4.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001518/0.2491, allocations: 156.6 kB / 0.7302 GB, free: 4.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2491, allocations: 0 / 0.7302 GB, free: 4.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004121/0.2495, allocations: 103.9 kB / 0.7303 GB, free: 4.004 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.002184/0.2517, allocations: 1.36 MB / 0.7316 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.2532, allocations: 0.6604 MB / 0.7323 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2532, allocations: 4 kB / 0.7323 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007918/0.254, allocations: 410.7 kB / 0.7327 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2543, allocations: 37.95 kB / 0.7327 GB, free: 1.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.2607, allocations: 3.57 MB / 0.7362 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.2609, allocations: 145.6 kB / 0.7363 GB, free: 13.48 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.2611, allocations: 41.45 kB / 0.7364 GB, free: 13.44 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.2613, allocations: 83.38 kB / 0.7365 GB, free: 13.36 MB / 0.5607 GB Notification: Performance of SimCode: time 1.192e-06/0.2613, allocations: 0 / 0.7365 GB, free: 13.36 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.2888, allocations: 7.13 MB / 0.7434 GB, free: 6.348 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.09, allocations: 8.047 kB / 0.7434 GB, free: 6.344 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.417016786988825] Failed to read output from testmodel.py, exit status != 0: 12.258066484006122 12.608856145 12.378290165 Calling exit ...