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.009818/0.009818, 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.001143/0.001143, allocations: 108.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.00137/0.00137, 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.361/1.361, allocations: 230.6 MB / 262.9 MB, free: 6.23 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.019/1.019, allocations: 130.7 MB / 450.4 MB, free: 6.613 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.02996/0.02996, allocations: 20.6 MB / 0.6363 GB, free: 5.371 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1828, allocations: 81.9 MB / 0.7163 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003456/0.1862, allocations: 2.105 MB / 0.7183 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.1871, allocations: 482.8 kB / 0.7188 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.1872, allocations: 0 / 0.7188 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.1872, allocations: 3.938 kB / 0.7188 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.1873, allocations: 3.938 kB / 0.7188 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1874, allocations: 23.92 kB / 0.7188 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1875, allocations: 39.84 kB / 0.7189 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.1876, allocations: 19.92 kB / 0.7189 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1877, allocations: 19.98 kB / 0.7189 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.1878, allocations: 19.86 kB / 0.7189 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1878, allocations: 0 / 0.7189 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.1879, allocations: 12 kB / 0.7189 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.1879, allocations: 4 kB / 0.7189 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.1879, allocations: 19.86 kB / 0.719 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.188, allocations: 47.77 kB / 0.719 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.188, allocations: 0 / 0.719 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.188, allocations: 0 / 0.719 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.188, allocations: 0 / 0.719 GB, free: 0.5586 MB / 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.0004152/0.1885, allocations: 286.2 kB / 0.7193 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1885, allocations: 8.031 kB / 0.7193 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.213e-05/0.1885, allocations: 4.125 kB / 0.7193 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.1885, allocations: 30.75 kB / 0.7193 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1887, allocations: 20.88 kB / 0.7193 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1889, allocations: 130.3 kB / 0.7195 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.1889, allocations: 384 / 0.7195 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1889, allocations: 8.375 kB / 0.7195 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1891, allocations: 53.7 kB / 0.7195 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1891, allocations: 0 / 0.7195 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1891, allocations: 3.984 kB / 0.7195 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1891, allocations: 3.938 kB / 0.7195 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.1892, allocations: 27.92 kB / 0.7196 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1896, allocations: 251.9 kB / 0.7198 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.1897, allocations: 34.56 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.1897, allocations: 12.86 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1898, allocations: 0 / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1898, allocations: 34.56 kB / 0.7199 GB, free: 15.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1898, allocations: 0 / 0.7199 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002388/0.19, allocations: 65.67 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1901, allocations: 51.41 kB / 0.72 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1902, allocations: 113.8 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1902, allocations: 29.7 kB / 0.7201 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1903, allocations: 100 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.1903, allocations: 3.953 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1903, allocations: 13.72 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1904, allocations: 319 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.1905, allocations: 8 kB / 0.7206 GB, free: 14.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.1905, allocations: 15.98 kB / 0.7206 GB, free: 14.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.848e-05/0.1906, allocations: 16.84 kB / 0.7206 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1906, allocations: 0 / 0.7206 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/0.1907, allocations: 49.69 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1907, allocations: 8 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1907, allocations: 4.094 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1907, allocations: 0 / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.1908, allocations: 7.938 kB / 0.7206 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1908, allocations: 4.359 kB / 0.7207 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.1909, allocations: 7.938 kB / 0.7207 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1909, allocations: 4 kB / 0.7207 GB, free: 14.66 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 7.855e-05/0.1909, allocations: 105.8 kB / 0.7208 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.191, allocations: 11.89 kB / 0.7208 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.191, allocations: 15.61 kB / 0.7208 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.191, allocations: 0 / 0.7208 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.191, allocations: 0 / 0.7208 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.191, allocations: 11.94 kB / 0.7208 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1912, allocations: 136.7 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1912, allocations: 3.938 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.1912, allocations: 8 kB / 0.7209 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1912, allocations: 0 / 0.7209 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.1912, allocations: 0 / 0.7209 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1912, allocations: 0 / 0.7209 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1912, allocations: 3.984 kB / 0.7209 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1914, allocations: 159.4 kB / 0.7211 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.1914, allocations: 7.938 kB / 0.7211 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1914, allocations: 0 / 0.7211 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.1915, allocations: 4 kB / 0.7211 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1915, allocations: 7.922 kB / 0.7211 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1915, allocations: 0 / 0.7211 GB, free: 14.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.1916, allocations: 95.3 kB / 0.7212 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1916, allocations: 0 / 0.7212 GB, free: 14.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002079/0.1918, allocations: 8 kB / 0.7212 GB, free: 14.03 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.0004496/0.1922, allocations: 0.6695 MB / 0.7219 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1924, allocations: 27.95 kB / 0.7219 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1924, allocations: 0 / 0.7219 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.1924, allocations: 15.98 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1926, allocations: 8.766 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1939, allocations: 1.261 MB / 0.7232 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1942, allocations: 0.6924 MB / 0.7238 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.1942, allocations: 3.938 kB / 0.7238 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.1943, allocations: 19.38 kB / 0.7239 GB, free: 11.21 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1943, allocations: 3.938 kB / 0.7239 GB, free: 11.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.2149, allocations: 1.517 MB / 0.7253 GB, free: 9.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.96, allocations: 2.344 kB / 0.7253 GB, free: 9.797 MB / 0.545 GB " [Timeout remaining time 789] (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: 14.644765978096984] Failed to read output from testmodel.py, exit status != 0: 11.11377697403077 11.143716964 10.949015562 Calling exit ...