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.006287/0.006287, allocations: 1.435 MB / 21.29 MB, free: 3.262 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.0007154/0.0007154, allocations: 90.92 kB / 24.91 MB, free: 7.266 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.000769/0.000769, allocations: 164.7 kB / 28.62 MB, free: 4.453 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.8909/0.8909, allocations: 177.1 MB / 209.4 MB, free: 3 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.7507/0.7507, allocations: 102.5 MB / 368.7 MB, free: 1.5 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 0.5.2 (/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.723e-06/1.723e-06, allocations: 0 / 0.5374 GB, free: 39.68 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.214e-05, allocations: 7 kB / 0.5374 GB, free: 39.68 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002197/0.002229, allocations: 2.081 MB / 0.5394 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005761/0.002805, allocations: 455.9 kB / 0.5399 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.002862, allocations: 1.25 kB / 0.5399 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.002891, allocations: 5.094 kB / 0.5399 GB, free: 37.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.002936, allocations: 8.781 kB / 0.5399 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.003157, allocations: 31.56 kB / 0.5399 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.003256, allocations: 39.11 kB / 0.5399 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003358, allocations: 8.656 kB / 0.5399 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003489, allocations: 29.84 kB / 0.54 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.003534, allocations: 10.98 kB / 0.54 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003548, allocations: 2.938 kB / 0.54 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.003589, allocations: 9.25 kB / 0.54 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.0036, allocations: 5.828 kB / 0.54 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.003621, allocations: 12.56 kB / 0.54 GB, free: 37.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.003733, allocations: 46.73 kB / 0.5401 GB, free: 37.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003736, allocations: 0 / 0.5401 GB, free: 37.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.492e-06/0.003737, allocations: 0 / 0.5401 GB, free: 37.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.003742, allocations: 1.25 kB / 0.5401 GB, free: 37.84 MB / 490.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.0003077/0.00405, allocations: 282.8 kB / 0.5403 GB, free: 37.57 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.004088, allocations: 10.22 kB / 0.5403 GB, free: 37.57 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.004208, allocations: 17.17 kB / 0.5404 GB, free: 37.56 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.004362, allocations: 127.2 kB / 0.5405 GB, free: 37.42 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004372, allocations: 2.969 kB / 0.5405 GB, free: 37.42 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.004383, allocations: 6.625 kB / 0.5405 GB, free: 37.42 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.004495, allocations: 50.05 kB / 0.5405 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004503, allocations: 1.438 kB / 0.5405 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004513, allocations: 384 / 0.5405 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004518, allocations: 5.156 kB / 0.5405 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.004582, allocations: 30.06 kB / 0.5406 GB, free: 37.37 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.004833, allocations: 222.8 kB / 0.5408 GB, free: 37.15 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.004894, allocations: 37.61 kB / 0.5408 GB, free: 37.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.004923, allocations: 17.73 kB / 0.5408 GB, free: 37.11 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.004938, allocations: 0 / 0.5408 GB, free: 37.11 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.004953, allocations: 35.78 kB / 0.5409 GB, free: 37.07 MB / 490.8 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.004954, allocations: 0 / 0.5409 GB, free: 37.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.005124, allocations: 56.62 kB / 0.5409 GB, free: 37.03 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.005148, allocations: 53.84 kB / 0.541 GB, free: 36.97 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.005206, allocations: 114.2 kB / 0.5411 GB, free: 36.86 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.005213, allocations: 28.42 kB / 0.5411 GB, free: 36.83 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.005244, allocations: 95.41 kB / 0.5412 GB, free: 36.74 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.005258, allocations: 5.297 kB / 0.5412 GB, free: 36.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.005282, allocations: 15.06 kB / 0.5412 GB, free: 36.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.513e-05/0.005317, allocations: 318.6 kB / 0.5415 GB, free: 36.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.005339, allocations: 5.031 kB / 0.5415 GB, free: 36.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.005357, allocations: 18.7 kB / 0.5415 GB, free: 36.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.005399, allocations: 24.23 kB / 0.5416 GB, free: 36.38 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005401, allocations: 5.469 kB / 0.5416 GB, free: 36.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.81e-05/0.005469, allocations: 50.38 kB / 0.5416 GB, free: 36.34 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.005482, allocations: 8.312 kB / 0.5416 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005487, allocations: 0 / 0.5416 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005499, allocations: 1.469 kB / 0.5416 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.005553, allocations: 10.25 kB / 0.5416 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.005559, allocations: 3.984 kB / 0.5416 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.005578, allocations: 7.312 kB / 0.5416 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005582, allocations: 1.031 kB / 0.5416 GB, free: 36.33 MB / 490.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 4.538e-05/0.005627, allocations: 113.7 kB / 0.5418 GB, free: 36.21 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.005641, allocations: 6.328 kB / 0.5418 GB, free: 36.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.005661, allocations: 12.64 kB / 0.5418 GB, free: 36.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.005663, allocations: 2.438 kB / 0.5418 GB, free: 36.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.005667, allocations: 3.938 kB / 0.5418 GB, free: 36.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00567, allocations: 0 / 0.5418 GB, free: 36.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.477e-05/0.005745, allocations: 108.8 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.005747, allocations: 9.031 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.005762, allocations: 7.531 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005763, allocations: 0 / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-06/0.005771, allocations: 1.438 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.005772, allocations: 0.5 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005772, allocations: 2.219 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.546e-05/0.005858, allocations: 156.2 kB / 0.5421 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.005866, allocations: 6.906 kB / 0.5421 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.005876, allocations: 0 / 0.5421 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.005908, allocations: 3.031 kB / 0.5421 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.005942, allocations: 7.172 kB / 0.5421 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.005945, allocations: 1.438 kB / 0.5421 GB, free: 35.92 MB / 490.8 MB Notification: Performance of sorting global known variables: time 2.951e-05/0.005975, allocations: 90.17 kB / 0.5422 GB, free: 35.84 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005975, allocations: 0 / 0.5422 GB, free: 35.84 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001386/0.006113, allocations: 4.312 kB / 0.5422 GB, free: 35.84 MB / 490.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 6.836e-05/0.006182, allocations: 92.34 kB / 0.5422 GB, free: 35.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 9.092e-05/0.006273, allocations: 22.34 kB / 0.5423 GB, free: 35.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006274, allocations: 0 / 0.5423 GB, free: 35.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.006297, allocations: 23.38 kB / 0.5423 GB, free: 35.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.006461, allocations: 5.969 kB / 0.5423 GB, free: 35.73 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.00672, allocations: 160.7 kB / 0.5425 GB, free: 35.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.006759, allocations: 69.61 kB / 0.5425 GB, free: 35.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.006782, allocations: 14.94 kB / 0.5425 GB, free: 35.49 MB / 490.8 MB Notification: Performance of SimCode: time 3.91e-07/0.006782, allocations: 0 / 0.5425 GB, free: 35.49 MB / 490.8 MB Notification: Performance of Templates: time 0.001601/0.008384, allocations: 0.6558 MB / 0.5432 GB, free: 35.47 MB / 490.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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 800] 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.3076416701078415]