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.013/0.013, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001373/0.001373, allocations: 84.2 kB / 25.4 MB, free: 7 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.001591/0.001591, allocations: 159.2 kB / 29.33 MB, free: 3.137 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.9469/0.9469, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.5862/0.5862, allocations: 102.5 MB / 369.9 MB, free: 248 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 2.404e-06/2.404e-06, allocations: 0 / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.423e-05, allocations: 2.312 kB / 470.4 MB, free: 18.82 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.00356/0.003594, allocations: 2.152 MB / 472.6 MB, free: 17.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.004482, allocations: 449 kB / 473 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.004564, allocations: 2.625 kB / 473 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.004602, allocations: 3.938 kB / 473 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.808e-05/0.00467, allocations: 3.938 kB / 473 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.004937, allocations: 24.48 kB / 473 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.005055, allocations: 42.38 kB / 473.1 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.005187, allocations: 21.69 kB / 473.1 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.005407, allocations: 34.95 kB / 473.1 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.005469, allocations: 13.94 kB / 473.2 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.005487, allocations: 4.938 kB / 473.2 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.005538, allocations: 2.688 kB / 473.2 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.005555, allocations: 10.61 kB / 473.2 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.005575, allocations: 13.8 kB / 473.2 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.005692, allocations: 29.23 kB / 473.2 MB, free: 17 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005696, allocations: 2.375 kB / 473.2 MB, free: 17 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005697, allocations: 0 / 473.2 MB, free: 17 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.005701, allocations: 0 / 473.2 MB, free: 17 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.0003374/0.006039, allocations: 385.7 kB / 473.6 MB, free: 16.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.006081, allocations: 7.938 kB / 473.6 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.006245, allocations: 16.61 kB / 473.6 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.006369, allocations: 123.4 kB / 473.7 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.006382, allocations: 8.406 kB / 473.7 MB, free: 16.47 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.006392, allocations: 3.062 kB / 473.7 MB, free: 16.47 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.006507, allocations: 49.11 kB / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.006515, allocations: 192 / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.006523, allocations: 7.875 kB / 473.8 MB, free: 16.42 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.006532, allocations: 7.688 kB / 473.8 MB, free: 16.42 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.962e-05/0.006561, allocations: 6.062 kB / 473.8 MB, free: 16.42 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.006845, allocations: 257.7 kB / 474.1 MB, free: 16.17 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.006895, allocations: 32.97 kB / 474.1 MB, free: 16.13 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.006911, allocations: 10.53 kB / 474.1 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.006931, allocations: 7.312 kB / 474.1 MB, free: 16.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.006949, allocations: 40.17 kB / 474.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.006951, allocations: 2.719 kB / 474.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.007095, allocations: 34.27 kB / 474.2 MB, free: 16.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.007116, allocations: 51.41 kB / 474.2 MB, free: 15.97 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.007184, allocations: 186.1 kB / 474.4 MB, free: 15.79 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.007192, allocations: 25.7 kB / 474.5 MB, free: 15.76 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.007511, allocations: 137.3 kB / 474.6 MB, free: 31.63 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.007527, allocations: 5.203 kB / 474.6 MB, free: 31.62 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.007562, allocations: 22.23 kB / 474.6 MB, free: 31.6 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.007703, allocations: 498.5 kB / 475.1 MB, free: 31.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.007721, allocations: 1.25 kB / 475.1 MB, free: 31.11 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.007734, allocations: 6.906 kB / 475.1 MB, free: 31.1 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.007768, allocations: 11.66 kB / 475.1 MB, free: 31.09 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00777, allocations: 0 / 475.1 MB, free: 31.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.826e-05/0.007868, allocations: 45.12 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.007883, allocations: 7.094 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007889, allocations: 0 / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007899, allocations: 0 / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.007972, allocations: 2.938 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.007976, allocations: 1.25 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.007996, allocations: 13.05 kB / 475.2 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.008001, allocations: 6.641 kB / 475.2 MB, free: 31.04 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 6.094e-05/0.008062, allocations: 158.7 kB / 475.3 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.008077, allocations: 6.562 kB / 475.4 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.0081, allocations: 10.09 kB / 475.4 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.008103, allocations: 2.812 kB / 475.4 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.008106, allocations: 7.141 kB / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008109, allocations: 2.562 kB / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.86e-05/0.008187, allocations: 99.38 kB / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008189, allocations: 6.141 kB / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.008206, allocations: 0 / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008208, allocations: 3.094 kB / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.008212, allocations: 3.938 kB / 475.5 MB, free: 30.74 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008213, allocations: 0 / 475.5 MB, free: 30.74 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008214, allocations: 2.719 kB / 475.5 MB, free: 30.74 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.279e-05/0.008297, allocations: 184.4 kB / 475.7 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-06/0.008303, allocations: 3.125 kB / 475.7 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.00831, allocations: 7.938 kB / 475.7 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.00834, allocations: 9.922 kB / 475.7 MB, free: 30.54 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.008365, allocations: 2.625 kB / 475.7 MB, free: 30.54 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.008368, allocations: 0.5625 kB / 475.7 MB, free: 30.54 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.008405, allocations: 131.9 kB / 475.8 MB, free: 30.42 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.008405, allocations: 1.781 kB / 475.8 MB, free: 30.42 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001317/0.008537, allocations: 4.969 kB / 475.8 MB, free: 30.42 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 7.114e-05/0.008608, allocations: 93.06 kB / 475.9 MB, free: 30.34 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.107e-05/0.008659, allocations: 17.64 kB / 475.9 MB, free: 30.32 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00866, allocations: 0 / 475.9 MB, free: 30.32 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.008674, allocations: 15.22 kB / 476 MB, free: 30.31 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.008818, allocations: 13.84 kB / 476 MB, free: 30.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.009162, allocations: 140.3 kB / 476.1 MB, free: 30.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.565e-05/0.009188, allocations: 59.58 kB / 476.2 MB, free: 30.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.009205, allocations: 3.625 kB / 476.2 MB, free: 30.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.00924, allocations: 69.44 kB / 476.2 MB, free: 30.03 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.00924, allocations: 0.7188 kB / 476.2 MB, free: 30.03 MB / 426.8 MB Notification: Performance of Templates: time 0.001696/0.01094, allocations: 422.8 kB / 476.6 MB, free: 29.99 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.51492558978498]