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.00838/0.00838, 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.000911/0.000911, allocations: 88.08 kB / 25.49 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.001053/0.001053, allocations: 166.6 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.9394/0.9394, allocations: 177.2 MB / 209.3 MB, free: 2.227 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.8016/0.8016, allocations: 102.4 MB / 368.3 MB, free: 0.7773 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 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_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.142e-06/1.142e-06, allocations: 0 / 415 MB, free: 2.27 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.963e-05, allocations: 4.844 kB / 415 MB, free: 2.266 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002208/0.002228, allocations: 2.163 MB / 417.2 MB, free: 88 kB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.000659/0.002887, allocations: 470.6 kB / 417.6 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.002935, allocations: 8 kB / 417.6 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.002958, allocations: 3.938 kB / 417.7 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.003002, allocations: 3.938 kB / 417.7 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.00317, allocations: 31.83 kB / 417.7 MB, free: 15.57 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 8.187e-05/0.003252, allocations: 35.86 kB / 417.7 MB, free: 15.54 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.003316, allocations: 8 kB / 417.7 MB, free: 15.53 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003421, allocations: 35.89 kB / 417.8 MB, free: 15.5 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.106e-05/0.003462, allocations: 11.92 kB / 417.8 MB, free: 15.48 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003475, allocations: 4 kB / 417.8 MB, free: 15.48 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.003511, allocations: 8 kB / 417.8 MB, free: 15.47 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.003521, allocations: 4 kB / 417.8 MB, free: 15.47 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.003535, allocations: 15.92 kB / 417.8 MB, free: 15.45 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 8.381e-05/0.003619, allocations: 35.84 kB / 417.8 MB, free: 15.42 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003621, allocations: 0 / 417.8 MB, free: 15.42 MB / 394.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003621, allocations: 0 / 417.8 MB, free: 15.42 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.003624, allocations: 0 / 417.8 MB, free: 15.42 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.0002348/0.003859, allocations: 256.7 kB / 418.1 MB, free: 15.14 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.003887, allocations: 12.03 kB / 418.1 MB, free: 15.13 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.003972, allocations: 12.92 kB / 418.1 MB, free: 15.12 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.004312, allocations: 121.7 kB / 418.2 MB, free: 14.98 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.004318, allocations: 4.375 kB / 418.2 MB, free: 14.97 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.004328, allocations: 12.36 kB / 418.3 MB, free: 14.96 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.487e-05/0.004403, allocations: 54.94 kB / 418.3 MB, free: 14.9 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.004408, allocations: 192 / 418.3 MB, free: 14.9 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.004414, allocations: 4.375 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004419, allocations: 3.938 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.004438, allocations: 11.94 kB / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.004607, allocations: 164.2 kB / 418.5 MB, free: 14.7 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.337e-05/0.00464, allocations: 22.52 kB / 418.5 MB, free: 14.67 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.086e-05/0.004651, allocations: 12.92 kB / 418.5 MB, free: 14.66 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.00466, allocations: 0 / 418.5 MB, free: 14.66 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.004678, allocations: 34.5 kB / 418.6 MB, free: 14.61 MB / 394.8 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.004679, allocations: 0 / 418.6 MB, free: 14.61 MB / 394.8 MB Notification: Performance of matching and sorting (n=2): time 8.57e-05/0.004764, allocations: 37.69 kB / 418.6 MB, free: 14.57 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.00479, allocations: 51.41 kB / 418.6 MB, free: 14.51 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.004846, allocations: 122.7 kB / 418.8 MB, free: 14.38 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.004855, allocations: 29.7 kB / 418.8 MB, free: 14.34 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.004885, allocations: 92.08 kB / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.004897, allocations: 0 / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.004918, allocations: 17.84 kB / 418.9 MB, free: 14.22 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.00499, allocations: 322.8 kB / 419.2 MB, free: 13.9 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.004996, allocations: 0 / 419.2 MB, free: 13.9 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.005005, allocations: 4 kB / 419.2 MB, free: 13.89 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.005024, allocations: 8.859 kB / 419.2 MB, free: 13.88 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005025, allocations: 0 / 419.2 MB, free: 13.88 MB / 394.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.88e-05/0.005064, allocations: 41.62 kB / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.005076, allocations: 4 kB / 419.3 MB, free: 13.83 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.005079, allocations: 3.938 kB / 419.3 MB, free: 13.83 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.005088, allocations: 4.094 kB / 419.3 MB, free: 13.82 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.114e-05/0.005129, allocations: 4 kB / 419.3 MB, free: 13.82 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.005132, allocations: 0 / 419.3 MB, free: 13.82 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.005148, allocations: 7.922 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005153, allocations: 4 kB / 419.3 MB, free: 13.81 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 5.271e-05/0.005205, allocations: 109.8 kB / 419.4 MB, free: 13.69 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.005218, allocations: 3.938 kB / 419.4 MB, free: 13.69 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.005234, allocations: 7.625 kB / 419.4 MB, free: 13.68 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005235, allocations: 0 / 419.4 MB, free: 13.68 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005237, allocations: 0 / 419.4 MB, free: 13.68 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005239, allocations: 4 kB / 419.4 MB, free: 13.68 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.324e-05/0.005322, allocations: 73.88 kB / 419.5 MB, free: 13.59 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005324, allocations: 4 kB / 419.5 MB, free: 13.58 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.005336, allocations: 7.984 kB / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005337, allocations: 0 / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.005341, allocations: 0 / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.005342, allocations: 3.938 kB / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005343, allocations: 0 / 419.5 MB, free: 13.57 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.471e-05/0.005407, allocations: 135.5 kB / 419.6 MB, free: 13.42 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.005414, allocations: 11.89 kB / 419.6 MB, free: 13.41 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-06/0.005421, allocations: 32 / 419.6 MB, free: 13.41 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.834e-05/0.005449, allocations: 11.94 kB / 419.7 MB, free: 13.4 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.005474, allocations: 3.984 kB / 419.7 MB, free: 13.39 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.005476, allocations: 0 / 419.7 MB, free: 13.39 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.504e-05/0.005491, allocations: 16.84 kB / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005491, allocations: 0 / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000113/0.005604, allocations: 4 kB / 419.7 MB, free: 13.37 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 6.13e-05/0.005665, allocations: 76.42 kB / 419.8 MB, free: 13.29 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 4.348e-05/0.005709, allocations: 16.84 kB / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.00571, allocations: 4.062 kB / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.005722, allocations: 12.8 kB / 419.8 MB, free: 13.25 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.253e-05/0.005814, allocations: 0 / 419.8 MB, free: 13.25 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.006131, allocations: 152.3 kB / 419.9 MB, free: 13.07 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.859e-05/0.006159, allocations: 55.36 kB / 420 MB, free: 13 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.365e-05/0.006173, allocations: 3.984 kB / 420 MB, free: 13 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.006203, allocations: 51.38 kB / 420 MB, free: 12.95 MB / 394.8 MB Notification: Performance of SimCode: time 4.21e-07/0.006204, allocations: 4.062 kB / 420.1 MB, free: 12.94 MB / 394.8 MB Notification: Performance of Templates: time 0.001591/0.007795, allocations: 399.6 kB / 420.4 MB, free: 12.55 MB / 394.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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_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_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: 3.402547241654247]