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.006379/0.006379, allocations: 1.447 MB / 21.3 MB, free: 3.254 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.0006722/0.0006722, allocations: 91.08 kB / 24.91 MB, free: 7.262 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.001816/0.001816, allocations: 167.5 kB / 28.62 MB, free: 4.449 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.9149/0.9149, allocations: 177.2 MB / 209.4 MB, free: 2.98 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.7501/0.7501, allocations: 102.4 MB / 368.7 MB, free: 1.449 MB / 330.8 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 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_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.432e-06/1.432e-06, allocations: 0 / 0.5374 GB, free: 39.74 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.917e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.73 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002166/0.002195, allocations: 2.086 MB / 0.5394 GB, free: 38.3 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.002781, allocations: 454.6 kB / 0.5398 GB, free: 38 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.002839, allocations: 1.25 kB / 0.5398 GB, free: 38 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.002868, allocations: 4.875 kB / 0.5398 GB, free: 38 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.002914, allocations: 9.375 kB / 0.5398 GB, free: 37.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.003142, allocations: 28.08 kB / 0.5399 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003243, allocations: 40.14 kB / 0.5399 GB, free: 37.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003344, allocations: 11.94 kB / 0.5399 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.003469, allocations: 32.05 kB / 0.5399 GB, free: 37.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.003518, allocations: 15.14 kB / 0.54 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.003534, allocations: 2.562 kB / 0.54 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.003576, allocations: 5.844 kB / 0.54 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.003588, allocations: 9.578 kB / 0.54 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.003609, allocations: 8.562 kB / 0.54 GB, free: 37.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003728, allocations: 46.86 kB / 0.54 GB, free: 37.9 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003731, allocations: 1.469 kB / 0.54 GB, free: 37.9 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.003733, allocations: 0.6562 kB / 0.54 GB, free: 37.9 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003737, allocations: 0 / 0.54 GB, free: 37.9 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.0003071/0.004044, allocations: 276.8 kB / 0.5403 GB, free: 37.62 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.004092, allocations: 10.12 kB / 0.5403 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.004203, allocations: 21.16 kB / 0.5403 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.00434, allocations: 121.8 kB / 0.5404 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.00435, allocations: 3.656 kB / 0.5404 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.004359, allocations: 5.656 kB / 0.5405 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.004469, allocations: 53.91 kB / 0.5405 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004477, allocations: 1.281 kB / 0.5405 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.004486, allocations: 1.219 kB / 0.5405 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004491, allocations: 5.156 kB / 0.5405 GB, free: 37.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.004557, allocations: 33.94 kB / 0.5405 GB, free: 37.42 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.004825, allocations: 223.2 kB / 0.5408 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.004891, allocations: 31.09 kB / 0.5408 GB, free: 37.18 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.00492, allocations: 14.61 kB / 0.5408 GB, free: 37.17 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.004936, allocations: 1.5 kB / 0.5408 GB, free: 37.17 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.004952, allocations: 39.34 kB / 0.5408 GB, free: 37.12 MB / 490.8 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.004953, allocations: 0 / 0.5408 GB, free: 37.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.00513, allocations: 59.72 kB / 0.5409 GB, free: 37.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.005154, allocations: 54.78 kB / 0.541 GB, free: 37.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.005218, allocations: 119.3 kB / 0.5411 GB, free: 36.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.005225, allocations: 25.7 kB / 0.5411 GB, free: 36.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.005261, allocations: 97.45 kB / 0.5412 GB, free: 36.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.005275, allocations: 3.953 kB / 0.5412 GB, free: 36.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.0053, allocations: 17.44 kB / 0.5412 GB, free: 36.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.944e-05/0.005339, allocations: 314.9 kB / 0.5415 GB, free: 36.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.005361, allocations: 8.906 kB / 0.5415 GB, free: 36.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.005381, allocations: 13.31 kB / 0.5415 GB, free: 36.45 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.005426, allocations: 26.88 kB / 0.5415 GB, free: 36.43 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.005428, allocations: 3.938 kB / 0.5416 GB, free: 36.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.587e-05/0.005494, allocations: 52.92 kB / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.005509, allocations: 4.844 kB / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.005513, allocations: 2.594 kB / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.005525, allocations: 0 / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.005578, allocations: 6.047 kB / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.005583, allocations: 1.25 kB / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.005602, allocations: 8.125 kB / 0.5416 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005607, allocations: 0 / 0.5416 GB, free: 36.39 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.53e-05/0.005652, allocations: 121.6 kB / 0.5417 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.005664, allocations: 5.578 kB / 0.5417 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.005686, allocations: 4.75 kB / 0.5418 GB, free: 36.26 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.005688, allocations: 6.516 kB / 0.5418 GB, free: 36.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.005692, allocations: 0 / 0.5418 GB, free: 36.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005695, allocations: 1.125 kB / 0.5418 GB, free: 36.26 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.284e-05/0.005778, allocations: 112.5 kB / 0.5419 GB, free: 36.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00578, allocations: 12.11 kB / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.005796, allocations: 4.125 kB / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005798, allocations: 3.875 kB / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.005805, allocations: 0 / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005806, allocations: 0 / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005807, allocations: 1 kB / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.557e-05/0.005893, allocations: 147.8 kB / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.005899, allocations: 5.094 kB / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.00591, allocations: 1.094 kB / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.00595, allocations: 7.766 kB / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.005988, allocations: 0 / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.005991, allocations: 2.531 kB / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.006019, allocations: 94.31 kB / 0.5421 GB, free: 35.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006019, allocations: 1.219 kB / 0.5421 GB, free: 35.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001491/0.006168, allocations: 12.78 kB / 0.5421 GB, free: 35.89 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.397e-05/0.006232, allocations: 97.94 kB / 0.5422 GB, free: 35.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 9.653e-05/0.006329, allocations: 20.86 kB / 0.5423 GB, free: 35.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00633, allocations: 2.281 kB / 0.5423 GB, free: 35.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.006355, allocations: 14.25 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.006517, allocations: 5.594 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.006792, allocations: 162.2 kB / 0.5424 GB, free: 35.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.006832, allocations: 68.66 kB / 0.5425 GB, free: 35.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.006855, allocations: 11.5 kB / 0.5425 GB, free: 35.55 MB / 490.8 MB Notification: Performance of SimCode: time 3.5e-07/0.006855, allocations: 0.875 kB / 0.5425 GB, free: 35.55 MB / 490.8 MB Notification: Performance of Templates: time 0.001666/0.008521, allocations: 0.6642 MB / 0.5432 GB, free: 35.52 MB / 490.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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_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_dev_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_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: 5.387241391465068]