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.01434/0.01434, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.0014/0.0014, allocations: 77.77 kB / 26.19 MB, free: 6.078 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.001641/0.001641, allocations: 164.7 kB / 30.12 MB, free: 2.184 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.014/1.014, allocations: 177.2 MB / 211.1 MB, free: 3.449 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6522/0.6522, allocations: 102.4 MB / 370.6 MB, free: 204 kB / 330.7 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.412e-06/1.412e-06, allocations: 0 / 471.2 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.318e-05, allocations: 2.312 kB / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.001808/0.001821, allocations: 2.161 MB / 473.3 MB, free: 17.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005075/0.002328, allocations: 450 kB / 473.8 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.00238, allocations: 0.6562 kB / 473.8 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.002405, allocations: 3.938 kB / 473.8 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.00245, allocations: 8.906 kB / 473.8 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.002616, allocations: 25 kB / 473.8 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.002697, allocations: 38.52 kB / 473.9 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.002776, allocations: 20.8 kB / 473.9 MB, free: 17.06 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.002879, allocations: 26.78 kB / 473.9 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.002919, allocations: 18.19 kB / 473.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.002931, allocations: 2.781 kB / 473.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.483e-05/0.002966, allocations: 5.594 kB / 473.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.002976, allocations: 4.906 kB / 473.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.002992, allocations: 13.47 kB / 474 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.003074, allocations: 34.92 kB / 474 MB, free: 17.01 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003076, allocations: 2.25 kB / 474 MB, free: 17.01 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003076, allocations: 0 / 474 MB, free: 17.01 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.00308, allocations: 0 / 474 MB, free: 17.01 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.0002458/0.003325, allocations: 387.5 kB / 474.4 MB, free: 16.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.003355, allocations: 11.34 kB / 474.4 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.003446, allocations: 11.12 kB / 474.4 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.003538, allocations: 121.8 kB / 474.5 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.003546, allocations: 4.375 kB / 474.5 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-06/0.003551, allocations: 3.844 kB / 474.5 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.996e-05/0.003621, allocations: 58.91 kB / 474.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.003628, allocations: 192 / 474.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.003633, allocations: 0.9375 kB / 474.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.003639, allocations: 7.797 kB / 474.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.003659, allocations: 10.12 kB / 474.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.003848, allocations: 262.7 kB / 474.8 MB, free: 16.17 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.557e-05/0.003883, allocations: 29.25 kB / 474.9 MB, free: 16.13 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-06/0.003893, allocations: 7.688 kB / 474.9 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.003903, allocations: 7.312 kB / 474.9 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.003916, allocations: 34.23 kB / 474.9 MB, free: 16.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.003917, allocations: 0 / 474.9 MB, free: 16.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001027/0.00402, allocations: 45.48 kB / 475 MB, free: 16.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.004039, allocations: 51.41 kB / 475 MB, free: 15.98 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.004084, allocations: 178.9 kB / 475.2 MB, free: 15.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.004089, allocations: 28.98 kB / 475.2 MB, free: 15.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.004116, allocations: 137.5 kB / 475.4 MB, free: 15.63 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.004127, allocations: 6.578 kB / 475.4 MB, free: 15.63 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.004149, allocations: 21.28 kB / 475.4 MB, free: 15.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.004421, allocations: 496.1 kB / 475.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.004429, allocations: 6.562 kB / 475.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.004436, allocations: 2.625 kB / 475.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.026e-05/0.004456, allocations: 18.78 kB / 475.9 MB, free: 31.09 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004458, allocations: 0 / 475.9 MB, free: 31.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.097e-05/0.004499, allocations: 45.47 kB / 475.9 MB, free: 31.05 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.004509, allocations: 6.5 kB / 475.9 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004513, allocations: 0 / 475.9 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.004521, allocations: 5.953 kB / 476 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.663e-05/0.004558, allocations: 3.875 kB / 476 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.00456, allocations: 0 / 476 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.004575, allocations: 2.625 kB / 476 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.004579, allocations: 1.188 kB / 476 MB, free: 31.05 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 5.575e-05/0.004634, allocations: 158.4 kB / 476.1 MB, free: 30.89 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.004649, allocations: 7.938 kB / 476.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.004671, allocations: 11.44 kB / 476.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004672, allocations: 0 / 476.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004674, allocations: 0 / 476.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.004677, allocations: 5.688 kB / 476.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.097e-05/0.004748, allocations: 101.8 kB / 476.2 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.004749, allocations: 3.938 kB / 476.2 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.004762, allocations: 2.625 kB / 476.2 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.004763, allocations: 0 / 476.2 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.004767, allocations: 10.3 kB / 476.3 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004768, allocations: 2.625 kB / 476.3 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.004769, allocations: 0 / 476.3 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.004842, allocations: 189.8 kB / 476.4 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.004848, allocations: 0 / 476.4 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.004856, allocations: 6.562 kB / 476.4 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.004884, allocations: 2.625 kB / 476.5 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.004907, allocations: 3.141 kB / 476.5 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.004909, allocations: 2.25 kB / 476.5 MB, free: 30.55 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.004948, allocations: 131.1 kB / 476.6 MB, free: 30.44 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004948, allocations: 3.938 kB / 476.6 MB, free: 30.43 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001317/0.00508, allocations: 5.25 kB / 476.6 MB, free: 30.43 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 5.945e-05/0.005139, allocations: 93.03 kB / 476.7 MB, free: 30.35 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.375e-05/0.005193, allocations: 19.66 kB / 476.7 MB, free: 30.33 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005194, allocations: 3.938 kB / 476.7 MB, free: 30.33 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.005207, allocations: 15.88 kB / 476.7 MB, free: 30.32 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.005343, allocations: 7.406 kB / 476.7 MB, free: 30.31 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.005646, allocations: 153.8 kB / 476.9 MB, free: 30.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.341e-05/0.005669, allocations: 53.98 kB / 476.9 MB, free: 30.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.572e-05/0.005685, allocations: 3.469 kB / 476.9 MB, free: 30.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.005721, allocations: 72.3 kB / 477 MB, free: 30.04 MB / 426.8 MB Notification: Performance of SimCode: time 5.61e-07/0.005721, allocations: 0.875 kB / 477 MB, free: 30.04 MB / 426.8 MB Notification: Performance of Templates: time 0.001601/0.007322, allocations: 438.6 kB / 477.4 MB, free: 29.98 MB / 426.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","",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: 3.69614516524598]