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.008365/0.008365, allocations: 1.794 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.000767/0.000767, allocations: 89.59 kB / 25.15 MB, free: 6.316 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.001387/0.001387, allocations: 163.5 kB / 29.05 MB, free: 3.352 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.922/0.922, allocations: 177.1 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.6257/0.6257, allocations: 102.5 MB / 369.5 MB, free: 380 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 1.493e-06/1.493e-06, allocations: 0 / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.15e-05, allocations: 4.578 kB / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002085/0.002116, allocations: 2.157 MB / 472.1 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00052/0.002636, allocations: 451.5 kB / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.002698, allocations: 0.8438 kB / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.002729, allocations: 3.938 kB / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.002777, allocations: 8.719 kB / 472.5 MB, free: 17.27 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.002986, allocations: 20.31 kB / 472.6 MB, free: 17.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.00308, allocations: 37.31 kB / 472.6 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.003174, allocations: 25.16 kB / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.003283, allocations: 35.92 kB / 472.7 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.003325, allocations: 6.641 kB / 472.7 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.003339, allocations: 2.25 kB / 472.7 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.003381, allocations: 13.2 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.003392, allocations: 7.406 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.003412, allocations: 9.891 kB / 472.7 MB, free: 17.2 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003516, allocations: 34.56 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.003519, allocations: 3.234 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00352, allocations: 0.75 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.003525, allocations: 0 / 472.7 MB, free: 17.18 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.000288/0.003813, allocations: 380.1 kB / 473.1 MB, free: 16.8 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.003848, allocations: 11.06 kB / 473.1 MB, free: 16.8 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.003961, allocations: 13.59 kB / 473.1 MB, free: 16.8 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.004073, allocations: 120.3 kB / 473.2 MB, free: 16.66 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.004081, allocations: 4.375 kB / 473.2 MB, free: 16.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004091, allocations: 5.766 kB / 473.3 MB, free: 16.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.004184, allocations: 62.34 kB / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004191, allocations: 192 / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004199, allocations: 1.219 kB / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.004206, allocations: 3.938 kB / 473.3 MB, free: 16.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.004236, allocations: 11.41 kB / 473.3 MB, free: 16.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.004504, allocations: 282.6 kB / 473.6 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.938e-05/0.004563, allocations: 41.62 kB / 473.6 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.004581, allocations: 10.97 kB / 473.7 MB, free: 16.26 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.004601, allocations: 6.781 kB / 473.7 MB, free: 16.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.004613, allocations: 33.39 kB / 473.7 MB, free: 16.22 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004614, allocations: 0 / 473.7 MB, free: 16.22 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.004743, allocations: 49.31 kB / 473.7 MB, free: 16.18 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.004762, allocations: 54.73 kB / 473.8 MB, free: 16.11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.005064, allocations: 168.9 kB / 474 MB, free: 31.95 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.00507, allocations: 25.7 kB / 474 MB, free: 31.91 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.005112, allocations: 137.1 kB / 474.1 MB, free: 31.78 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.005124, allocations: 7.953 kB / 474.1 MB, free: 31.77 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.005146, allocations: 21.78 kB / 474.1 MB, free: 31.75 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.005229, allocations: 498.2 kB / 474.6 MB, free: 31.26 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.005241, allocations: 4 kB / 474.6 MB, free: 31.25 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-06/0.005251, allocations: 2.969 kB / 474.6 MB, free: 31.25 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.005271, allocations: 14.53 kB / 474.7 MB, free: 31.24 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005272, allocations: 0 / 474.7 MB, free: 31.24 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.394e-05/0.005316, allocations: 45.59 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.005328, allocations: 5.75 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.005331, allocations: 1.031 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.005344, allocations: 2.875 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.005402, allocations: 1.25 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005406, allocations: 2.906 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005423, allocations: 7.281 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.005427, allocations: 4.156 kB / 474.7 MB, free: 31.2 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 4.638e-05/0.005474, allocations: 152.6 kB / 474.9 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.005488, allocations: 6.812 kB / 474.9 MB, free: 31.03 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.00551, allocations: 14.27 kB / 474.9 MB, free: 31.03 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005512, allocations: 7.219 kB / 474.9 MB, free: 31.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.005519, allocations: 0 / 474.9 MB, free: 31.02 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005522, allocations: 4 kB / 474.9 MB, free: 31.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.891e-05/0.005591, allocations: 121.9 kB / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005591, allocations: 0 / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.005606, allocations: 6.844 kB / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005607, allocations: 1.625 kB / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.005612, allocations: 3.328 kB / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-07/0.005613, allocations: 3.938 kB / 475 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005613, allocations: 0 / 475 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.973e-05/0.005683, allocations: 194.1 kB / 475.2 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.005689, allocations: 6.906 kB / 475.2 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.005697, allocations: 0 / 475.2 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.898e-05/0.005726, allocations: 2.906 kB / 475.2 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.005757, allocations: 3.328 kB / 475.2 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.005759, allocations: 0 / 475.2 MB, free: 30.68 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.005794, allocations: 139.8 kB / 475.4 MB, free: 30.55 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005794, allocations: 0 / 475.4 MB, free: 30.55 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001385/0.005932, allocations: 9.016 kB / 475.4 MB, free: 30.55 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 6.405e-05/0.005996, allocations: 94.31 kB / 475.5 MB, free: 30.46 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.685e-05/0.006063, allocations: 11.47 kB / 475.5 MB, free: 30.45 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006064, allocations: 0 / 475.5 MB, free: 30.45 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.006079, allocations: 19.61 kB / 475.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.006226, allocations: 7.562 kB / 475.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.006639, allocations: 143.9 kB / 475.7 MB, free: 30.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.604e-05/0.006665, allocations: 56.42 kB / 475.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.649e-05/0.006681, allocations: 3.469 kB / 475.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.006705, allocations: 11.25 kB / 475.7 MB, free: 30.22 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.006706, allocations: 0 / 475.7 MB, free: 30.22 MB / 426.8 MB Notification: Performance of Templates: time 0.001699/0.008405, allocations: 390.3 kB / 476.1 MB, free: 30.18 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.68514072522521]