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.00859/0.00859, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.0008525/0.0008525, allocations: 89.38 kB / 25.62 MB, free: 6.523 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.0009294/0.0009294, allocations: 166.6 kB / 29.46 MB, free: 3.023 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.9387/0.9387, allocations: 177.1 MB / 210.3 MB, free: 1.742 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.756/0.756, allocations: 102.4 MB / 369.8 MB, free: 0.9336 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 2.164e-06/2.164e-06, allocations: 0 / 469.8 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.77e-05, allocations: 2.312 kB / 469.8 MB, free: 13 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003828/0.003865, allocations: 2.156 MB / 472 MB, free: 10.83 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.004843, allocations: 462.7 kB / 472.4 MB, free: 10.37 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.00493, allocations: 4 kB / 472.4 MB, free: 10.37 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.004969, allocations: 3.938 kB / 472.4 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.005033, allocations: 4 kB / 472.4 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.005336, allocations: 31.83 kB / 472.5 MB, free: 10.33 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.005478, allocations: 35.86 kB / 472.5 MB, free: 10.29 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.005604, allocations: 11.98 kB / 472.5 MB, free: 10.28 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.005802, allocations: 35.84 kB / 472.6 MB, free: 10.25 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.005866, allocations: 15.92 kB / 472.6 MB, free: 10.23 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.005884, allocations: 0 / 472.6 MB, free: 10.23 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.00594, allocations: 8 kB / 472.6 MB, free: 10.22 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.005954, allocations: 4 kB / 472.6 MB, free: 10.22 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.00599, allocations: 19.91 kB / 472.6 MB, free: 10.2 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.006142, allocations: 23.92 kB / 472.6 MB, free: 10.18 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.006147, allocations: 0 / 472.6 MB, free: 10.18 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006148, allocations: 0 / 472.6 MB, free: 10.18 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.006154, allocations: 4 kB / 472.6 MB, free: 10.17 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.0004782/0.006632, allocations: 388.4 kB / 473 MB, free: 9.758 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.00668, allocations: 8.031 kB / 473 MB, free: 9.75 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.006861, allocations: 16.88 kB / 473 MB, free: 9.734 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.007057, allocations: 140.5 kB / 473.2 MB, free: 9.57 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.00707, allocations: 384 / 473.2 MB, free: 9.57 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.007084, allocations: 8.312 kB / 473.2 MB, free: 9.562 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.007237, allocations: 54.95 kB / 473.2 MB, free: 9.5 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007247, allocations: 192 / 473.2 MB, free: 9.5 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.007258, allocations: 384 / 473.2 MB, free: 9.5 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.00727, allocations: 7.938 kB / 473.2 MB, free: 9.492 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.007317, allocations: 7.984 kB / 473.2 MB, free: 9.484 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.007722, allocations: 271.7 kB / 473.5 MB, free: 9.184 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.112e-05/0.007793, allocations: 38.98 kB / 473.6 MB, free: 9.133 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.007819, allocations: 15.75 kB / 473.6 MB, free: 9.113 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.007835, allocations: 0 / 473.6 MB, free: 9.113 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.007864, allocations: 33.39 kB / 473.6 MB, free: 9.07 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.007865, allocations: 0 / 473.6 MB, free: 9.07 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001965/0.008061, allocations: 49.62 kB / 473.6 MB, free: 9.016 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.008101, allocations: 51.41 kB / 473.7 MB, free: 8.953 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.008212, allocations: 173.9 kB / 473.9 MB, free: 8.766 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.008227, allocations: 25.7 kB / 473.9 MB, free: 8.734 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.008301, allocations: 138.8 kB / 474 MB, free: 8.594 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.008324, allocations: 7.953 kB / 474 MB, free: 8.586 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.008366, allocations: 27.48 kB / 474.1 MB, free: 8.551 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.00851, allocations: 496.1 kB / 474.5 MB, free: 8.055 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.008529, allocations: 0 / 474.5 MB, free: 8.055 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.008542, allocations: 4 kB / 474.6 MB, free: 8.051 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.008582, allocations: 15.67 kB / 474.6 MB, free: 8.031 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008584, allocations: 0 / 474.6 MB, free: 8.031 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.663e-05/0.008671, allocations: 45.58 kB / 474.6 MB, free: 7.98 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.00869, allocations: 6.656 kB / 474.6 MB, free: 7.977 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.008697, allocations: 4 kB / 474.6 MB, free: 7.973 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.008711, allocations: 4.094 kB / 474.6 MB, free: 7.969 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.00879, allocations: 3.984 kB / 474.6 MB, free: 7.965 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.008796, allocations: 0 / 474.6 MB, free: 7.965 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.008824, allocations: 4 kB / 474.6 MB, free: 7.961 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.00883, allocations: 3.938 kB / 474.6 MB, free: 7.957 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 8.652e-05/0.008917, allocations: 156.6 kB / 474.8 MB, free: 7.793 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.008942, allocations: 7.891 kB / 474.8 MB, free: 7.785 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.008969, allocations: 11.62 kB / 474.8 MB, free: 7.777 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.008974, allocations: 7.969 kB / 474.8 MB, free: 7.77 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008978, allocations: 0 / 474.8 MB, free: 7.77 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008981, allocations: 4 kB / 474.8 MB, free: 7.766 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.009119, allocations: 124.7 kB / 474.9 MB, free: 7.609 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.009121, allocations: 0 / 474.9 MB, free: 7.609 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.009157, allocations: 7.938 kB / 474.9 MB, free: 7.602 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.00916, allocations: 3.938 kB / 475 MB, free: 7.598 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.009168, allocations: 0 / 475 MB, free: 7.598 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.009172, allocations: 4 kB / 475 MB, free: 7.594 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009173, allocations: 0 / 475 MB, free: 7.594 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.009312, allocations: 187.9 kB / 475.1 MB, free: 7.391 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.009324, allocations: 11.83 kB / 475.2 MB, free: 7.379 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.009337, allocations: 4.031 kB / 475.2 MB, free: 7.375 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.009394, allocations: 7.984 kB / 475.2 MB, free: 7.367 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.009432, allocations: 0 / 475.2 MB, free: 7.367 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.009436, allocations: 0 / 475.2 MB, free: 7.367 MB / 442.8 MB Notification: Performance of sorting global known variables: time 7.786e-05/0.009513, allocations: 135.2 kB / 475.3 MB, free: 7.234 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.009514, allocations: 0 / 475.3 MB, free: 7.234 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002362/0.00975, allocations: 4 kB / 475.3 MB, free: 7.23 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.0001129/0.009863, allocations: 95.19 kB / 475.4 MB, free: 7.125 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.009954, allocations: 15.69 kB / 475.4 MB, free: 7.105 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.009956, allocations: 4.062 kB / 475.4 MB, free: 7.102 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.009982, allocations: 19.67 kB / 475.4 MB, free: 7.078 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01023, allocations: 0 / 475.4 MB, free: 7.078 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.01081, allocations: 146.1 kB / 475.6 MB, free: 6.906 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.957e-05/0.01086, allocations: 59.34 kB / 475.6 MB, free: 6.828 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.125e-05/0.01088, allocations: 3.906 kB / 475.6 MB, free: 6.824 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.01091, allocations: 12.5 kB / 475.6 MB, free: 6.812 MB / 442.8 MB Notification: Performance of SimCode: time 8.22e-07/0.01091, allocations: 4.062 kB / 475.7 MB, free: 6.809 MB / 442.8 MB Notification: Performance of Templates: time 0.00269/0.0136, allocations: 397.9 kB / 476 MB, free: 6.418 MB / 442.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.573520109988749]