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.1282/0.1282, allocations: 23.03 MB / 38.53 MB, free: 1.238 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008754/0.008754, allocations: 1.437 MB / 47.17 MB, free: 2.078 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.001243/0.001243, allocations: 108 kB / 54.8 MB, free: 6.07 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.001396/0.001396, allocations: 195.5 kB / 62.53 MB, free: 14.73 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.37/1.37, allocations: 222.9 MB / 293 MB, free: 13.32 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8279/0.8279, allocations: 127.5 MB / 477.5 MB, free: 180 kB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003387/0.003387, allocations: 127.8 kB / 0.5603 GB, free: 16.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1599, 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.003282/0.1633, allocations: 2.062 MB / 0.6428 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.1639, allocations: 403 kB / 0.6432 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.164, allocations: 0 / 0.6432 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.164, allocations: 3.938 kB / 0.6432 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.1641, allocations: 7.938 kB / 0.6432 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.1642, allocations: 15.92 kB / 0.6432 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.1643, allocations: 27.92 kB / 0.6432 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1644, allocations: 20.25 kB / 0.6433 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.1645, allocations: 23.92 kB / 0.6433 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.1646, allocations: 19.86 kB / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1646, allocations: 0 / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.1646, allocations: 4 kB / 0.6433 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1646, allocations: 7.984 kB / 0.6433 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.1647, allocations: 23.81 kB / 0.6433 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.032e-05/0.1648, allocations: 35.83 kB / 0.6434 GB, free: 11.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1648, allocations: 0 / 0.6434 GB, free: 11.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1648, allocations: 0 / 0.6434 GB, free: 11.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1648, allocations: 0 / 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.0004553/0.1652, allocations: 355.4 kB / 0.6437 GB, free: 11.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1653, allocations: 8.031 kB / 0.6437 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.1653, allocations: 8.844 kB / 0.6437 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1655, allocations: 168.3 kB / 0.6439 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1655, allocations: 8.375 kB / 0.6439 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1655, allocations: 4.375 kB / 0.6439 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1657, allocations: 54 kB / 0.644 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1657, allocations: 7.938 kB / 0.644 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1657, allocations: 3.938 kB / 0.644 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1657, allocations: 0 / 0.644 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.1658, allocations: 31.91 kB / 0.644 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.1662, allocations: 276.8 kB / 0.6443 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.1663, allocations: 34.5 kB / 0.6443 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.1664, allocations: 12.92 kB / 0.6443 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1664, allocations: 0 / 0.6443 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1664, allocations: 38.55 kB / 0.6443 GB, free: 10.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1664, allocations: 4 kB / 0.6443 GB, free: 10.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002093/0.1666, allocations: 57.59 kB / 0.6444 GB, free: 10.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1667, allocations: 51.41 kB / 0.6444 GB, free: 10.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.1668, allocations: 113.8 kB / 0.6446 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1668, allocations: 33.64 kB / 0.6446 GB, free: 10.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1669, allocations: 96.06 kB / 0.6447 GB, free: 10.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.1669, allocations: 3.906 kB / 0.6447 GB, free: 10.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1669, allocations: 17.84 kB / 0.6447 GB, free: 10.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1671, allocations: 322.8 kB / 0.645 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.1671, allocations: 8 kB / 0.645 GB, free: 9.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.1672, allocations: 11.98 kB / 0.645 GB, free: 9.695 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.1672, allocations: 20.84 kB / 0.645 GB, free: 9.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1673, allocations: 0 / 0.645 GB, free: 9.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.1674, allocations: 57.66 kB / 0.6451 GB, free: 9.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1674, allocations: 4 kB / 0.6451 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1674, allocations: 0 / 0.6451 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1674, allocations: 0 / 0.6451 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.1675, allocations: 7.938 kB / 0.6451 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1675, allocations: 0 / 0.6451 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.1676, allocations: 7.984 kB / 0.6451 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1676, 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 9.009e-05/0.1677, allocations: 125.8 kB / 0.6452 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1677, allocations: 0 / 0.6452 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.1677, allocations: 7.531 kB / 0.6452 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1677, allocations: 12.34 kB / 0.6453 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1677, allocations: 0 / 0.6453 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1677, allocations: 3.938 kB / 0.6453 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1679, allocations: 165.7 kB / 0.6454 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1679, allocations: 7.922 kB / 0.6454 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.168, allocations: 4 kB / 0.6454 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.168, allocations: 0 / 0.6454 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.168, allocations: 0 / 0.6454 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.168, allocations: 4 kB / 0.6454 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.168, allocations: 0 / 0.6454 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1682, allocations: 159.3 kB / 0.6456 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1683, allocations: 81.11 kB / 0.6457 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1683, allocations: 4 kB / 0.6457 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.1683, allocations: 4 kB / 0.6457 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1684, allocations: 8.016 kB / 0.6457 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1684, allocations: 0 / 0.6457 GB, free: 8.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.1684, allocations: 87.28 kB / 0.6458 GB, free: 8.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1685, allocations: 0 / 0.6458 GB, free: 8.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.1687, allocations: 7.938 kB / 0.6458 GB, free: 8.832 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 9.582e-05/0.1688, allocations: 95.23 kB / 0.6459 GB, free: 8.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.1689, allocations: 23.98 kB / 0.6459 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1689, allocations: 4.062 kB / 0.6459 GB, free: 8.703 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.169, allocations: 15.94 kB / 0.6459 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.1692, allocations: 0 / 0.6459 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.1695, allocations: 146.6 kB / 0.646 GB, free: 8.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1698, allocations: 0.6846 MB / 0.6467 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.1698, allocations: 0 / 0.6467 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.1699, allocations: 7.438 kB / 0.6467 GB, free: 7.801 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1699, allocations: 0 / 0.6467 GB, free: 7.801 MB / 478.1 MB Notification: Performance of Templates: time 0.002527/0.1724, allocations: 373.1 kB / 0.6471 GB, free: 7.438 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