Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008772/0.008772, allocations: 1.788 MB / 21.65 MB, free: 2.816 MB / 18.57 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.0009798/0.0009798, allocations: 88.27 kB / 25.48 MB, free: 6.363 MB / 18.57 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.001007/0.001007, allocations: 162.3 kB / 28.89 MB, free: 3.352 MB / 18.57 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 0.9911/0.9911, allocations: 177.2 MB / 209.3 MB, free: 2.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.8018/0.8018, allocations: 102.4 MB / 368.3 MB, free: 0.7695 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Visualisation.Check.TestRealDisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|cosine.amplitude|cosine.f|cosine.offset|cosine.phase|cosine.startTime|cosine.y|greaterThreshold.threshold|greaterThreshold.u|greaterThreshold.y|realDisplay.digits|realDisplay.u|realDisplay.u_high|realDisplay.u_low|realDisplay.y|tinyBooleanDisplay.u|tinyBooleanDisplay.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay") translateModel(ClaRa.Visualisation.Check.TestRealDisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|cosine.amplitude|cosine.f|cosine.offset|cosine.phase|cosine.startTime|cosine.y|greaterThreshold.threshold|greaterThreshold.u|greaterThreshold.y|realDisplay.digits|realDisplay.u|realDisplay.u_high|realDisplay.u_low|realDisplay.y|tinyBooleanDisplay.u|tinyBooleanDisplay.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 415.1 MB, free: 2.207 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.652e-05, allocations: 2.312 kB / 415.1 MB, free: 2.203 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002643/0.00266, allocations: 2.208 MB / 417.3 MB, free: 15.98 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.000656/0.003316, allocations: 474.6 kB / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.003375, allocations: 0 / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.003405, allocations: 3.938 kB / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.003459, allocations: 7.875 kB / 417.7 MB, free: 15.5 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.003686, allocations: 35.83 kB / 417.8 MB, free: 15.46 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003814, allocations: 31.86 kB / 417.8 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003915, allocations: 15.97 kB / 417.8 MB, free: 15.42 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.004064, allocations: 23.98 kB / 417.8 MB, free: 15.39 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.004118, allocations: 11.92 kB / 417.9 MB, free: 15.38 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.004134, allocations: 8 kB / 417.9 MB, free: 15.38 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.004199, allocations: 8 kB / 417.9 MB, free: 15.37 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.004215, allocations: 11.97 kB / 417.9 MB, free: 15.36 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.004235, allocations: 11.94 kB / 417.9 MB, free: 15.34 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.004341, allocations: 27.86 kB / 417.9 MB, free: 15.32 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004343, allocations: 0 / 417.9 MB, free: 15.32 MB / 394.8 MB Notification: Performance of FrontEnd: time 3.8e-07/0.004343, allocations: 0 / 417.9 MB, free: 15.32 MB / 394.8 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004348, allocations: 3.984 kB / 417.9 MB, free: 15.31 MB / 394.8 MB 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.0002533/0.004601, allocations: 252.8 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.00463, allocations: 8.031 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.004729, allocations: 20.86 kB / 418.2 MB, free: 15.02 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.004842, allocations: 125.7 kB / 418.3 MB, free: 14.87 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.004848, allocations: 384 / 418.3 MB, free: 14.87 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.004856, allocations: 8.375 kB / 418.3 MB, free: 14.86 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.392e-05/0.00493, allocations: 50.95 kB / 418.4 MB, free: 14.8 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.004935, allocations: 192 / 418.4 MB, free: 14.8 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004942, allocations: 4.375 kB / 418.4 MB, free: 14.8 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.004948, allocations: 7.938 kB / 418.4 MB, free: 14.79 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.004968, allocations: 11.92 kB / 418.4 MB, free: 14.78 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.005158, allocations: 168.2 kB / 418.6 MB, free: 14.6 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.438e-05/0.005192, allocations: 22.58 kB / 418.6 MB, free: 14.57 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.005204, allocations: 8.844 kB / 418.6 MB, free: 14.55 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.005214, allocations: 0 / 418.6 MB, free: 14.55 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.005235, allocations: 42.5 kB / 418.6 MB, free: 14.5 MB / 394.8 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.005236, allocations: 0 / 418.6 MB, free: 14.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=2): time 9.233e-05/0.005328, allocations: 33.7 kB / 418.7 MB, free: 14.46 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.005357, allocations: 55.39 kB / 418.7 MB, free: 14.4 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.00542, allocations: 126.7 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.005429, allocations: 25.83 kB / 418.9 MB, free: 14.23 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.005461, allocations: 88.09 kB / 419 MB, free: 14.14 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.005472, allocations: 4 kB / 419 MB, free: 14.14 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.005495, allocations: 21.69 kB / 419 MB, free: 14.11 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.005563, allocations: 310.8 kB / 419.3 MB, free: 13.8 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-06/0.00557, allocations: 3.938 kB / 419.3 MB, free: 13.79 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.005578, allocations: 4 kB / 419.3 MB, free: 13.79 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.005597, allocations: 16.78 kB / 419.3 MB, free: 13.77 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005598, allocations: 0 / 419.3 MB, free: 13.77 MB / 394.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.617e-05/0.005634, allocations: 37.64 kB / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.005644, allocations: 8.094 kB / 419.4 MB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.005647, allocations: 0 / 419.4 MB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.005655, allocations: 0 / 419.4 MB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.005693, allocations: 7.984 kB / 419.4 MB, free: 13.71 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005697, allocations: 3.938 kB / 419.4 MB, free: 13.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.005714, allocations: 12 kB / 419.4 MB, free: 13.7 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-06/0.005717, allocations: 0 / 419.4 MB, free: 13.7 MB / 394.8 MB 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 4.973e-05/0.005767, allocations: 105.8 kB / 419.5 MB, free: 13.58 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.005783, allocations: 11.92 kB / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.005799, allocations: 3.625 kB / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.0058, allocations: 4 kB / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005802, allocations: 0 / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.005805, allocations: 4 kB / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.138e-05/0.005887, allocations: 69.88 kB / 419.6 MB, free: 13.47 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005887, allocations: 0 / 419.6 MB, free: 13.47 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.005899, allocations: 4 kB / 419.6 MB, free: 13.47 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.0059, allocations: 0 / 419.6 MB, free: 13.47 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.005905, allocations: 4 kB / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005907, allocations: 3.938 kB / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.005908, allocations: 4 kB / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.005976, allocations: 135.5 kB / 419.7 MB, free: 13.31 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.005985, allocations: 7.891 kB / 419.7 MB, free: 13.3 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.005994, allocations: 4 kB / 419.7 MB, free: 13.3 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.006023, allocations: 7.922 kB / 419.7 MB, free: 13.29 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.006046, allocations: 0 / 419.7 MB, free: 13.29 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.006048, allocations: 0 / 419.7 MB, free: 13.29 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.277e-05/0.006061, allocations: 20.83 kB / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006061, allocations: 0 / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001131/0.006174, allocations: 12 kB / 419.8 MB, free: 13.25 MB / 394.8 MB 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 5.692e-05/0.006231, allocations: 72.42 kB / 419.8 MB, free: 13.18 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 4.601e-05/0.006277, allocations: 12.89 kB / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006279, allocations: 0 / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.006294, allocations: 16.78 kB / 419.9 MB, free: 13.14 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.006394, allocations: 10.28 kB / 419.9 MB, free: 13.13 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.00672, allocations: 144.3 kB / 420 MB, free: 12.96 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.00675, allocations: 55.34 kB / 420.1 MB, free: 12.89 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.006766, allocations: 8.125 kB / 420.1 MB, free: 12.88 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.006798, allocations: 47.38 kB / 420.1 MB, free: 12.84 MB / 394.8 MB Notification: Performance of SimCode: time 4.31e-07/0.006799, allocations: 0 / 420.1 MB, free: 12.84 MB / 394.8 MB Notification: Performance of Templates: time 0.001676/0.008475, allocations: 406.3 kB / 420.5 MB, free: 12.45 MB / 394.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.464712727814913]