Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.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.01243/0.01243, allocations: 1.744 MB / 21.38 MB, free: 464 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.001273/0.001273, allocations: 106.9 kB / 24.97 MB, free: 2.035 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.001602/0.001602, allocations: 210.3 kB / 28.68 MB, free: 3.324 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.463/1.463, allocations: 230.6 MB / 262.9 MB, free: 5.828 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.085/1.085, allocations: 130.7 MB / 450.4 MB, free: 6.422 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.Visualisation.Check.TestRealDisplay,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestRealDisplay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestRealDisplay,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestRealDisplay",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.06365/0.06365, allocations: 20.6 MB / 0.6362 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.2347, allocations: 81.9 MB / 0.7162 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003683/0.2384, allocations: 2.089 MB / 0.7182 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.2393, allocations: 438.9 kB / 0.7186 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.2393, allocations: 0 / 0.7186 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.2394, allocations: 3.938 kB / 0.7186 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.2394, allocations: 11.92 kB / 0.7187 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2397, allocations: 23.91 kB / 0.7187 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2398, allocations: 35.92 kB / 0.7187 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.2399, allocations: 15.98 kB / 0.7187 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.24, allocations: 27.84 kB / 0.7188 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.24, allocations: 15.88 kB / 0.7188 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2401, allocations: 4 kB / 0.7188 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.2401, allocations: 7.984 kB / 0.7188 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2401, allocations: 4 kB / 0.7188 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.2401, allocations: 15.88 kB / 0.7188 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.2403, allocations: 43.83 kB / 0.7188 GB, free: 392 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2403, allocations: 3.984 kB / 0.7188 GB, free: 388 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2403, allocations: 0 / 0.7188 GB, free: 388 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2403, allocations: 4 kB / 0.7189 GB, free: 384 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004676/0.2408, allocations: 282.2 kB / 0.7191 GB, free: 72 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2408, allocations: 12.03 kB / 0.7191 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.354e-05/0.2408, allocations: 192 / 0.7191 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.2409, allocations: 34.69 kB / 0.7192 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.241, allocations: 16.88 kB / 0.7192 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.2413, allocations: 134.3 kB / 0.7193 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.2413, allocations: 384 / 0.7193 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2413, allocations: 4.375 kB / 0.7193 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.2414, allocations: 57.62 kB / 0.7194 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2414, allocations: 0 / 0.7194 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2415, allocations: 0 / 0.7194 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2415, allocations: 0 / 0.7194 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.2416, allocations: 23.98 kB / 0.7194 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.242, allocations: 259.8 kB / 0.7196 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.2421, allocations: 22.58 kB / 0.7197 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.2421, allocations: 16.91 kB / 0.7197 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2421, allocations: 4 kB / 0.7197 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2422, allocations: 34.56 kB / 0.7197 GB, free: 15.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2422, allocations: 0 / 0.7197 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.2424, allocations: 61.61 kB / 0.7198 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2424, allocations: 55.41 kB / 0.7198 GB, free: 15.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2425, allocations: 113.8 kB / 0.7199 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2426, allocations: 25.7 kB / 0.72 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.2426, allocations: 96.08 kB / 0.7201 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.2426, allocations: 7.953 kB / 0.7201 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2427, allocations: 17.84 kB / 0.7201 GB, free: 14.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2428, allocations: 314.8 kB / 0.7204 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.2429, allocations: 11.98 kB / 0.7204 GB, free: 14.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.2429, allocations: 4 kB / 0.7204 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.243, allocations: 28.78 kB / 0.7204 GB, free: 14.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.243, allocations: 0 / 0.7204 GB, free: 14.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.2431, allocations: 53.67 kB / 0.7205 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2431, allocations: 8.094 kB / 0.7205 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2431, allocations: 0 / 0.7205 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2431, allocations: 3.984 kB / 0.7205 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.2432, allocations: 4 kB / 0.7205 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2432, allocations: 384 / 0.7205 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.2432, allocations: 15.92 kB / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2432, allocations: 3.938 kB / 0.7205 GB, free: 14.49 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: 1 (tinyBooleanDisplay.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.09e-05/0.2433, allocations: 113.8 kB / 0.7206 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.2434, allocations: 7.891 kB / 0.7206 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.2434, allocations: 7.625 kB / 0.7206 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2434, allocations: 7.938 kB / 0.7206 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2434, allocations: 0 / 0.7206 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2434, allocations: 3.938 kB / 0.7206 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2435, allocations: 136.7 kB / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2435, allocations: 0 / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.2436, allocations: 4 kB / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2436, allocations: 0 / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2436, allocations: 0 / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2436, allocations: 4 kB / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2436, allocations: 0 / 0.7208 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.2438, allocations: 159.4 kB / 0.7209 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.2438, allocations: 7.938 kB / 0.7209 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2438, allocations: 0 / 0.7209 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.2439, allocations: 3.984 kB / 0.7209 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.2439, allocations: 7.938 kB / 0.7209 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2439, allocations: 0 / 0.7209 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.244, allocations: 95.2 kB / 0.721 GB, free: 13.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.244, allocations: 0 / 0.721 GB, free: 13.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002196/0.2442, allocations: 4 kB / 0.721 GB, free: 13.87 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: 1 (tinyBooleanDisplay.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004608/0.2446, allocations: 0.6813 MB / 0.7217 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.2448, allocations: 19.98 kB / 0.7217 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2448, allocations: 0 / 0.7217 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.2448, allocations: 11.94 kB / 0.7217 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.245, allocations: 11.94 kB / 0.7217 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2463, allocations: 1.266 MB / 0.723 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.346e-05/0.2464, allocations: 67.33 kB / 0.7231 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.2464, allocations: 0 / 0.7231 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2465, allocations: 15.44 kB / 0.7231 GB, free: 11.67 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2465, allocations: 3.938 kB / 0.7231 GB, free: 11.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.2704, allocations: 1.535 MB / 0.7246 GB, free: 10.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.47, allocations: 18.16 kB / 0.7246 GB, free: 10.23 MB / 0.545 GB " [Timeout remaining time 788] (rm -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; mkfifo ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; head -c 1048576 < ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe >> ../files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat --tempDir=temp_ClaRa_ClaRa_Visualisation_Check_TestRealDisplay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Visualisation_Check_TestRealDisplay.fmu > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.444839094998315] Failed to read output from testmodel.py, exit status != 0: 11.636471215053461 11.669181961 11.420998507 Calling exit ...