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.01967/0.01967, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.01093/0.01093, allocations: 83.45 kB / 24.44 MB, free: 7.531 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.00218/0.00218, allocations: 160.8 kB / 28.2 MB, free: 4.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 1.521/1.521, allocations: 177.2 MB / 209 MB, free: 2.789 MB / 186.7 MB " [Timeout remaining time 178] 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 1.252/1.252, allocations: 102.5 MB / 368.3 MB, free: 1.262 MB / 330.8 MB " [Timeout remaining time 178] 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.914e-06/1.914e-06, allocations: 0 / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.531e-05/4.722e-05, allocations: 2.312 kB / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.005514/0.005561, allocations: 2.095 MB / 470.4 MB, free: 11.39 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.006914, allocations: 442.8 kB / 470.8 MB, free: 10.95 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.007, allocations: 0 / 470.8 MB, free: 10.95 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.007045, allocations: 7.938 kB / 470.8 MB, free: 10.94 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.007123, allocations: 3.938 kB / 470.8 MB, free: 10.94 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.007512, allocations: 31.83 kB / 470.8 MB, free: 10.91 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.007686, allocations: 39.86 kB / 470.9 MB, free: 10.87 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.007812, allocations: 4 kB / 470.9 MB, free: 10.86 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.008032, allocations: 35.89 kB / 470.9 MB, free: 10.83 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.008094, allocations: 15.92 kB / 470.9 MB, free: 10.81 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.008113, allocations: 8 kB / 470.9 MB, free: 10.8 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.008164, allocations: 4 kB / 470.9 MB, free: 10.8 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.008179, allocations: 4 kB / 470.9 MB, free: 10.8 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.008213, allocations: 7.938 kB / 470.9 MB, free: 10.79 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.008373, allocations: 47.81 kB / 471 MB, free: 10.74 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.00838, allocations: 0 / 471 MB, free: 10.74 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.008381, allocations: 0 / 471 MB, free: 10.74 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.008388, allocations: 0 / 471 MB, free: 10.74 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.0006341/0.009022, allocations: 278.2 kB / 471.3 MB, free: 10.44 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.00907, allocations: 8.031 kB / 471.3 MB, free: 10.43 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.009276, allocations: 28.88 kB / 471.3 MB, free: 10.41 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.00955, allocations: 117.7 kB / 471.4 MB, free: 10.27 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.009566, allocations: 4.375 kB / 471.4 MB, free: 10.26 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.00958, allocations: 8.312 kB / 471.4 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.009746, allocations: 50.23 kB / 471.5 MB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.009756, allocations: 192 / 471.5 MB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.009772, allocations: 4.375 kB / 471.5 MB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.009782, allocations: 7.938 kB / 471.5 MB, free: 10.19 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.009891, allocations: 23.97 kB / 471.5 MB, free: 10.16 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.01036, allocations: 232.4 kB / 471.7 MB, free: 9.906 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.01046, allocations: 26.52 kB / 471.8 MB, free: 9.871 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.01051, allocations: 16.91 kB / 471.8 MB, free: 9.852 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01053, allocations: 0 / 471.8 MB, free: 9.852 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.01056, allocations: 34.56 kB / 471.8 MB, free: 9.809 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.01056, allocations: 0 / 471.8 MB, free: 9.809 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0002808/0.01084, allocations: 65.7 kB / 471.9 MB, free: 9.738 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.0109, allocations: 55.44 kB / 471.9 MB, free: 9.672 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01103, allocations: 113.8 kB / 472 MB, free: 9.551 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.01106, allocations: 25.7 kB / 472.1 MB, free: 9.52 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01117, allocations: 100.1 kB / 472.2 MB, free: 9.418 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.01119, allocations: 3.953 kB / 472.2 MB, free: 9.414 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.01123, allocations: 13.72 kB / 472.2 MB, free: 9.395 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01142, allocations: 318.8 kB / 472.5 MB, free: 9.074 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.01147, allocations: 7.984 kB / 472.5 MB, free: 9.066 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.0115, allocations: 7.938 kB / 472.5 MB, free: 9.059 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.01157, allocations: 28.91 kB / 472.5 MB, free: 9.027 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.01158, allocations: 3.938 kB / 472.5 MB, free: 9.023 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001393/0.01172, allocations: 57.61 kB / 472.6 MB, free: 8.961 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01173, allocations: 4 kB / 472.6 MB, free: 8.957 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.01174, allocations: 4 kB / 472.6 MB, free: 8.953 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01176, allocations: 0 / 472.6 MB, free: 8.953 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.01183, allocations: 0 / 472.6 MB, free: 8.953 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.01184, allocations: 4 kB / 472.6 MB, free: 8.949 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.01188, allocations: 8.016 kB / 472.6 MB, free: 8.941 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.01189, allocations: 4 kB / 472.6 MB, free: 8.938 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.0001231/0.01201, allocations: 113.8 kB / 472.7 MB, free: 8.816 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.01204, allocations: 7.953 kB / 472.7 MB, free: 8.809 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.01207, allocations: 7.625 kB / 472.8 MB, free: 8.801 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01207, allocations: 0 / 472.8 MB, free: 8.801 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01208, allocations: 3.984 kB / 472.8 MB, free: 8.797 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.01208, allocations: 4 kB / 472.8 MB, free: 8.793 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.01224, allocations: 109.3 kB / 472.9 MB, free: 8.656 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.01225, allocations: 7.922 kB / 472.9 MB, free: 8.648 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.01228, allocations: 4 kB / 472.9 MB, free: 8.645 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01229, allocations: 4 kB / 472.9 MB, free: 8.641 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.0123, allocations: 7.938 kB / 472.9 MB, free: 8.633 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.0123, allocations: 0 / 472.9 MB, free: 8.633 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0123, allocations: 0 / 472.9 MB, free: 8.633 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.0125, allocations: 147.5 kB / 473 MB, free: 8.473 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.01252, allocations: 11.94 kB / 473 MB, free: 8.461 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.01253, allocations: 0 / 473 MB, free: 8.461 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.01261, allocations: 4 kB / 473.1 MB, free: 8.457 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.01267, allocations: 8.016 kB / 473.1 MB, free: 8.449 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.01267, allocations: 0 / 473.1 MB, free: 8.449 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.01274, allocations: 87.28 kB / 473.1 MB, free: 8.363 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01274, allocations: 0 / 473.1 MB, free: 8.363 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002229/0.01296, allocations: 11.94 kB / 473.2 MB, free: 8.352 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.0001271/0.01309, allocations: 95.23 kB / 473.2 MB, free: 8.246 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01323, allocations: 23.92 kB / 473.3 MB, free: 8.223 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01323, allocations: 0 / 473.3 MB, free: 8.223 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.751e-05/0.01327, allocations: 20 kB / 473.3 MB, free: 8.203 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.0135, allocations: 7.062 kB / 473.3 MB, free: 8.199 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.0139, allocations: 140.6 kB / 473.4 MB, free: 8.035 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.143e-05/0.01398, allocations: 67.25 kB / 473.5 MB, free: 7.949 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.01401, allocations: 3.938 kB / 473.5 MB, free: 7.945 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.01405, allocations: 12.5 kB / 473.5 MB, free: 7.934 MB / 442.8 MB Notification: Performance of SimCode: time 6.71e-07/0.01405, allocations: 0 / 473.5 MB, free: 7.934 MB / 442.8 MB Notification: Performance of Templates: time 0.003066/0.01711, allocations: 400.7 kB / 473.9 MB, free: 7.547 MB / 442.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: 6.218235846958123]