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/TILMedia 1.8.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Running command: translateModel(ClaRa.Visualisation.Check.TestRealDisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.129/0.129, allocations: 23.04 MB / 38.53 MB, free: 1.57 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009036/0.009036, allocations: 1.421 MB / 47.16 MB, free: 2.293 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 117.9 kB / 54.81 MB, free: 6.27 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 198.9 kB / 62.54 MB, free: 14.63 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 293 MB, free: 13.35 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9297/0.9297, allocations: 127.4 MB / 477.5 MB, free: 184 kB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003462/0.003462, allocations: 127.8 kB / 0.5603 GB, free: 16.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1617, allocations: 82.44 MB / 0.6408 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003596/0.1653, allocations: 2.066 MB / 0.6428 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006925/0.1661, allocations: 399 kB / 0.6432 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.1661, allocations: 0 / 0.6432 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.1662, allocations: 3.938 kB / 0.6432 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.1662, allocations: 3.938 kB / 0.6432 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1664, allocations: 19.97 kB / 0.6432 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.1665, allocations: 31.86 kB / 0.6432 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1666, allocations: 20.27 kB / 0.6433 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.1667, allocations: 19.94 kB / 0.6433 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.1668, allocations: 19.86 kB / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1668, allocations: 0 / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1668, allocations: 4 kB / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.1668, allocations: 11.97 kB / 0.6433 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.1669, allocations: 15.88 kB / 0.6433 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.813e-05/0.167, allocations: 31.84 kB / 0.6434 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.167, allocations: 0 / 0.6434 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.167, allocations: 0 / 0.6434 GB, free: 11.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.167, allocations: 8 kB / 0.6434 GB, free: 11.61 MB / 478.1 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.0004706/0.1675, allocations: 351.4 kB / 0.6437 GB, free: 11.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1675, allocations: 8.031 kB / 0.6437 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1676, allocations: 8.844 kB / 0.6437 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1677, allocations: 180.2 kB / 0.6439 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1678, allocations: 384 / 0.6439 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.1678, allocations: 4.375 kB / 0.6439 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1679, allocations: 61.92 kB / 0.644 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1679, allocations: 8 kB / 0.644 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.168, allocations: 0 / 0.644 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.168, allocations: 0 / 0.644 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1681, allocations: 27.97 kB / 0.644 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1685, allocations: 276.8 kB / 0.6443 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.1686, allocations: 34.56 kB / 0.6443 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.1686, allocations: 12.92 kB / 0.6443 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1687, allocations: 0 / 0.6443 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1687, allocations: 38.53 kB / 0.6443 GB, free: 10.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1687, allocations: 0 / 0.6443 GB, free: 10.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002281/0.1689, allocations: 65.53 kB / 0.6444 GB, free: 10.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.169, allocations: 59.53 kB / 0.6445 GB, free: 10.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.1691, allocations: 109.8 kB / 0.6446 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1691, allocations: 25.7 kB / 0.6446 GB, free: 10.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.1692, allocations: 96.06 kB / 0.6447 GB, free: 10.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1692, allocations: 7.906 kB / 0.6447 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1692, allocations: 13.72 kB / 0.6447 GB, free: 10.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1694, allocations: 318.8 kB / 0.645 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.1694, allocations: 16 kB / 0.645 GB, free: 9.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.1695, allocations: 7.984 kB / 0.645 GB, free: 9.703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.1696, allocations: 28.78 kB / 0.6451 GB, free: 9.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1696, allocations: 0 / 0.6451 GB, free: 9.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.1697, allocations: 53.59 kB / 0.6451 GB, free: 9.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1697, allocations: 4 kB / 0.6451 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1697, allocations: 384 / 0.6451 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1697, allocations: 4.094 kB / 0.6451 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.1698, allocations: 4 kB / 0.6451 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1698, allocations: 3.984 kB / 0.6451 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.1699, allocations: 7.938 kB / 0.6451 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1699, allocations: 0 / 0.6451 GB, free: 9.59 MB / 478.1 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.722e-05/0.17, allocations: 121.7 kB / 0.6452 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.17, allocations: 0 / 0.6452 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.17, allocations: 11.52 kB / 0.6453 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.17, allocations: 0 / 0.6453 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1701, allocations: 7.938 kB / 0.6453 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1701, allocations: 0 / 0.6453 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1702, allocations: 165.6 kB / 0.6454 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1703, allocations: 3.984 kB / 0.6454 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.1703, allocations: 7.938 kB / 0.6454 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1703, allocations: 0 / 0.6454 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1703, allocations: 0 / 0.6454 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1703, allocations: 0 / 0.6454 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1703, allocations: 0 / 0.6454 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1705, allocations: 159.4 kB / 0.6456 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.1706, allocations: 81.11 kB / 0.6457 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1706, allocations: 0 / 0.6457 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.1707, allocations: 8 kB / 0.6457 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1707, allocations: 3.984 kB / 0.6457 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1707, allocations: 0 / 0.6457 GB, free: 8.941 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.1708, allocations: 87.28 kB / 0.6458 GB, free: 8.855 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1708, allocations: 32 / 0.6458 GB, free: 8.855 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.171, allocations: 11.94 kB / 0.6458 GB, free: 8.844 MB / 478.1 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.0001171/0.1711, allocations: 103.2 kB / 0.6459 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.1713, allocations: 19.98 kB / 0.6459 GB, free: 8.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1713, allocations: 0 / 0.6459 GB, free: 8.715 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.1713, allocations: 12 kB / 0.6459 GB, free: 8.703 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1715, allocations: 1.875 kB / 0.6459 GB, free: 8.703 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.1719, allocations: 150.6 kB / 0.646 GB, free: 8.531 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1722, allocations: 0.6807 MB / 0.6467 GB, free: 7.824 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.1722, allocations: 288 / 0.6467 GB, free: 7.824 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.1723, allocations: 7.438 kB / 0.6467 GB, free: 7.816 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1723, allocations: 0 / 0.6467 GB, free: 7.816 MB / 478.1 MB Notification: Performance of Templates: time 0.002619/0.1749, allocations: 380.9 kB / 0.6471 GB, free: 7.445 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.makefile (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=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches