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.00839/0.00839, allocations: 1.784 MB / 21.64 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.0007942/0.0007942, allocations: 88.59 kB / 25.49 MB, free: 6.41 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.0008738/0.0008738, allocations: 166.3 kB / 28.89 MB, free: 3.375 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.8904/0.8904, allocations: 177.2 MB / 209.3 MB, free: 2.23 MB / 186.7 MB " [Timeout remaining time 179] 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 0.771/0.771, allocations: 102.5 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 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 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_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.974e-06/1.974e-06, allocations: 0 / 415 MB, free: 2.246 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.242e-05, allocations: 2.312 kB / 415 MB, free: 2.242 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002193/0.002215, allocations: 2.155 MB / 417.2 MB, free: 72 kB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005704/0.002786, allocations: 474.6 kB / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.002832, allocations: 3.938 kB / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.002856, allocations: 3.938 kB / 417.7 MB, free: 15.59 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.002899, allocations: 3.938 kB / 417.7 MB, free: 15.59 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.003074, allocations: 27.91 kB / 417.7 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.003157, allocations: 43.78 kB / 417.7 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.476e-05/0.003222, allocations: 8 kB / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.003323, allocations: 35.89 kB / 417.8 MB, free: 15.48 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.003361, allocations: 11.94 kB / 417.8 MB, free: 15.46 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.003372, allocations: 4 kB / 417.8 MB, free: 15.46 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.003407, allocations: 7.984 kB / 417.8 MB, free: 15.45 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.003419, allocations: 8 kB / 417.8 MB, free: 15.45 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.003433, allocations: 11.92 kB / 417.8 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.003757, allocations: 27.91 kB / 417.9 MB, free: 15.41 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003759, allocations: 0 / 417.9 MB, free: 15.41 MB / 394.8 MB Notification: Performance of FrontEnd: time 3.8e-07/0.003759, allocations: 0 / 417.9 MB, free: 15.41 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.003762, allocations: 0 / 417.9 MB, free: 15.41 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.000249/0.004011, allocations: 256.8 kB / 418.1 MB, free: 15.13 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.004039, allocations: 15.97 kB / 418.1 MB, free: 15.12 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.004131, allocations: 16.86 kB / 418.1 MB, free: 15.1 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.004236, allocations: 125.7 kB / 418.3 MB, free: 14.95 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.004242, allocations: 384 / 418.3 MB, free: 14.95 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.004251, allocations: 4.375 kB / 418.3 MB, free: 14.95 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.8e-05/0.004329, allocations: 58.94 kB / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.004334, allocations: 192 / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.00434, allocations: 384 / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004345, allocations: 3.938 kB / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.004364, allocations: 11.94 kB / 418.3 MB, free: 14.87 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.00454, allocations: 168.2 kB / 418.5 MB, free: 14.69 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.369e-05/0.004574, allocations: 18.58 kB / 418.5 MB, free: 14.66 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.004586, allocations: 8.922 kB / 418.5 MB, free: 14.65 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.004595, allocations: 0 / 418.5 MB, free: 14.65 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.004612, allocations: 38.44 kB / 418.6 MB, free: 14.6 MB / 394.8 MB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.004613, allocations: 4 kB / 418.6 MB, free: 14.6 MB / 394.8 MB Notification: Performance of matching and sorting (n=2): time 8.294e-05/0.004695, allocations: 37.69 kB / 418.6 MB, free: 14.55 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.004722, allocations: 55.41 kB / 418.7 MB, free: 14.49 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.004774, allocations: 114.8 kB / 418.8 MB, free: 14.36 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.004783, allocations: 33.7 kB / 418.8 MB, free: 14.32 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.004815, allocations: 92.06 kB / 418.9 MB, free: 14.23 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.004826, allocations: 4 kB / 418.9 MB, free: 14.23 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.004848, allocations: 13.72 kB / 418.9 MB, free: 14.21 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.004925, allocations: 318.8 kB / 419.2 MB, free: 13.89 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.004934, allocations: 3.938 kB / 419.2 MB, free: 13.88 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.004942, allocations: 7.984 kB / 419.2 MB, free: 13.88 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.736e-05/0.004959, allocations: 8.859 kB / 419.2 MB, free: 13.86 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004961, allocations: 0 / 419.2 MB, free: 13.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.9e-05/0.005, allocations: 45.69 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.00501, allocations: 6.812 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.005013, allocations: 0 / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.005021, allocations: 0 / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.00506, allocations: 4 kB / 419.3 MB, free: 13.8 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.005063, allocations: 0 / 419.3 MB, free: 13.8 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.005078, allocations: 7.938 kB / 419.3 MB, free: 13.8 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.005081, allocations: 3.938 kB / 419.3 MB, free: 13.79 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.661e-05/0.005128, allocations: 109.8 kB / 419.4 MB, free: 13.68 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.005143, allocations: 11.92 kB / 419.4 MB, free: 13.66 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.595e-05/0.005159, allocations: 11.66 kB / 419.4 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.00516, allocations: 0 / 419.4 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005162, allocations: 0 / 419.4 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005164, allocations: 4 kB / 419.4 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.306e-05/0.005237, allocations: 73.88 kB / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005238, allocations: 0 / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.00525, allocations: 4 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.00525, allocations: 0 / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-06/0.005254, allocations: 0 / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.005255, allocations: 3.938 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.005257, allocations: 3.984 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.583e-05/0.005313, allocations: 135.5 kB / 419.7 MB, free: 13.4 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.005321, allocations: 11.88 kB / 419.7 MB, free: 13.39 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.005327, allocations: 0 / 419.7 MB, free: 13.39 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.005356, allocations: 7.938 kB / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.00538, allocations: 4 kB / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.005382, allocations: 0 / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.524e-05/0.005397, allocations: 20.83 kB / 419.7 MB, free: 13.35 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005397, allocations: 0 / 419.7 MB, free: 13.35 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000113/0.00551, allocations: 4 kB / 419.7 MB, free: 13.35 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 7.671e-05/0.005587, allocations: 76.45 kB / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.598e-05/0.005643, allocations: 16.84 kB / 419.8 MB, free: 13.25 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005645, allocations: 0 / 419.8 MB, free: 13.25 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.005662, allocations: 12.8 kB / 419.8 MB, free: 13.23 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.005805, allocations: 10.47 kB / 419.8 MB, free: 13.22 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.006206, allocations: 140.3 kB / 420 MB, free: 13.06 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.006247, allocations: 55.48 kB / 420 MB, free: 12.98 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.006266, allocations: 4 kB / 420 MB, free: 12.98 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.006305, allocations: 59.36 kB / 420.1 MB, free: 12.92 MB / 394.8 MB Notification: Performance of SimCode: time 4.61e-07/0.006306, allocations: 0 / 420.1 MB, free: 12.92 MB / 394.8 MB Notification: Performance of Templates: time 0.001839/0.008145, allocations: 395 kB / 420.5 MB, free: 12.53 MB / 394.8 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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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_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: 3.2925468888133764]