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.008457/0.008457, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001017/0.001017, allocations: 80.45 kB / 26.19 MB, free: 6.078 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.001213/0.001213, allocations: 169 kB / 30.12 MB, free: 2.184 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.9406/0.9406, allocations: 177.2 MB / 211.1 MB, free: 2.273 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.7179/0.7179, allocations: 102.5 MB / 370.6 MB, free: 0.8398 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.102e-06/1.102e-06, allocations: 0 / 471.2 MB, free: 12.43 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.704e-05, allocations: 6.25 kB / 471.2 MB, free: 12.43 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002213/0.00223, allocations: 2.145 MB / 473.4 MB, free: 10.27 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005158/0.002746, allocations: 470.7 kB / 473.8 MB, free: 9.801 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.002795, allocations: 0 / 473.8 MB, free: 9.801 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.002819, allocations: 3.938 kB / 473.8 MB, free: 9.797 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.002865, allocations: 7.875 kB / 473.8 MB, free: 9.789 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.003028, allocations: 23.92 kB / 473.9 MB, free: 9.766 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.00311, allocations: 35.84 kB / 473.9 MB, free: 9.73 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.003184, allocations: 11.98 kB / 473.9 MB, free: 9.719 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/0.003277, allocations: 35.84 kB / 473.9 MB, free: 9.684 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.501e-05/0.003312, allocations: 4 kB / 473.9 MB, free: 9.68 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.003325, allocations: 4 kB / 473.9 MB, free: 9.676 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.003359, allocations: 15.98 kB / 474 MB, free: 9.66 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.00337, allocations: 11.92 kB / 474 MB, free: 9.648 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.003384, allocations: 8 kB / 474 MB, free: 9.641 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.792e-05/0.003462, allocations: 35.83 kB / 474 MB, free: 9.605 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003464, allocations: 0 / 474 MB, free: 9.605 MB / 442.8 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003465, allocations: 0 / 474 MB, free: 9.605 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.003468, allocations: 0 / 474 MB, free: 9.605 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.000273/0.003741, allocations: 384.5 kB / 474.4 MB, free: 9.195 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.00377, allocations: 12.03 kB / 474.4 MB, free: 9.184 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.003864, allocations: 12.89 kB / 474.4 MB, free: 9.172 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.003971, allocations: 136.5 kB / 474.5 MB, free: 9.012 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.003979, allocations: 384 / 474.5 MB, free: 9.012 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.003985, allocations: 8.312 kB / 474.6 MB, free: 9.004 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.244e-05/0.004057, allocations: 58.94 kB / 474.6 MB, free: 8.938 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.004063, allocations: 192 / 474.6 MB, free: 8.938 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.004069, allocations: 4.312 kB / 474.6 MB, free: 8.934 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004074, allocations: 3.938 kB / 474.6 MB, free: 8.93 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.004093, allocations: 7.984 kB / 474.6 MB, free: 8.922 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.004289, allocations: 256.3 kB / 474.9 MB, free: 8.645 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.004327, allocations: 35.05 kB / 474.9 MB, free: 8.598 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.004339, allocations: 7.688 kB / 474.9 MB, free: 8.586 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.004349, allocations: 8 kB / 474.9 MB, free: 8.578 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.004366, allocations: 33.47 kB / 475 MB, free: 8.535 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004367, allocations: 0 / 475 MB, free: 8.535 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 9.821e-05/0.004465, allocations: 41.64 kB / 475 MB, free: 8.488 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.004491, allocations: 55.39 kB / 475.1 MB, free: 8.422 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.004559, allocations: 173.9 kB / 475.2 MB, free: 8.234 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.004567, allocations: 25.7 kB / 475.2 MB, free: 8.203 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.00461, allocations: 139 kB / 475.4 MB, free: 8.062 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.004623, allocations: 11.94 kB / 475.4 MB, free: 8.051 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004648, allocations: 23.36 kB / 475.4 MB, free: 8.02 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.004748, allocations: 492.1 kB / 475.9 MB, free: 7.527 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.00476, allocations: 4 kB / 475.9 MB, free: 7.523 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.004767, allocations: 0 / 475.9 MB, free: 7.523 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.00479, allocations: 19.67 kB / 475.9 MB, free: 7.5 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004791, allocations: 0 / 475.9 MB, free: 7.5 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.251e-05/0.004834, allocations: 41.58 kB / 476 MB, free: 7.453 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.004845, allocations: 8 kB / 476 MB, free: 7.445 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004849, allocations: 4.094 kB / 476 MB, free: 7.441 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.004857, allocations: 0 / 476 MB, free: 7.441 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.004896, allocations: 3.984 kB / 476 MB, free: 7.438 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.004899, allocations: 4 kB / 476 MB, free: 7.434 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.004914, allocations: 0 / 476 MB, free: 7.434 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.004917, allocations: 0 / 476 MB, free: 7.434 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 5.53e-05/0.004972, allocations: 160.6 kB / 476.1 MB, free: 7.266 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.004989, allocations: 11.89 kB / 476.2 MB, free: 7.254 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.005005, allocations: 11.62 kB / 476.2 MB, free: 7.246 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.005006, allocations: 0 / 476.2 MB, free: 7.246 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.005007, allocations: 4 kB / 476.2 MB, free: 7.242 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.005011, allocations: 3.984 kB / 476.2 MB, free: 7.238 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.292e-05/0.005094, allocations: 97.27 kB / 476.3 MB, free: 7.117 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005095, allocations: 3.938 kB / 476.3 MB, free: 7.113 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.005109, allocations: 11.91 kB / 476.3 MB, free: 7.102 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.005109, allocations: 0 / 476.3 MB, free: 7.102 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005113, allocations: 7.938 kB / 476.3 MB, free: 7.094 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005114, allocations: 0 / 476.3 MB, free: 7.094 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005115, allocations: 0 / 476.3 MB, free: 7.094 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.083e-05/0.005186, allocations: 183.9 kB / 476.5 MB, free: 6.895 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.005194, allocations: 19.91 kB / 476.5 MB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005202, allocations: 3.938 kB / 476.5 MB, free: 6.871 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.005232, allocations: 4 kB / 476.5 MB, free: 6.867 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.005252, allocations: 0 / 476.5 MB, free: 6.867 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.005253, allocations: 0 / 476.5 MB, free: 6.867 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.005287, allocations: 131.5 kB / 476.6 MB, free: 6.738 MB / 442.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005287, allocations: 0 / 476.6 MB, free: 6.738 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.000135/0.005422, allocations: 4 kB / 476.6 MB, free: 6.734 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 6.929e-05/0.005492, allocations: 99.19 kB / 476.7 MB, free: 6.625 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.005556, allocations: 19.67 kB / 476.7 MB, free: 6.602 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005557, allocations: 0 / 476.7 MB, free: 6.602 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.005572, allocations: 11.69 kB / 476.8 MB, free: 6.586 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.005746, allocations: 4 kB / 476.8 MB, free: 6.582 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.006113, allocations: 146.1 kB / 476.9 MB, free: 6.41 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.006147, allocations: 55.36 kB / 477 MB, free: 6.336 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.078e-05/0.006167, allocations: 11.89 kB / 477 MB, free: 6.324 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.006204, allocations: 70.33 kB / 477 MB, free: 6.254 MB / 442.8 MB Notification: Performance of SimCode: time 4.01e-07/0.006205, allocations: 0 / 477 MB, free: 6.254 MB / 442.8 MB Notification: Performance of Templates: time 0.001923/0.008128, allocations: 430.5 kB / 477.5 MB, free: 5.832 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","",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.416707586031407]