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.01787/0.01787, allocations: 1.454 MB / 20.81 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.009381/0.009381, allocations: 82.17 kB / 24.44 MB, free: 7.012 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.002202/0.002202, allocations: 168 kB / 28.2 MB, free: 4.535 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.483/1.483, allocations: 177.1 MB / 209 MB, free: 2.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.095/1.095, allocations: 102.5 MB / 368.4 MB, free: 1.309 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 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_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.994e-06/1.994e-06, allocations: 3.938 kB / 468.3 MB, free: 13.55 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.66e-05, allocations: 9.125 kB / 468.3 MB, free: 13.54 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003875/0.003911, allocations: 2.078 MB / 470.4 MB, free: 11.45 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.004911, allocations: 438.9 kB / 470.8 MB, free: 11.02 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.004973, allocations: 0 / 470.8 MB, free: 11.02 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.005006, allocations: 3.938 kB / 470.8 MB, free: 11.01 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.005059, allocations: 7.875 kB / 470.8 MB, free: 11 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.005307, allocations: 39.83 kB / 470.8 MB, free: 10.96 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.00543, allocations: 31.86 kB / 470.9 MB, free: 10.93 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.005518, allocations: 8 kB / 470.9 MB, free: 10.93 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.005669, allocations: 35.89 kB / 470.9 MB, free: 10.89 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.005719, allocations: 15.92 kB / 470.9 MB, free: 10.88 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.005738, allocations: 4 kB / 470.9 MB, free: 10.87 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.005781, allocations: 4 kB / 470.9 MB, free: 10.87 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.005798, allocations: 8 kB / 470.9 MB, free: 10.86 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.005835, allocations: 15.92 kB / 471 MB, free: 10.84 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.005971, allocations: 39.83 kB / 471 MB, free: 10.8 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005974, allocations: 0 / 471 MB, free: 10.8 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005975, allocations: 0 / 471 MB, free: 10.8 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.005979, allocations: 0 / 471 MB, free: 10.8 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.0004982/0.006477, allocations: 278.2 kB / 471.3 MB, free: 10.5 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.006526, allocations: 16.03 kB / 471.3 MB, free: 10.49 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.006708, allocations: 16.88 kB / 471.3 MB, free: 10.47 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.006957, allocations: 129.7 kB / 471.4 MB, free: 10.32 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.006981, allocations: 384 / 471.4 MB, free: 10.32 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.006995, allocations: 4.375 kB / 471.4 MB, free: 10.32 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.007397, allocations: 54.23 kB / 471.5 MB, free: 10.26 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007408, allocations: 4.172 kB / 471.5 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.007419, allocations: 384 / 471.5 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.007429, allocations: 7.938 kB / 471.5 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.007535, allocations: 31.92 kB / 471.5 MB, free: 10.21 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.007978, allocations: 220.5 kB / 471.8 MB, free: 9.969 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.008087, allocations: 38.44 kB / 471.8 MB, free: 9.922 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.008133, allocations: 12.92 kB / 471.8 MB, free: 9.906 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.008151, allocations: 4 kB / 471.8 MB, free: 9.902 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.008183, allocations: 30.56 kB / 471.8 MB, free: 9.863 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.008184, allocations: 4 kB / 471.8 MB, free: 9.859 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0002533/0.008437, allocations: 61.67 kB / 471.9 MB, free: 9.793 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.008486, allocations: 51.41 kB / 471.9 MB, free: 9.73 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.008615, allocations: 121.7 kB / 472.1 MB, free: 9.602 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.008635, allocations: 25.7 kB / 472.1 MB, free: 9.57 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.008713, allocations: 96.08 kB / 472.2 MB, free: 9.473 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.008727, allocations: 3.953 kB / 472.2 MB, free: 9.469 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.008766, allocations: 17.72 kB / 472.2 MB, free: 9.445 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.008957, allocations: 314.8 kB / 472.5 MB, free: 9.129 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.009005, allocations: 12 kB / 472.5 MB, free: 9.117 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.009043, allocations: 12.11 kB / 472.5 MB, free: 9.105 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.009126, allocations: 20.86 kB / 472.6 MB, free: 9.082 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.00913, allocations: 3.938 kB / 472.6 MB, free: 9.078 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001346/0.009265, allocations: 57.66 kB / 472.6 MB, free: 9.016 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.009279, allocations: 7.938 kB / 472.6 MB, free: 9.008 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.009283, allocations: 0 / 472.6 MB, free: 9.008 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.009299, allocations: 0 / 472.6 MB, free: 9.008 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.009363, allocations: 4 kB / 472.6 MB, free: 9.004 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009368, allocations: 4.094 kB / 472.6 MB, free: 9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.009413, allocations: 7.984 kB / 472.6 MB, free: 8.992 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.009418, allocations: 0 / 472.6 MB, free: 8.992 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.00011/0.009528, allocations: 117.8 kB / 472.8 MB, free: 8.867 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.009556, allocations: 7.891 kB / 472.8 MB, free: 8.859 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.009576, allocations: 7.625 kB / 472.8 MB, free: 8.852 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009578, allocations: 0 / 472.8 MB, free: 8.852 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009581, allocations: 0 / 472.8 MB, free: 8.852 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.009583, allocations: 0 / 472.8 MB, free: 8.852 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.009756, allocations: 117.3 kB / 472.9 MB, free: 8.707 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.009761, allocations: 7.938 kB / 472.9 MB, free: 8.699 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.009803, allocations: 4 kB / 472.9 MB, free: 8.695 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009805, allocations: 0 / 472.9 MB, free: 8.695 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.009811, allocations: 0 / 472.9 MB, free: 8.695 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009812, allocations: 0 / 472.9 MB, free: 8.695 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009813, allocations: 0 / 472.9 MB, free: 8.695 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.01002, allocations: 151.5 kB / 473 MB, free: 8.531 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.01003, allocations: 7.891 kB / 473.1 MB, free: 8.523 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01005, allocations: 4 kB / 473.1 MB, free: 8.52 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.01012, allocations: 4.031 kB / 473.1 MB, free: 8.516 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.01016, allocations: 11.98 kB / 473.1 MB, free: 8.504 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.01017, allocations: 0 / 473.1 MB, free: 8.504 MB / 442.8 MB Notification: Performance of sorting global known variables: time 7.175e-05/0.01024, allocations: 91.27 kB / 473.2 MB, free: 8.414 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 473.2 MB, free: 8.414 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002325/0.01047, allocations: 11.94 kB / 473.2 MB, free: 8.402 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.0001214/0.01059, allocations: 91.25 kB / 473.3 MB, free: 8.301 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01074, allocations: 23.98 kB / 473.3 MB, free: 8.277 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01074, allocations: 3.938 kB / 473.3 MB, free: 8.273 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.01078, allocations: 8.062 kB / 473.3 MB, free: 8.266 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01101, allocations: 11.92 kB / 473.3 MB, free: 8.254 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.01138, allocations: 136.6 kB / 473.4 MB, free: 8.094 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.447e-05/0.01146, allocations: 71.25 kB / 473.5 MB, free: 8.004 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.01149, allocations: 0 / 473.5 MB, free: 8.004 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01152, allocations: 12.48 kB / 473.5 MB, free: 7.992 MB / 442.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01153, allocations: 64 / 473.5 MB, free: 7.992 MB / 442.8 MB Notification: Performance of Templates: time 0.002772/0.0143, allocations: 396.8 kB / 473.9 MB, free: 7.609 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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_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_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_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: 5.707353787962347]