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.008676/0.008676, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.0008479/0.0008479, allocations: 86.08 kB / 25.48 MB, free: 6.41 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.000947/0.000947, allocations: 166.3 kB / 28.89 MB, free: 3.375 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.9521/0.9521, allocations: 177.2 MB / 209.3 MB, free: 2.23 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.7438/0.7438, allocations: 102.5 MB / 368.3 MB, free: 0.7734 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.433e-06/1.433e-06, allocations: 0 / 415.1 MB, free: 2.227 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.286e-05, allocations: 2.312 kB / 415.1 MB, free: 2.223 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.00567/0.005693, allocations: 2.212 MB / 417.3 MB, free: 15.99 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.006823, allocations: 474.5 kB / 417.8 MB, free: 15.53 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.006893, allocations: 0 / 417.8 MB, free: 15.53 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.006928, allocations: 3.938 kB / 417.8 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.006992, allocations: 7.875 kB / 417.8 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.007213, allocations: 27.86 kB / 417.8 MB, free: 15.49 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.007327, allocations: 47.83 kB / 417.8 MB, free: 15.44 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.00742, allocations: 8 kB / 417.9 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.007606, allocations: 23.97 kB / 417.9 MB, free: 15.41 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.007663, allocations: 15.92 kB / 417.9 MB, free: 15.39 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.007682, allocations: 4 kB / 417.9 MB, free: 15.39 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.007749, allocations: 7.984 kB / 417.9 MB, free: 15.38 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.007763, allocations: 4 kB / 417.9 MB, free: 15.38 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.007784, allocations: 15.94 kB / 417.9 MB, free: 15.36 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.007903, allocations: 31.83 kB / 418 MB, free: 15.33 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.007907, allocations: 4 kB / 418 MB, free: 15.33 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007908, allocations: 0 / 418 MB, free: 15.33 MB / 394.8 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.007913, allocations: 0 / 418 MB, free: 15.33 MB / 394.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.0003327/0.008245, allocations: 256.7 kB / 418.2 MB, free: 15.05 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.008287, allocations: 12.03 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.008435, allocations: 16.92 kB / 418.2 MB, free: 15.03 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.008595, allocations: 117.7 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.008605, allocations: 384 / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.008614, allocations: 4.375 kB / 418.4 MB, free: 14.88 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.008734, allocations: 58.94 kB / 418.4 MB, free: 14.82 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.008743, allocations: 4.188 kB / 418.4 MB, free: 14.81 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.00875, allocations: 384 / 418.4 MB, free: 14.81 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.008758, allocations: 3.938 kB / 418.4 MB, free: 14.81 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.008791, allocations: 15.92 kB / 418.4 MB, free: 14.79 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.009095, allocations: 160.2 kB / 418.6 MB, free: 14.62 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.009148, allocations: 22.64 kB / 418.6 MB, free: 14.59 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.009165, allocations: 12.86 kB / 418.6 MB, free: 14.57 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.009176, allocations: 0 / 418.6 MB, free: 14.57 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.009203, allocations: 38.5 kB / 418.7 MB, free: 14.53 MB / 394.8 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.009204, allocations: 4 kB / 418.7 MB, free: 14.52 MB / 394.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.009327, allocations: 37.69 kB / 418.7 MB, free: 14.48 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.009365, allocations: 55.41 kB / 418.8 MB, free: 14.41 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.009443, allocations: 111 kB / 418.9 MB, free: 14.29 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.009455, allocations: 25.7 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.009496, allocations: 96.06 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.009511, allocations: 7.938 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.009545, allocations: 13.72 kB / 419 MB, free: 14.14 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.009638, allocations: 318.8 kB / 419.3 MB, free: 13.82 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.009651, allocations: 0 / 419.3 MB, free: 13.82 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.009665, allocations: 12.11 kB / 419.3 MB, free: 13.8 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.009694, allocations: 12.8 kB / 419.3 MB, free: 13.79 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009696, allocations: 0 / 419.3 MB, free: 13.79 MB / 394.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.808e-05/0.009764, allocations: 41.62 kB / 419.4 MB, free: 13.74 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.009779, allocations: 4 kB / 419.4 MB, free: 13.74 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.009783, allocations: 0 / 419.4 MB, free: 13.74 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.009795, allocations: 0 / 419.4 MB, free: 13.74 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.009858, allocations: 7.938 kB / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.009861, allocations: 0 / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.009887, allocations: 8.094 kB / 419.4 MB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.009895, allocations: 7.984 kB / 419.4 MB, free: 13.71 MB / 394.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 8.96e-05/0.009984, allocations: 105.8 kB / 419.5 MB, free: 13.6 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.01001, allocations: 7.938 kB / 419.5 MB, free: 13.59 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.01004, allocations: 7.625 kB / 419.5 MB, free: 13.59 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.01004, allocations: 0 / 419.5 MB, free: 13.59 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01005, allocations: 3.984 kB / 419.5 MB, free: 13.58 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01005, allocations: 0 / 419.5 MB, free: 13.58 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.01018, allocations: 73.88 kB / 419.6 MB, free: 13.49 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01018, allocations: 0 / 419.6 MB, free: 13.49 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.01023, allocations: 4 kB / 419.6 MB, free: 13.49 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01023, allocations: 4 kB / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.01024, allocations: 3.984 kB / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01024, allocations: 3.938 kB / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01024, allocations: 0 / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.01036, allocations: 131.5 kB / 419.7 MB, free: 13.33 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.01037, allocations: 11.88 kB / 419.8 MB, free: 13.32 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.01038, allocations: 0 / 419.8 MB, free: 13.32 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.01046, allocations: 11.94 kB / 419.8 MB, free: 13.31 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.01048, allocations: 0 / 419.8 MB, free: 13.31 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.01049, allocations: 0 / 419.8 MB, free: 13.31 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.01051, allocations: 24.91 kB / 419.8 MB, free: 13.28 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01051, allocations: 0 / 419.8 MB, free: 13.28 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001998/0.01071, allocations: 4 kB / 419.8 MB, free: 13.28 MB / 394.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 9.542e-05/0.01081, allocations: 72.42 kB / 419.9 MB, free: 13.2 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.01088, allocations: 16.84 kB / 419.9 MB, free: 13.18 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01089, allocations: 0 / 419.9 MB, free: 13.18 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.01091, allocations: 12.8 kB / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.01107, allocations: 7.938 kB / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.01158, allocations: 152.5 kB / 420.1 MB, free: 12.98 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.01162, allocations: 55.36 kB / 420.1 MB, free: 12.91 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.249e-05/0.01164, allocations: 0 / 420.1 MB, free: 12.91 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.01169, allocations: 55.36 kB / 420.2 MB, free: 12.85 MB / 394.8 MB Notification: Performance of SimCode: time 7.31e-07/0.01169, allocations: 0 / 420.2 MB, free: 12.85 MB / 394.8 MB Notification: Performance of Templates: time 0.002431/0.01412, allocations: 401 kB / 420.6 MB, free: 12.46 MB / 394.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 -s gbode -gbm=radauIIA3 -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.268456123303622]