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/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.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/SMArtIInt 0.2.2-main/package.mo): time 0.008519/0.008519, allocations: 1.429 MB / 17.6 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1142/0.1142, allocations: 22.38 MB / 41.01 MB, free: 7.863 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.001459/0.001459, allocations: 104 kB / 48.5 MB, free: 356 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 190.7 kB / 56.09 MB, free: 9.551 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.47/1.47, allocations: 222.9 MB / 286.4 MB, free: 14.05 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9324/0.9324, allocations: 127.4 MB / 470.7 MB, free: 1.039 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003557/0.003557, allocations: 127.8 kB / 0.5535 GB, free: 17.49 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1626, allocations: 82.29 MB / 0.6339 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003517/0.1661, allocations: 2.068 MB / 0.6359 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.1669, allocations: 399.1 kB / 0.6363 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1669, allocations: 0 / 0.6363 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.167, allocations: 3.938 kB / 0.6363 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.167, allocations: 3.938 kB / 0.6363 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.1672, allocations: 15.98 kB / 0.6363 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.1673, allocations: 31.86 kB / 0.6364 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1674, allocations: 20.27 kB / 0.6364 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.1675, allocations: 23.92 kB / 0.6364 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.1675, allocations: 19.86 kB / 0.6364 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1676, allocations: 3.938 kB / 0.6364 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.1676, allocations: 4 kB / 0.6364 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1676, allocations: 4 kB / 0.6364 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1676, allocations: 19.86 kB / 0.6365 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.876e-05/0.1677, allocations: 35.83 kB / 0.6365 GB, free: 12.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1677, allocations: 0 / 0.6365 GB, free: 12.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1677, allocations: 8 kB / 0.6365 GB, free: 12.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1678, allocations: 0 / 0.6365 GB, free: 12.53 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.0004386/0.1682, allocations: 355.3 kB / 0.6368 GB, free: 12.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1682, allocations: 8.031 kB / 0.6368 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1683, allocations: 8.844 kB / 0.6368 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1684, allocations: 172.2 kB / 0.637 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1684, allocations: 384 / 0.637 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1685, allocations: 4.375 kB / 0.637 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1686, allocations: 61.98 kB / 0.6371 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1686, allocations: 0 / 0.6371 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1686, allocations: 3.938 kB / 0.6371 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1686, allocations: 3.984 kB / 0.6371 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.1687, allocations: 23.98 kB / 0.6371 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1692, allocations: 284.8 kB / 0.6374 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.1693, allocations: 34.58 kB / 0.6374 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.1693, allocations: 12.91 kB / 0.6374 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1693, allocations: 0 / 0.6374 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1694, allocations: 30.56 kB / 0.6375 GB, free: 11.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1694, allocations: 4 kB / 0.6375 GB, free: 11.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.1696, allocations: 69.52 kB / 0.6375 GB, free: 11.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1697, allocations: 55.41 kB / 0.6376 GB, free: 11.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.1698, allocations: 106.1 kB / 0.6377 GB, free: 11.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1698, allocations: 29.7 kB / 0.6377 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.1699, allocations: 92.06 kB / 0.6378 GB, free: 11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1699, allocations: 8 kB / 0.6378 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1699, allocations: 17.66 kB / 0.6378 GB, free: 10.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1701, allocations: 322.9 kB / 0.6381 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.1701, allocations: 11.98 kB / 0.6381 GB, free: 10.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.1701, allocations: 4 kB / 0.6381 GB, free: 10.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.1702, allocations: 28.78 kB / 0.6382 GB, free: 10.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1702, allocations: 0 / 0.6382 GB, free: 10.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.1704, allocations: 57.58 kB / 0.6382 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1704, allocations: 4 kB / 0.6382 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1704, allocations: 4.094 kB / 0.6382 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1704, allocations: 0 / 0.6382 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.1705, allocations: 4 kB / 0.6382 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1705, allocations: 0 / 0.6382 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1706, allocations: 7.984 kB / 0.6382 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.1706, allocations: 0 / 0.6382 GB, free: 10.51 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.874e-05/0.1707, allocations: 123.2 kB / 0.6384 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1707, allocations: 0 / 0.6384 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.1707, allocations: 11.53 kB / 0.6384 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1707, allocations: 0 / 0.6384 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1707, allocations: 0 / 0.6384 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1707, allocations: 3.938 kB / 0.6384 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.1709, allocations: 173.5 kB / 0.6385 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.171, allocations: 0 / 0.6385 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.171, allocations: 7.984 kB / 0.6385 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.171, allocations: 4 kB / 0.6386 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.171, allocations: 0 / 0.6386 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.171, allocations: 0 / 0.6386 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.171, allocations: 0 / 0.6386 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.1712, allocations: 155.4 kB / 0.6387 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1713, allocations: 81.11 kB / 0.6388 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1713, allocations: 3.984 kB / 0.6388 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1714, allocations: 4 kB / 0.6388 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1714, allocations: 0 / 0.6388 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1714, allocations: 0 / 0.6388 GB, free: 9.867 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.1715, allocations: 107.2 kB / 0.6389 GB, free: 9.762 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1715, allocations: 0 / 0.6389 GB, free: 9.762 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.1717, allocations: 7.938 kB / 0.6389 GB, free: 9.754 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.881e-05/0.1718, allocations: 95.25 kB / 0.639 GB, free: 9.652 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1719, allocations: 19.98 kB / 0.639 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.172, allocations: 0 / 0.639 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.172, allocations: 15.98 kB / 0.639 GB, free: 9.617 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1722, allocations: 4.125 kB / 0.639 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.1726, allocations: 164.2 kB / 0.6392 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1729, allocations: 0.6846 MB / 0.6398 GB, free: 8.711 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1729, allocations: 11.44 kB / 0.6399 GB, free: 8.699 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1729, allocations: 0 / 0.6399 GB, free: 8.699 MB / 478.1 MB Notification: Performance of Templates: time 0.002058/0.175, allocations: 0.6157 MB / 0.6405 GB, free: 8.086 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=480 -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