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.008294/0.008294, allocations: 1.798 MB / 21.35 MB, free: 3.191 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.0008045/0.0008045, allocations: 89.5 kB / 25.16 MB, free: 7.422 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.0008637/0.0008637, allocations: 164.4 kB / 29.06 MB, free: 3.641 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.9087/0.9087, allocations: 177.2 MB / 210 MB, free: 3.59 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.6306/0.6306, allocations: 102.5 MB / 369.5 MB, free: 400 kB / 330.7 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 2.124e-06/2.124e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.047e-05, allocations: 4.703 kB / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003133/0.003163, allocations: 2.157 MB / 472.1 MB, free: 17.55 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.003946, allocations: 450.4 kB / 472.5 MB, free: 17.26 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.004004, allocations: 3.938 kB / 472.5 MB, free: 17.26 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.004041, allocations: 8.438 kB / 472.5 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.004098, allocations: 4.75 kB / 472.5 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.004341, allocations: 24.75 kB / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.004456, allocations: 37 kB / 472.6 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004557, allocations: 19.58 kB / 472.6 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.004708, allocations: 37.05 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.004755, allocations: 9.906 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.004771, allocations: 3.062 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.004816, allocations: 13.19 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.004829, allocations: 2.625 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.004851, allocations: 15.14 kB / 472.7 MB, free: 17.17 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.004962, allocations: 33.27 kB / 472.7 MB, free: 17.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004965, allocations: 0 / 472.7 MB, free: 17.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004966, allocations: 0 / 472.7 MB, free: 17.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.00497, allocations: 0.7812 kB / 472.7 MB, free: 17.16 MB / 410.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.0003706/0.005341, allocations: 383.1 kB / 473.1 MB, free: 16.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.005384, allocations: 13.91 kB / 473.1 MB, free: 16.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.005553, allocations: 9.406 kB / 473.1 MB, free: 16.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.005704, allocations: 128.2 kB / 473.3 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.005715, allocations: 2.719 kB / 473.3 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.005726, allocations: 3.125 kB / 473.3 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.005859, allocations: 62.12 kB / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.00587, allocations: 3.031 kB / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005882, allocations: 384 / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.00589, allocations: 3.938 kB / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.005934, allocations: 10.94 kB / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.006252, allocations: 277.8 kB / 473.6 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.006316, allocations: 39.81 kB / 473.7 MB, free: 16.25 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.006339, allocations: 10.12 kB / 473.7 MB, free: 16.24 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.006352, allocations: 0.9375 kB / 473.7 MB, free: 16.24 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.006372, allocations: 39.2 kB / 473.7 MB, free: 16.2 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.006373, allocations: 2.125 kB / 473.7 MB, free: 16.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.000166/0.006539, allocations: 42.88 kB / 473.7 MB, free: 16.16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.006565, allocations: 55.34 kB / 473.8 MB, free: 16.09 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.006939, allocations: 174 kB / 474 MB, free: 31.92 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.006947, allocations: 28.33 kB / 474 MB, free: 31.89 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.007004, allocations: 135.6 kB / 474.1 MB, free: 31.76 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.007023, allocations: 11.42 kB / 474.1 MB, free: 31.75 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.007055, allocations: 18 kB / 474.2 MB, free: 31.73 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.007194, allocations: 498.8 kB / 474.6 MB, free: 31.23 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.007214, allocations: 3.234 kB / 474.7 MB, free: 31.23 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.007226, allocations: 3.938 kB / 474.7 MB, free: 31.23 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.007259, allocations: 12.94 kB / 474.7 MB, free: 31.22 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007262, allocations: 0 / 474.7 MB, free: 31.22 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.501e-05/0.007337, allocations: 54.05 kB / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.007352, allocations: 5.25 kB / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.007358, allocations: 1.219 kB / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.007375, allocations: 2.625 kB / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.007457, allocations: 2.625 kB / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007462, allocations: 0 / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.007489, allocations: 3.875 kB / 474.7 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007495, allocations: 0 / 474.7 MB, free: 31.17 MB / 426.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 7.924e-05/0.007574, allocations: 161.2 kB / 474.9 MB, free: 31.01 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.007601, allocations: 6.562 kB / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.007627, allocations: 10.25 kB / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007629, allocations: 0 / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007633, allocations: 2.812 kB / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007637, allocations: 2.625 kB / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.007751, allocations: 124.5 kB / 475 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.007752, allocations: 0 / 475 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.007789, allocations: 6.562 kB / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.007792, allocations: 2.625 kB / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.007799, allocations: 0 / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007801, allocations: 1.75 kB / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.007803, allocations: 0 / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.007942, allocations: 194 kB / 475.2 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.007953, allocations: 7.812 kB / 475.2 MB, free: 30.65 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.007966, allocations: 2.562 kB / 475.2 MB, free: 30.65 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.008029, allocations: 3.469 kB / 475.3 MB, free: 30.65 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.008067, allocations: 3.812 kB / 475.3 MB, free: 30.65 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.008071, allocations: 0 / 475.3 MB, free: 30.65 MB / 426.8 MB Notification: Performance of sorting global known variables: time 5.703e-05/0.008128, allocations: 131.9 kB / 475.4 MB, free: 30.53 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.008128, allocations: 2.625 kB / 475.4 MB, free: 30.53 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002653/0.008394, allocations: 6.578 kB / 475.4 MB, free: 30.53 MB / 426.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.0001054/0.008499, allocations: 94.91 kB / 475.5 MB, free: 30.44 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.008625, allocations: 20.2 kB / 475.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008627, allocations: 0 / 475.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.008652, allocations: 16.94 kB / 475.5 MB, free: 30.41 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.008912, allocations: 8.219 kB / 475.5 MB, free: 30.41 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.009381, allocations: 143.7 kB / 475.7 MB, free: 30.27 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.62e-05/0.009408, allocations: 57.7 kB / 475.7 MB, free: 30.2 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.559e-05/0.009423, allocations: 1.688 kB / 475.7 MB, free: 30.2 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.009446, allocations: 11.12 kB / 475.7 MB, free: 30.2 MB / 426.8 MB Notification: Performance of SimCode: time 7.72e-07/0.009447, allocations: 0 / 475.7 MB, free: 30.2 MB / 426.8 MB Notification: Performance of Templates: time 0.001923/0.01137, allocations: 415.7 kB / 476.1 MB, free: 30.15 MB / 426.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.4842651071958244]