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.01333/0.01333, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001082/0.001082, allocations: 82.02 kB / 25.15 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.0009083/0.0009083, allocations: 168.4 kB / 29.06 MB, free: 3.668 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.9557/0.9557, allocations: 177.2 MB / 210 MB, free: 3.605 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.6246/0.6246, allocations: 102.4 MB / 369.5 MB, free: 364 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.683e-06/1.683e-06, allocations: 3.938 kB / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.494e-05, allocations: 2.312 kB / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002101/0.002126, allocations: 2.157 MB / 472.1 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.002724, allocations: 455.3 kB / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.002781, allocations: 2.719 kB / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.002811, allocations: 3.938 kB / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.002861, allocations: 10.78 kB / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.003076, allocations: 24.48 kB / 472.6 MB, free: 17.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.003175, allocations: 41.14 kB / 472.6 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.003263, allocations: 13.78 kB / 472.6 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003388, allocations: 33.98 kB / 472.6 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.003429, allocations: 17.62 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003444, allocations: 3.812 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.003484, allocations: 5.656 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.003494, allocations: 7.938 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.003514, allocations: 7.578 kB / 472.7 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003615, allocations: 38 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003617, allocations: 0 / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003618, allocations: 1.094 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.003623, allocations: 0 / 472.7 MB, free: 17.19 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.0002886/0.003911, allocations: 379.5 kB / 473.1 MB, free: 16.8 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.003946, allocations: 11.94 kB / 473.1 MB, free: 16.8 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.004057, allocations: 11.81 kB / 473.1 MB, free: 16.8 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.004169, allocations: 120.4 kB / 473.2 MB, free: 16.67 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.004179, allocations: 1.125 kB / 473.2 MB, free: 16.67 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.004187, allocations: 8.703 kB / 473.2 MB, free: 16.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.004291, allocations: 62.22 kB / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004297, allocations: 3 kB / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.004306, allocations: 1.438 kB / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.004313, allocations: 3.938 kB / 473.3 MB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.004344, allocations: 12.53 kB / 473.3 MB, free: 16.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.004575, allocations: 279.6 kB / 473.6 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.004621, allocations: 33.53 kB / 473.6 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.004638, allocations: 10.12 kB / 473.6 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.00465, allocations: 4.281 kB / 473.6 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.004664, allocations: 35.55 kB / 473.7 MB, free: 16.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.004665, allocations: 0.7812 kB / 473.7 MB, free: 16.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.004797, allocations: 47.44 kB / 473.7 MB, free: 16.19 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.004816, allocations: 51.41 kB / 473.8 MB, free: 16.12 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.004871, allocations: 173.9 kB / 473.9 MB, free: 15.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-06/0.004876, allocations: 26.64 kB / 474 MB, free: 15.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.005171, allocations: 140.6 kB / 474.1 MB, free: 31.79 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.005185, allocations: 11.27 kB / 474.1 MB, free: 31.78 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.005213, allocations: 20.19 kB / 474.1 MB, free: 31.76 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.005299, allocations: 499.4 kB / 474.6 MB, free: 31.26 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.005313, allocations: 2.25 kB / 474.6 MB, free: 31.26 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.005321, allocations: 2.719 kB / 474.6 MB, free: 31.26 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.005345, allocations: 10.59 kB / 474.6 MB, free: 31.25 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005347, allocations: 0 / 474.6 MB, free: 31.25 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.55e-05/0.005392, allocations: 54.62 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.005404, allocations: 5.719 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005408, allocations: 0 / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.00542, allocations: 4.188 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.005473, allocations: 0 / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005478, allocations: 2.75 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.005495, allocations: 7.422 kB / 474.7 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.0055, allocations: 4.094 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 5.68e-05/0.005557, allocations: 152.6 kB / 474.9 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.005571, allocations: 8.094 kB / 474.9 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.005592, allocations: 11.48 kB / 474.9 MB, free: 31.03 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005594, allocations: 0 / 474.9 MB, free: 31.03 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005597, allocations: 0 / 474.9 MB, free: 31.03 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.0056, allocations: 4.625 kB / 474.9 MB, free: 31.03 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.27e-05/0.005673, allocations: 120.7 kB / 475 MB, free: 30.89 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005673, allocations: 0 / 475 MB, free: 30.89 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.005688, allocations: 12.56 kB / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.005689, allocations: 0 / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005695, allocations: 0 / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005696, allocations: 0 / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005697, allocations: 3.328 kB / 475 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.9e-05/0.005776, allocations: 190.8 kB / 475.2 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.005783, allocations: 13.72 kB / 475.2 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.005792, allocations: 0 / 475.2 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.005819, allocations: 2.938 kB / 475.2 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.005852, allocations: 0 / 475.2 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.005854, allocations: 0 / 475.2 MB, free: 30.69 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.005891, allocations: 135.9 kB / 475.4 MB, free: 30.57 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005892, allocations: 0 / 475.4 MB, free: 30.57 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001317/0.006023, allocations: 13.05 kB / 475.4 MB, free: 30.56 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.748e-05/0.006081, allocations: 100.8 kB / 475.5 MB, free: 30.47 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.006161, allocations: 15.47 kB / 475.5 MB, free: 30.45 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006163, allocations: 0 / 475.5 MB, free: 30.45 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.006177, allocations: 14.81 kB / 475.5 MB, free: 30.44 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.006326, allocations: 7.828 kB / 475.5 MB, free: 30.44 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.006732, allocations: 143.4 kB / 475.7 MB, free: 30.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.006761, allocations: 59.55 kB / 475.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.533e-05/0.006776, allocations: 2.938 kB / 475.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.0068, allocations: 11.83 kB / 475.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of SimCode: time 5.71e-07/0.0068, allocations: 0 / 475.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of Templates: time 0.001816/0.008616, allocations: 410.8 kB / 476.1 MB, free: 30.18 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.782383196055889]