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.008343/0.008343, allocations: 1.795 MB / 21.35 MB, free: 3.184 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.0008425/0.0008425, allocations: 92.55 kB / 25.16 MB, free: 7.469 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.0009573/0.0009573, allocations: 165.8 kB / 29.06 MB, free: 3.66 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.9559/0.9559, allocations: 177.2 MB / 210 MB, free: 3.547 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.6253/0.6253, allocations: 102.4 MB / 369.5 MB, free: 324 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.203e-06/1.203e-06, allocations: 0 / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.348e-05, allocations: 3.5 kB / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.001793/0.001806, allocations: 2.158 MB / 472.1 MB, free: 17.54 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004949/0.002301, allocations: 454 kB / 472.5 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.002348, allocations: 0 / 472.5 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.002376, allocations: 3.938 kB / 472.5 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.002417, allocations: 6 kB / 472.5 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.002616, allocations: 24.98 kB / 472.5 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.002703, allocations: 36.95 kB / 472.6 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.00279, allocations: 18.64 kB / 472.6 MB, free: 17.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.002893, allocations: 37.91 kB / 472.6 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.002931, allocations: 13.97 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.002946, allocations: 2.875 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.002981, allocations: 6.625 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.002993, allocations: 18.94 kB / 472.7 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.003009, allocations: 3.781 kB / 472.7 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/0.003096, allocations: 32.95 kB / 472.7 MB, free: 17.14 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003098, allocations: 0 / 472.7 MB, free: 17.14 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003099, allocations: 3.406 kB / 472.7 MB, free: 17.14 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003103, allocations: 0 / 472.7 MB, free: 17.14 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.0002635/0.003366, allocations: 378.2 kB / 473.1 MB, free: 16.76 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.003399, allocations: 10.88 kB / 473.1 MB, free: 16.76 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.003506, allocations: 12.94 kB / 473.1 MB, free: 16.76 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.003607, allocations: 124.7 kB / 473.2 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.003615, allocations: 1.625 kB / 473.2 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.003625, allocations: 7.344 kB / 473.2 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.003714, allocations: 58.83 kB / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.00372, allocations: 0.75 kB / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.003728, allocations: 384 / 473.3 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.003735, allocations: 9.656 kB / 473.3 MB, free: 16.56 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.84e-05/0.003763, allocations: 9.125 kB / 473.3 MB, free: 16.56 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.003978, allocations: 285.7 kB / 473.6 MB, free: 16.28 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.004018, allocations: 33.34 kB / 473.6 MB, free: 16.24 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.004035, allocations: 10.34 kB / 473.6 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.004048, allocations: 3.094 kB / 473.6 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.004061, allocations: 36.42 kB / 473.7 MB, free: 16.18 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.004061, allocations: 0 / 473.7 MB, free: 16.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.00418, allocations: 48.28 kB / 473.7 MB, free: 16.14 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.004197, allocations: 54.38 kB / 473.8 MB, free: 16.08 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.917e-05/0.004247, allocations: 173.8 kB / 473.9 MB, free: 15.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.539e-06/0.004251, allocations: 25.7 kB / 474 MB, free: 15.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.00438, allocations: 133.9 kB / 474.1 MB, free: 31.75 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.004392, allocations: 12.64 kB / 474.1 MB, free: 31.74 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.004414, allocations: 21.38 kB / 474.1 MB, free: 31.71 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.004519, allocations: 498.9 kB / 474.6 MB, free: 31.22 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.004531, allocations: 3.422 kB / 474.6 MB, free: 31.22 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.00454, allocations: 3 kB / 474.6 MB, free: 31.22 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.00456, allocations: 11.31 kB / 474.6 MB, free: 31.21 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004561, allocations: 0.5625 kB / 474.6 MB, free: 31.21 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.01e-05/0.004601, allocations: 49.17 kB / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.004613, allocations: 8.562 kB / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.004616, allocations: 0 / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.004628, allocations: 1.719 kB / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.004679, allocations: 2.562 kB / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004683, allocations: 0 / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.004699, allocations: 6.547 kB / 474.7 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.004703, allocations: 3.469 kB / 474.7 MB, free: 31.16 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.406e-05/0.004757, allocations: 156.4 kB / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.004771, allocations: 7 kB / 474.9 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.004791, allocations: 8.625 kB / 474.9 MB, free: 30.99 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004793, allocations: 0 / 474.9 MB, free: 30.99 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.004796, allocations: 2.625 kB / 474.9 MB, free: 30.99 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.004799, allocations: 1.031 kB / 474.9 MB, free: 30.99 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/0.004866, allocations: 121.1 kB / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.004867, allocations: 4 kB / 475 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.00488, allocations: 11.53 kB / 475 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004881, allocations: 2.5 kB / 475 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.004887, allocations: 3.938 kB / 475 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004887, allocations: 1.562 kB / 475 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004888, allocations: 0 / 475 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.984e-05/0.004958, allocations: 190.5 kB / 475.2 MB, free: 30.64 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.004963, allocations: 10.5 kB / 475.2 MB, free: 30.64 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.004971, allocations: 0 / 475.2 MB, free: 30.64 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.005001, allocations: 6.094 kB / 475.2 MB, free: 30.64 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.00503, allocations: 0 / 475.2 MB, free: 30.64 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.005032, allocations: 2.469 kB / 475.2 MB, free: 30.64 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.479e-05/0.005067, allocations: 132.5 kB / 475.4 MB, free: 30.52 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005067, allocations: 0 / 475.4 MB, free: 30.52 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001361/0.005203, allocations: 5.5 kB / 475.4 MB, free: 30.52 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 4.803e-05/0.005251, allocations: 90.78 kB / 475.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.167e-05/0.005313, allocations: 25.16 kB / 475.5 MB, free: 30.41 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005314, allocations: 3.406 kB / 475.5 MB, free: 30.41 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.005327, allocations: 10.41 kB / 475.5 MB, free: 30.4 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.005477, allocations: 7.562 kB / 475.5 MB, free: 30.4 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.00589, allocations: 146.7 kB / 475.6 MB, free: 30.27 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.005923, allocations: 61.44 kB / 475.7 MB, free: 30.19 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.69e-05/0.00594, allocations: 0.8438 kB / 475.7 MB, free: 30.19 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.005965, allocations: 11.16 kB / 475.7 MB, free: 30.18 MB / 426.8 MB Notification: Performance of SimCode: time 7.01e-07/0.005965, allocations: 0.9375 kB / 475.7 MB, free: 30.18 MB / 426.8 MB Notification: Performance of Templates: time 0.00174/0.007705, allocations: 397.8 kB / 476.1 MB, free: 30.14 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.8251864849589765]