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.01332/0.01332, allocations: 1.348 MB / 20.45 MB, free: 1.25 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.001755/0.001755, allocations: 82.84 kB / 24.02 MB, free: 2.59 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.002224/0.002224, allocations: 152.5 kB / 27.71 MB, free: 3.844 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.456/1.456, allocations: 177.2 MB / 208.5 MB, free: 7.641 MB / 190.1 MB " [Timeout remaining time 178] 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 1.089/1.089, allocations: 102.5 MB / 367.7 MB, free: 4.543 MB / 334.1 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 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_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.673e-06/1.673e-06, allocations: 0 / 0.5364 GB, free: 7.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.522e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.00247/0.002495, allocations: 2.078 MB / 0.5384 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.003236, allocations: 452 kB / 0.5389 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.003307, allocations: 7.875 kB / 0.5389 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.00334, allocations: 9.297 kB / 0.5389 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.003399, allocations: 3.938 kB / 0.5389 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.003642, allocations: 30.38 kB / 0.5389 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.003751, allocations: 33.11 kB / 0.539 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003855, allocations: 13.58 kB / 0.539 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.003993, allocations: 34.78 kB / 0.539 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.00405, allocations: 8.141 kB / 0.539 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.004067, allocations: 2.469 kB / 0.539 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.065e-05/0.004108, allocations: 13.38 kB / 0.539 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.004122, allocations: 9.578 kB / 0.539 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.004144, allocations: 8.062 kB / 0.539 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.004254, allocations: 43.25 kB / 0.5391 GB, free: 4.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004257, allocations: 4 kB / 0.5391 GB, free: 4.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004258, allocations: 0 / 0.5391 GB, free: 4.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004262, allocations: 0 / 0.5391 GB, free: 4.984 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.0003536/0.004616, allocations: 281.4 kB / 0.5394 GB, free: 4.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.004653, allocations: 9.5 kB / 0.5394 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.004796, allocations: 17.5 kB / 0.5394 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004947, allocations: 119.2 kB / 0.5395 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00496, allocations: 1.125 kB / 0.5395 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.004973, allocations: 3.375 kB / 0.5395 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.005109, allocations: 66.77 kB / 0.5396 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.00512, allocations: 192 / 0.5396 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.005129, allocations: 384 / 0.5396 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005135, allocations: 9.781 kB / 0.5396 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.005223, allocations: 21.95 kB / 0.5396 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.005516, allocations: 217.2 kB / 0.5398 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.0056, allocations: 40.06 kB / 0.5398 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.005645, allocations: 18.03 kB / 0.5399 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.005661, allocations: 0 / 0.5399 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.005677, allocations: 37.03 kB / 0.5399 GB, free: 4.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005678, allocations: 4 kB / 0.5399 GB, free: 4.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002229/0.005901, allocations: 53.22 kB / 0.5399 GB, free: 4.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.00592, allocations: 56.47 kB / 0.54 GB, free: 4.051 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.00599, allocations: 122.1 kB / 0.5401 GB, free: 3.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.005998, allocations: 25.7 kB / 0.5401 GB, free: 3.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.00603, allocations: 91.16 kB / 0.5402 GB, free: 3.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.006044, allocations: 5.328 kB / 0.5402 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.006073, allocations: 20.52 kB / 0.5402 GB, free: 3.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.00612, allocations: 312.4 kB / 0.5405 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.00616, allocations: 14.09 kB / 0.5406 GB, free: 3.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.006192, allocations: 8.609 kB / 0.5406 GB, free: 3.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/0.00626, allocations: 23.84 kB / 0.5406 GB, free: 3.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.006263, allocations: 5.688 kB / 0.5406 GB, free: 3.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.961e-05/0.006362, allocations: 52.16 kB / 0.5406 GB, free: 3.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.006375, allocations: 5.125 kB / 0.5407 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006379, allocations: 3.984 kB / 0.5407 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.006393, allocations: 1.188 kB / 0.5407 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.006457, allocations: 11.55 kB / 0.5407 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.006461, allocations: 0 / 0.5407 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.006499, allocations: 6.75 kB / 0.5407 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006504, allocations: 1.281 kB / 0.5407 GB, free: 3.383 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 5.045e-05/0.006554, allocations: 115.9 kB / 0.5408 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.00658, allocations: 10.44 kB / 0.5408 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.006596, allocations: 4.906 kB / 0.5408 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006598, allocations: 1.188 kB / 0.5408 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.006602, allocations: 0 / 0.5408 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.006604, allocations: 4 kB / 0.5408 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.354e-05/0.006698, allocations: 109.9 kB / 0.5409 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0067, allocations: 7.938 kB / 0.5409 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.006735, allocations: 3.5 kB / 0.5409 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006736, allocations: 0 / 0.5409 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.006745, allocations: 7.984 kB / 0.5409 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006746, allocations: 1.125 kB / 0.5409 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006747, allocations: 0 / 0.5409 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.006871, allocations: 153.4 kB / 0.5411 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.00688, allocations: 5.031 kB / 0.5411 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.006892, allocations: 5.406 kB / 0.5411 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.006959, allocations: 7.359 kB / 0.5411 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.007001, allocations: 1.969 kB / 0.5411 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.007004, allocations: 0 / 0.5411 GB, free: 2.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.069e-05/0.007035, allocations: 94.98 kB / 0.5412 GB, free: 2.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007035, allocations: 0 / 0.5412 GB, free: 2.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.007248, allocations: 5.406 kB / 0.5412 GB, free: 2.855 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 7.136e-05/0.00732, allocations: 90.91 kB / 0.5413 GB, free: 2.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.007441, allocations: 30.45 kB / 0.5413 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007443, allocations: 0 / 0.5413 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.007485, allocations: 15.52 kB / 0.5413 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.00771, allocations: 6.031 kB / 0.5413 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.007971, allocations: 126.1 kB / 0.5414 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.00801, allocations: 68.64 kB / 0.5415 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.31e-05/0.008033, allocations: 5.922 kB / 0.5415 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.008058, allocations: 12.5 kB / 0.5415 GB, free: 2.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.008058, allocations: 1.375 kB / 0.5415 GB, free: 2.52 MB / 446.1 MB Notification: Performance of Templates: time 0.00264/0.0107, allocations: 373.9 kB / 0.5419 GB, free: 2.336 MB / 446.1 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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_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_dev_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_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: 5.837221775203943]