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.02648/0.02648, allocations: 1.8 MB / 21.15 MB, free: 3.246 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.002422/0.002422, allocations: 79.42 kB / 24.88 MB, free: 6.285 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.002791/0.002791, allocations: 172.9 kB / 28.75 MB, free: 3.488 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.511/1.511, allocations: 177.1 MB / 209.6 MB, free: 2.391 MB / 186.7 MB " [Timeout remaining time 178] 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 1.131/1.131, allocations: 102.5 MB / 369.1 MB, free: 0.8945 MB / 330.8 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.834e-06/1.834e-06, allocations: 0 / 469.1 MB, free: 13.04 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.175e-05, allocations: 4.422 kB / 469.1 MB, free: 13.04 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003454/0.003486, allocations: 2.086 MB / 471.2 MB, free: 10.94 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.00439, allocations: 462.8 kB / 471.7 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.004445, allocations: 0 / 471.7 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.004475, allocations: 3.938 kB / 471.7 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.004529, allocations: 7.938 kB / 471.7 MB, free: 10.47 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.004764, allocations: 23.91 kB / 471.7 MB, free: 10.45 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.004896, allocations: 43.78 kB / 471.7 MB, free: 10.4 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.004987, allocations: 12 kB / 471.7 MB, free: 10.39 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.005157, allocations: 35.89 kB / 471.8 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.005209, allocations: 7.938 kB / 471.8 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.005225, allocations: 0 / 471.8 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.005274, allocations: 15.98 kB / 471.8 MB, free: 10.33 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.005285, allocations: 0 / 471.8 MB, free: 10.33 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.005313, allocations: 15.92 kB / 471.8 MB, free: 10.32 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.005442, allocations: 39.89 kB / 471.9 MB, free: 10.28 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005445, allocations: 0 / 471.9 MB, free: 10.28 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005446, allocations: 3.938 kB / 471.9 MB, free: 10.27 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.00545, allocations: 0 / 471.9 MB, free: 10.27 MB / 442.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.0005271/0.005977, allocations: 388.1 kB / 472.2 MB, free: 9.859 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.006017, allocations: 8.031 kB / 472.2 MB, free: 9.852 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.006188, allocations: 16.89 kB / 472.3 MB, free: 9.836 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.006378, allocations: 128.5 kB / 472.4 MB, free: 9.684 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.006389, allocations: 4.312 kB / 472.4 MB, free: 9.68 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.006402, allocations: 8.375 kB / 472.4 MB, free: 9.672 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.006543, allocations: 46.25 kB / 472.4 MB, free: 9.621 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.006552, allocations: 192 / 472.4 MB, free: 9.621 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.006564, allocations: 4.359 kB / 472.5 MB, free: 9.617 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.006571, allocations: 7.938 kB / 472.5 MB, free: 9.609 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.006656, allocations: 20 kB / 472.5 MB, free: 9.59 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.007096, allocations: 283.6 kB / 472.8 MB, free: 9.277 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.007198, allocations: 42.98 kB / 472.8 MB, free: 9.223 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.007242, allocations: 15.75 kB / 472.8 MB, free: 9.203 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.007257, allocations: 0 / 472.8 MB, free: 9.203 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.00729, allocations: 33.39 kB / 472.8 MB, free: 9.16 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.007291, allocations: 4 kB / 472.8 MB, free: 9.156 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0002239/0.007514, allocations: 57.62 kB / 472.9 MB, free: 9.094 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.007558, allocations: 51.41 kB / 473 MB, free: 9.031 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.007719, allocations: 185.9 kB / 473.1 MB, free: 8.832 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.00774, allocations: 25.7 kB / 473.2 MB, free: 8.801 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.007831, allocations: 138.8 kB / 473.3 MB, free: 8.66 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.007844, allocations: 3.953 kB / 473.3 MB, free: 8.656 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.00789, allocations: 23.38 kB / 473.3 MB, free: 8.625 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.008145, allocations: 496.1 kB / 473.8 MB, free: 8.129 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.008183, allocations: 12 kB / 473.8 MB, free: 8.117 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.008211, allocations: 7.984 kB / 473.8 MB, free: 8.109 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.611e-05/0.008278, allocations: 27.81 kB / 473.9 MB, free: 8.078 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008279, allocations: 0 / 473.9 MB, free: 8.078 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00011/0.008389, allocations: 53.62 kB / 473.9 MB, free: 8.02 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.008403, allocations: 4 kB / 473.9 MB, free: 8.016 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.008412, allocations: 3.984 kB / 473.9 MB, free: 8.012 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.008427, allocations: 0 / 473.9 MB, free: 8.012 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.008493, allocations: 7.938 kB / 473.9 MB, free: 8.004 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008499, allocations: 0 / 473.9 MB, free: 8.004 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.008535, allocations: 3.984 kB / 473.9 MB, free: 8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.00854, allocations: 8.031 kB / 473.9 MB, free: 7.992 MB / 442.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 0.0001165/0.008656, allocations: 156.6 kB / 474.1 MB, free: 7.828 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.008689, allocations: 15.88 kB / 474.1 MB, free: 7.812 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.008714, allocations: 3.625 kB / 474.1 MB, free: 7.809 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.008718, allocations: 4 kB / 474.1 MB, free: 7.805 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008721, allocations: 0 / 474.1 MB, free: 7.805 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.008724, allocations: 0 / 474.1 MB, free: 7.805 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.008897, allocations: 128.7 kB / 474.2 MB, free: 7.645 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008898, allocations: 0 / 474.2 MB, free: 7.645 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.008938, allocations: 11.88 kB / 474.2 MB, free: 7.633 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00894, allocations: 4 kB / 474.3 MB, free: 7.629 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.008947, allocations: 0 / 474.3 MB, free: 7.629 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/0.008965, allocations: 4 kB / 474.3 MB, free: 7.625 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008966, allocations: 0 / 474.3 MB, free: 7.625 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.009181, allocations: 199.9 kB / 474.5 MB, free: 7.41 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.009193, allocations: 7.938 kB / 474.5 MB, free: 7.402 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.009205, allocations: 0 / 474.5 MB, free: 7.402 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.009269, allocations: 7.984 kB / 474.5 MB, free: 7.395 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.009308, allocations: 0 / 474.5 MB, free: 7.395 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.009311, allocations: 0 / 474.5 MB, free: 7.395 MB / 442.8 MB Notification: Performance of sorting global known variables: time 8.608e-05/0.009397, allocations: 139.6 kB / 474.6 MB, free: 7.258 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009397, allocations: 0 / 474.6 MB, free: 7.258 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002056/0.009602, allocations: 7.938 kB / 474.6 MB, free: 7.25 MB / 442.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.0001121/0.009715, allocations: 103.2 kB / 474.7 MB, free: 7.137 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.009849, allocations: 19.67 kB / 474.7 MB, free: 7.113 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.009853, allocations: 8 kB / 474.7 MB, free: 7.105 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.009897, allocations: 11.69 kB / 474.7 MB, free: 7.09 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.0101, allocations: 4.125 kB / 474.8 MB, free: 7.086 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.01046, allocations: 158.1 kB / 474.9 MB, free: 6.902 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.01053, allocations: 71.25 kB / 475 MB, free: 6.812 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.01056, allocations: 0 / 475 MB, free: 6.812 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.01059, allocations: 8.5 kB / 475 MB, free: 6.805 MB / 442.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01059, allocations: 3.938 kB / 475 MB, free: 6.801 MB / 442.8 MB Notification: Performance of Templates: time 0.00294/0.01353, allocations: 398.5 kB / 475.4 MB, free: 6.41 MB / 442.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.diff",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: 5.697213880950585]