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.01992/0.01992, allocations: 1.792 MB / 21.15 MB, free: 3.246 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.001852/0.001852, allocations: 75.67 kB / 24.88 MB, free: 6.828 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.002129/0.002129, allocations: 164.4 kB / 28.74 MB, free: 3.656 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 1.474/1.474, allocations: 177.2 MB / 209.6 MB, free: 2.402 MB / 186.7 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.116/1.116, allocations: 102.4 MB / 369.1 MB, free: 0.8984 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.673e-06/1.673e-06, allocations: 0 / 469.1 MB, free: 13.04 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.324e-05, allocations: 7.797 kB / 469.1 MB, free: 13.03 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003454/0.003487, allocations: 2.087 MB / 471.2 MB, free: 10.93 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.004422, allocations: 462.8 kB / 471.6 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.004484, allocations: 0 / 471.6 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.004512, allocations: 3.938 kB / 471.6 MB, free: 10.47 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.004567, allocations: 0 / 471.6 MB, free: 10.47 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.004802, allocations: 35.83 kB / 471.7 MB, free: 10.44 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.004934, allocations: 31.86 kB / 471.7 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.005022, allocations: 8 kB / 471.7 MB, free: 10.4 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.005166, allocations: 39.89 kB / 471.8 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.005217, allocations: 11.92 kB / 471.8 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.005234, allocations: 7.938 kB / 471.8 MB, free: 10.34 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.005277, allocations: 8 kB / 471.8 MB, free: 10.33 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.005292, allocations: 4 kB / 471.8 MB, free: 10.33 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.005321, allocations: 11.94 kB / 471.8 MB, free: 10.32 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.005453, allocations: 39.88 kB / 471.8 MB, free: 10.28 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005455, allocations: 0 / 471.8 MB, free: 10.28 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005456, allocations: 0 / 471.8 MB, free: 10.28 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00546, allocations: 0 / 471.8 MB, free: 10.28 MB / 442.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.0005299/0.00599, allocations: 388.1 kB / 472.2 MB, free: 9.863 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.006028, allocations: 12.03 kB / 472.2 MB, free: 9.852 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.00618, allocations: 16.89 kB / 472.2 MB, free: 9.836 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.006367, allocations: 128.5 kB / 472.4 MB, free: 9.684 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.006377, allocations: 4.375 kB / 472.4 MB, free: 9.68 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.006391, allocations: 4.375 kB / 472.4 MB, free: 9.676 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006532, allocations: 58.16 kB / 472.4 MB, free: 9.613 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.00654, allocations: 192 / 472.4 MB, free: 9.613 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.006549, allocations: 384 / 472.4 MB, free: 9.613 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006559, allocations: 7.938 kB / 472.4 MB, free: 9.605 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.006646, allocations: 27.98 kB / 472.5 MB, free: 9.578 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.007083, allocations: 275.6 kB / 472.7 MB, free: 9.273 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.007181, allocations: 42.98 kB / 472.8 MB, free: 9.219 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.00723, allocations: 19.75 kB / 472.8 MB, free: 9.195 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.007245, allocations: 0 / 472.8 MB, free: 9.195 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.00728, allocations: 33.39 kB / 472.8 MB, free: 9.152 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.007281, allocations: 0 / 472.8 MB, free: 9.152 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.007509, allocations: 61.72 kB / 472.9 MB, free: 9.086 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.007552, allocations: 51.41 kB / 472.9 MB, free: 9.023 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.007721, allocations: 185.8 kB / 473.1 MB, free: 8.824 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.007742, allocations: 29.7 kB / 473.2 MB, free: 8.789 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.007833, allocations: 134.8 kB / 473.3 MB, free: 8.652 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.00785, allocations: 7.953 kB / 473.3 MB, free: 8.645 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.007895, allocations: 27.36 kB / 473.3 MB, free: 8.609 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.008142, allocations: 492.1 kB / 473.8 MB, free: 8.117 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.008183, allocations: 8 kB / 473.8 MB, free: 8.109 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.008211, allocations: 7.984 kB / 473.8 MB, free: 8.102 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.008279, allocations: 27.78 kB / 473.8 MB, free: 8.07 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008281, allocations: 0 / 473.8 MB, free: 8.07 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001149/0.008396, allocations: 53.56 kB / 473.9 MB, free: 8.012 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.008413, allocations: 10.34 kB / 473.9 MB, free: 8.004 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008418, allocations: 0 / 473.9 MB, free: 8.004 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.00843, allocations: 0 / 473.9 MB, free: 8.004 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.008493, allocations: 7.984 kB / 473.9 MB, free: 7.996 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008497, allocations: 0 / 473.9 MB, free: 7.996 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.008528, allocations: 3.938 kB / 473.9 MB, free: 7.992 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.008533, allocations: 4.031 kB / 473.9 MB, free: 7.988 MB / 442.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 0.0001381/0.008671, allocations: 160.6 kB / 474.1 MB, free: 7.82 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.008703, allocations: 11.89 kB / 474.1 MB, free: 7.809 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.008727, allocations: 3.625 kB / 474.1 MB, free: 7.805 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.008728, allocations: 0 / 474.1 MB, free: 7.805 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.008735, allocations: 7.984 kB / 474.1 MB, free: 7.797 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.008737, allocations: 0 / 474.1 MB, free: 7.797 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.008905, allocations: 128.6 kB / 474.2 MB, free: 7.637 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008906, allocations: 0 / 474.2 MB, free: 7.637 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.008945, allocations: 7.938 kB / 474.2 MB, free: 7.629 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008946, allocations: 4 kB / 474.2 MB, free: 7.625 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.008953, allocations: 0 / 474.2 MB, free: 7.625 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.008957, allocations: 3.938 kB / 474.2 MB, free: 7.621 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008958, allocations: 0 / 474.2 MB, free: 7.621 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.009178, allocations: 199.9 kB / 474.4 MB, free: 7.406 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.00919, allocations: 7.938 kB / 474.4 MB, free: 7.398 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.009203, allocations: 3.984 kB / 474.4 MB, free: 7.395 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.009261, allocations: 0 / 474.4 MB, free: 7.395 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.009302, allocations: 4 kB / 474.5 MB, free: 7.391 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.009305, allocations: 0 / 474.5 MB, free: 7.391 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001717/0.009477, allocations: 139.2 kB / 474.6 MB, free: 7.254 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/0.009477, allocations: 0 / 474.6 MB, free: 7.254 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002315/0.009708, allocations: 7.938 kB / 474.6 MB, free: 7.246 MB / 442.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 0.0001186/0.009827, allocations: 99.23 kB / 474.7 MB, free: 7.137 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.00996, allocations: 27.61 kB / 474.7 MB, free: 7.105 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009962, allocations: 0 / 474.7 MB, free: 7.105 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.01001, allocations: 19.69 kB / 474.7 MB, free: 7.082 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.01021, allocations: 3.984 kB / 474.7 MB, free: 7.078 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.01057, allocations: 158.2 kB / 474.9 MB, free: 6.895 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.01064, allocations: 63.34 kB / 475 MB, free: 6.812 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.01067, allocations: 4 kB / 475 MB, free: 6.809 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.0107, allocations: 12.48 kB / 475 MB, free: 6.797 MB / 442.8 MB Notification: Performance of SimCode: time 4.41e-07/0.0107, allocations: 3.938 kB / 475 MB, free: 6.793 MB / 442.8 MB Notification: Performance of Templates: time 0.003019/0.01372, allocations: 384.6 kB / 475.4 MB, free: 6.414 MB / 442.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 -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","/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.800387540017255]