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.01322/0.01322, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.001096/0.001096, allocations: 89.42 kB / 25.4 MB, free: 6.5 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.0008728/0.0008728, allocations: 161.6 kB / 29.33 MB, free: 2.973 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.9352/0.9352, allocations: 177.2 MB / 210.3 MB, free: 3.418 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.6703/0.6703, allocations: 102.4 MB / 369.9 MB, free: 176 kB / 330.7 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.863e-06/1.863e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.815e-05, allocations: 5.156 kB / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002818/0.002846, allocations: 2.147 MB / 472.6 MB, free: 17.4 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.003562, allocations: 453.8 kB / 473 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.003624, allocations: 0 / 473 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.003654, allocations: 8 kB / 473 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.003709, allocations: 6.844 kB / 473 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.003922, allocations: 21.09 kB / 473 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.004017, allocations: 38.5 kB / 473.1 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.00411, allocations: 20.84 kB / 473.1 MB, free: 17.06 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.00424, allocations: 31.48 kB / 473.1 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.004288, allocations: 17.55 kB / 473.1 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004303, allocations: 2.875 kB / 473.2 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.004345, allocations: 9.297 kB / 473.2 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.004357, allocations: 10.25 kB / 473.2 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.004376, allocations: 6.656 kB / 473.2 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.004478, allocations: 34.02 kB / 473.2 MB, free: 17.01 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00448, allocations: 0 / 473.2 MB, free: 17.01 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004481, allocations: 0 / 473.2 MB, free: 17.01 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004485, allocations: 0 / 473.2 MB, free: 17.01 MB / 410.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.0003019/0.004787, allocations: 384.5 kB / 473.6 MB, free: 16.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.004833, allocations: 10.31 kB / 473.6 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.004956, allocations: 12.86 kB / 473.6 MB, free: 16.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.00506, allocations: 132.3 kB / 473.7 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.00507, allocations: 384 / 473.7 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.005079, allocations: 4.047 kB / 473.7 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.005176, allocations: 57.73 kB / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.005184, allocations: 0.7188 kB / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.00519, allocations: 384 / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005196, allocations: 7.562 kB / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.00522, allocations: 5.375 kB / 473.8 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.005464, allocations: 261 kB / 474.1 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.005507, allocations: 28.14 kB / 474.1 MB, free: 16.14 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.005524, allocations: 17.77 kB / 474.1 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.005542, allocations: 3.938 kB / 474.1 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.005561, allocations: 40.42 kB / 474.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.005562, allocations: 0 / 474.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.00569, allocations: 43.3 kB / 474.2 MB, free: 16.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.005711, allocations: 51.97 kB / 474.2 MB, free: 15.98 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.005777, allocations: 170.9 kB / 474.4 MB, free: 15.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.005783, allocations: 30.14 kB / 474.4 MB, free: 15.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.005815, allocations: 134.2 kB / 474.6 MB, free: 15.64 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.00583, allocations: 13.16 kB / 474.6 MB, free: 15.63 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.005859, allocations: 22.16 kB / 474.6 MB, free: 15.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004488/0.006307, allocations: 495.4 kB / 475.1 MB, free: 31.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.006322, allocations: 2.781 kB / 475.1 MB, free: 31.11 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.006331, allocations: 0 / 475.1 MB, free: 31.11 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.00636, allocations: 21.92 kB / 475.1 MB, free: 31.09 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006362, allocations: 0.9688 kB / 475.1 MB, free: 31.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.477e-05/0.006427, allocations: 45.06 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.00644, allocations: 6.281 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006445, allocations: 0 / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.006457, allocations: 0.5625 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.006512, allocations: 3.5 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006515, allocations: 3.281 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.00654, allocations: 3.75 kB / 475.2 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.006544, allocations: 3.938 kB / 475.2 MB, free: 31.05 MB / 426.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 7.612e-05/0.00662, allocations: 161.9 kB / 475.3 MB, free: 30.89 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.006646, allocations: 6.688 kB / 475.3 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.006669, allocations: 3.625 kB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.006672, allocations: 6.719 kB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.006674, allocations: 4 kB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006677, allocations: 0.8125 kB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.00678, allocations: 102.2 kB / 475.5 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006782, allocations: 0.9688 kB / 475.5 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.006807, allocations: 2.562 kB / 475.5 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.006809, allocations: 0 / 475.5 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006816, allocations: 14.06 kB / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006817, allocations: 0 / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006818, allocations: 0 / 475.5 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.00693, allocations: 191.6 kB / 475.7 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.006937, allocations: 0 / 475.7 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.006947, allocations: 3.938 kB / 475.7 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.007001, allocations: 7.016 kB / 475.7 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.007028, allocations: 0 / 475.7 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007032, allocations: 0 / 475.7 MB, free: 30.56 MB / 426.8 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.007084, allocations: 140 kB / 475.8 MB, free: 30.43 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.007084, allocations: 2.625 kB / 475.8 MB, free: 30.43 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002233/0.007307, allocations: 2.5 kB / 475.8 MB, free: 30.43 MB / 426.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 8.691e-05/0.007394, allocations: 92.03 kB / 475.9 MB, free: 30.35 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.799e-05/0.007462, allocations: 17.95 kB / 475.9 MB, free: 30.34 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007464, allocations: 0 / 475.9 MB, free: 30.34 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.007481, allocations: 12 kB / 475.9 MB, free: 30.32 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.00771, allocations: 5.031 kB / 475.9 MB, free: 30.32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.00814, allocations: 153.7 kB / 476.1 MB, free: 30.18 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.008169, allocations: 58.03 kB / 476.1 MB, free: 30.11 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.008193, allocations: 1.25 kB / 476.2 MB, free: 30.11 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.008238, allocations: 73.89 kB / 476.2 MB, free: 30.04 MB / 426.8 MB Notification: Performance of SimCode: time 6.52e-07/0.008239, allocations: 0 / 476.2 MB, free: 30.04 MB / 426.8 MB Notification: Performance of Templates: time 0.002565/0.0108, allocations: 431.9 kB / 476.6 MB, free: 29.99 MB / 426.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.5759983551688492]