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.01249/0.01249, allocations: 1.781 MB / 18.83 MB, free: 4.262 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.001222/0.001222, allocations: 107.6 kB / 22.07 MB, free: 1.016 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.001616/0.001616, allocations: 213 kB / 25.45 MB, free: 3.289 MB / 14.72 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.424/1.424, allocations: 230.6 MB / 259.2 MB, free: 13.13 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.041/1.041, allocations: 130.6 MB / 446.3 MB, free: 14.64 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia 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. 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.3824/0.3824, allocations: 46.15 MB / 0.6551 GB, free: 30.01 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.557, allocations: 89.05 MB / 0.7421 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.004184/0.5612, allocations: 2.1 MB / 0.7442 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.5622, allocations: 482.8 kB / 0.7446 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.5623, allocations: 0 / 0.7446 GB, free: 152 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.5623, allocations: 3.938 kB / 0.7446 GB, free: 148 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.813e-05/0.5624, allocations: 11.86 kB / 0.7446 GB, free: 136 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.5627, allocations: 19.97 kB / 0.7446 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.5628, allocations: 39.8 kB / 0.7447 GB, free: 76 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5629, allocations: 8 kB / 0.7447 GB, free: 68 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.5631, allocations: 31.91 kB / 0.7447 GB, free: 36 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.5631, allocations: 15.92 kB / 0.7447 GB, free: 20 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.5632, allocations: 0 / 0.7447 GB, free: 20 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.5632, allocations: 16 kB / 0.7448 GB, free: 4 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.5633, allocations: 11.92 kB / 0.7448 GB, free: 15.99 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.5633, allocations: 15.88 kB / 0.7448 GB, free: 15.98 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.5635, allocations: 39.83 kB / 0.7448 GB, free: 15.94 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5635, allocations: 0 / 0.7448 GB, free: 15.94 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5635, allocations: 3.938 kB / 0.7448 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.5635, allocations: 0 / 0.7448 GB, free: 15.93 MB / 0.5607 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.0006201/0.5641, allocations: 359.3 kB / 0.7452 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5642, allocations: 12.03 kB / 0.7452 GB, free: 15.52 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.5642, allocations: 4.188 kB / 0.7452 GB, free: 15.52 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.5642, allocations: 34.69 kB / 0.7452 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.5644, allocations: 16.88 kB / 0.7452 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.5647, allocations: 180.3 kB / 0.7454 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.5647, allocations: 384 / 0.7454 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.5647, allocations: 8.375 kB / 0.7454 GB, free: 15.24 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.5649, allocations: 53.62 kB / 0.7455 GB, free: 15.18 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.5649, allocations: 3.984 kB / 0.7455 GB, free: 15.18 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5649, allocations: 7.875 kB / 0.7455 GB, free: 15.17 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5649, allocations: 0 / 0.7455 GB, free: 15.17 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.565, allocations: 27.97 kB / 0.7455 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.5655, allocations: 284.8 kB / 0.7458 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 9.797e-05/0.5656, allocations: 34.5 kB / 0.7458 GB, free: 14.77 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.5657, allocations: 16.92 kB / 0.7458 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.5657, allocations: 0 / 0.7458 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.5657, allocations: 30.56 kB / 0.7458 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5657, allocations: 0 / 0.7458 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2): time 0.0002588/0.566, allocations: 65.67 kB / 0.7459 GB, free: 14.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.566, allocations: 51.41 kB / 0.746 GB, free: 14.58 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5661, allocations: 121.7 kB / 0.7461 GB, free: 14.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5662, allocations: 25.7 kB / 0.7461 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.5662, allocations: 96.02 kB / 0.7462 GB, free: 14.32 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.5662, allocations: 11.95 kB / 0.7462 GB, free: 14.31 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.5663, allocations: 9.719 kB / 0.7462 GB, free: 14.29 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5664, allocations: 323 kB / 0.7465 GB, free: 13.97 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.5665, allocations: 8 kB / 0.7465 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.5665, allocations: 11.98 kB / 0.7465 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.5666, allocations: 24.84 kB / 0.7466 GB, free: 13.92 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5666, allocations: 0 / 0.7466 GB, free: 13.92 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001161/0.5667, allocations: 49.69 kB / 0.7466 GB, free: 13.87 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5667, allocations: 7.938 kB / 0.7466 GB, free: 13.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.5667, allocations: 4.094 kB / 0.7466 GB, free: 13.86 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5667, allocations: 4 kB / 0.7466 GB, free: 13.85 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.5668, allocations: 0 / 0.7466 GB, free: 13.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5668, allocations: 0 / 0.7466 GB, free: 13.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.5668, allocations: 11.92 kB / 0.7466 GB, free: 13.84 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.5668, allocations: 3.938 kB / 0.7466 GB, free: 13.84 MB / 0.5607 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.242e-05/0.5669, allocations: 113.8 kB / 0.7468 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.567, allocations: 7.953 kB / 0.7468 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.567, allocations: 3.531 kB / 0.7468 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.567, allocations: 8.359 kB / 0.7468 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5671, allocations: 0 / 0.7468 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5671, allocations: 3.938 kB / 0.7468 GB, free: 13.69 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.5672, allocations: 165.7 kB / 0.7469 GB, free: 13.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5672, allocations: 7.938 kB / 0.7469 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.5673, allocations: 0 / 0.7469 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5673, allocations: 0 / 0.7469 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.5673, allocations: 4 kB / 0.7469 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5673, allocations: 0 / 0.7469 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5673, allocations: 0 / 0.7469 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.5675, allocations: 159.4 kB / 0.7471 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.5675, allocations: 81.06 kB / 0.7472 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5675, allocations: 0 / 0.7472 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.5676, allocations: 4 kB / 0.7472 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.5676, allocations: 11.92 kB / 0.7472 GB, free: 13.18 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.5676, allocations: 0 / 0.7472 GB, free: 13.18 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.5677, allocations: 95.3 kB / 0.7473 GB, free: 13.09 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/0.5677, allocations: 0 / 0.7473 GB, free: 13.09 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002065/0.5679, allocations: 4 kB / 0.7473 GB, free: 13.09 MB / 0.5607 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.0004651/0.5684, allocations: 0.6773 MB / 0.7479 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.5685, allocations: 24.02 kB / 0.748 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5685, allocations: 0 / 0.748 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.5686, allocations: 15.98 kB / 0.748 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.5688, allocations: 3.938 kB / 0.748 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5701, allocations: 1.25 MB / 0.7492 GB, free: 11.01 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5704, allocations: 0.6924 MB / 0.7499 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.5704, allocations: 7.891 kB / 0.7499 GB, free: 10.28 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.5705, allocations: 11.44 kB / 0.7499 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of SimCode: time 5.41e-07/0.5705, allocations: 0 / 0.7499 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.5875, allocations: 1.42 MB / 0.7513 GB, free: 8.93 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.745, allocations: 14.45 kB / 0.7513 GB, free: 8.918 MB / 0.5607 GB " [Timeout remaining time 791] (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: 12.419331813056488] Failed to read output from testmodel.py, exit status != 0: 8.864716034033336 8.889670152 8.319789555 Calling exit ...