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.01521/0.01521, allocations: 1.349 MB / 20.45 MB, free: 1.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.001848/0.001848, allocations: 78.41 kB / 24.02 MB, free: 2.609 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.002601/0.002601, allocations: 153.7 kB / 27.7 MB, free: 3.863 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.472/1.472, allocations: 177.2 MB / 208.4 MB, free: 7.691 MB / 190.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.044/1.044, allocations: 102.5 MB / 367.8 MB, free: 4.59 MB / 334.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: 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_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_ClaRa.Visualisation.Check.TestRealDisplay") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5364 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.149e-05, allocations: 7.75 kB / 0.5364 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003232/0.003264, allocations: 2.087 MB / 0.5385 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.004033, allocations: 448.1 kB / 0.5389 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.004095, allocations: 0 / 0.5389 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.004124, allocations: 5.312 kB / 0.5389 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.004184, allocations: 3.938 kB / 0.5389 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.004444, allocations: 33.62 kB / 0.5389 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.004563, allocations: 37.92 kB / 0.539 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.004688, allocations: 12.36 kB / 0.539 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.004843, allocations: 27.84 kB / 0.539 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.004896, allocations: 16.09 kB / 0.539 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.004914, allocations: 7.812 kB / 0.539 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.78e-05/0.004962, allocations: 3.812 kB / 0.539 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.004976, allocations: 9.531 kB / 0.539 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.005002, allocations: 12.2 kB / 0.5391 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.005137, allocations: 39.17 kB / 0.5391 GB, free: 5.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.00514, allocations: 0 / 0.5391 GB, free: 5.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005141, allocations: 4 kB / 0.5391 GB, free: 5.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005146, allocations: 1.281 kB / 0.5391 GB, free: 5.059 MB / 446.1 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.0004377/0.005584, allocations: 280.3 kB / 0.5394 GB, free: 4.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.005636, allocations: 10.12 kB / 0.5394 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.005807, allocations: 16.84 kB / 0.5394 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.006075, allocations: 119 kB / 0.5395 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.006093, allocations: 5.75 kB / 0.5395 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.006108, allocations: 3.062 kB / 0.5395 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.006273, allocations: 54.28 kB / 0.5396 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.006286, allocations: 4.188 kB / 0.5396 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.006299, allocations: 5.547 kB / 0.5396 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006306, allocations: 5.438 kB / 0.5396 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.006415, allocations: 21.61 kB / 0.5396 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.006774, allocations: 221.8 kB / 0.5398 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.00687, allocations: 38.56 kB / 0.5398 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.006915, allocations: 10.3 kB / 0.5399 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.006934, allocations: 5.469 kB / 0.5399 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.006958, allocations: 32.09 kB / 0.5399 GB, free: 4.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.00696, allocations: 0 / 0.5399 GB, free: 4.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002554/0.007215, allocations: 61.23 kB / 0.54 GB, free: 4.195 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.007247, allocations: 60.47 kB / 0.54 GB, free: 4.125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.007328, allocations: 110.5 kB / 0.5401 GB, free: 4.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007339, allocations: 29.7 kB / 0.5401 GB, free: 3.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.007381, allocations: 95.55 kB / 0.5402 GB, free: 3.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.007395, allocations: 7.891 kB / 0.5402 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.007426, allocations: 17.31 kB / 0.5403 GB, free: 3.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.007497, allocations: 321.1 kB / 0.5406 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.007541, allocations: 4.531 kB / 0.5406 GB, free: 3.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.007576, allocations: 13.92 kB / 0.5406 GB, free: 3.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.007652, allocations: 19.61 kB / 0.5406 GB, free: 3.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.007654, allocations: 3.938 kB / 0.5406 GB, free: 3.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.007761, allocations: 54.36 kB / 0.5407 GB, free: 3.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.007778, allocations: 8.656 kB / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.007783, allocations: 0 / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.007802, allocations: 0.9688 kB / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.007874, allocations: 3.25 kB / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.00788, allocations: 0 / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.007925, allocations: 15.8 kB / 0.5407 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.007931, allocations: 0 / 0.5407 GB, free: 3.461 MB / 446.1 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 6.674e-05/0.007997, allocations: 113 kB / 0.5408 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.008024, allocations: 6.672 kB / 0.5408 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.008048, allocations: 8.75 kB / 0.5408 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.008049, allocations: 4 kB / 0.5408 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.008055, allocations: 1.375 kB / 0.5408 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008059, allocations: 0 / 0.5408 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.008169, allocations: 113 kB / 0.5409 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.00817, allocations: 3.938 kB / 0.5409 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.008204, allocations: 2.875 kB / 0.5409 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008207, allocations: 1.719 kB / 0.5409 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.008218, allocations: 4 kB / 0.5409 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008219, allocations: 0 / 0.5409 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.008221, allocations: 3.984 kB / 0.5409 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008389, allocations: 157.5 kB / 0.5411 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.008401, allocations: 10.41 kB / 0.5411 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.008416, allocations: 3.984 kB / 0.5411 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.008481, allocations: 3.562 kB / 0.5411 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.008526, allocations: 9.141 kB / 0.5411 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.008529, allocations: 1.219 kB / 0.5411 GB, free: 3.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.008563, allocations: 90.64 kB / 0.5412 GB, free: 2.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008563, allocations: 0 / 0.5412 GB, free: 2.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.008778, allocations: 9.094 kB / 0.5412 GB, free: 2.926 MB / 446.1 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 0.0001435/0.008922, allocations: 96.22 kB / 0.5413 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.009075, allocations: 24.67 kB / 0.5413 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009076, allocations: 0 / 0.5413 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.009119, allocations: 11.22 kB / 0.5413 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.009341, allocations: 9.703 kB / 0.5413 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.009667, allocations: 122.7 kB / 0.5415 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.009715, allocations: 68.62 kB / 0.5415 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.009742, allocations: 1.781 kB / 0.5415 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.009773, allocations: 13.77 kB / 0.5415 GB, free: 2.598 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.009774, allocations: 0 / 0.5415 GB, free: 2.598 MB / 446.1 MB Notification: Performance of Templates: time 0.00309/0.01286, allocations: 371.1 kB / 0.5419 GB, free: 2.418 MB / 446.1 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.makefile [Timeout 800] (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 & ./ClaRa_ClaRa.Visualisation.Check.TestRealDisplay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.935664940625429]