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.1119/0.1119, allocations: 23.17 MB / 40.14 MB, free: 0.7812 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008805/0.008805, allocations: 1.464 MB / 48.98 MB, free: 1.234 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.001182/0.001182, allocations: 110.4 kB / 56.8 MB, free: 2.754 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 199.9 kB / 64.74 MB, free: 6.453 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.423/1.423, allocations: 225.6 MB / 298.1 MB, free: 1.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8876/0.8876, allocations: 129 MB / 487 MB, free: 4.457 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0035/0.0035, allocations: 131.8 kB / 0.6604 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1768, allocations: 86.83 MB / 0.7452 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.00323/0.18, allocations: 2.083 MB / 0.7472 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.1807, allocations: 399.1 kB / 0.7476 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1807, allocations: 4 kB / 0.7476 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.1808, allocations: 3.938 kB / 0.7476 GB, free: 500 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.1808, allocations: 7.875 kB / 0.7476 GB, free: 492 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.181, allocations: 15.92 kB / 0.7476 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.181, allocations: 31.91 kB / 0.7476 GB, free: 444 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1812, allocations: 15.92 kB / 0.7477 GB, free: 428 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.1812, allocations: 23.92 kB / 0.7477 GB, free: 404 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.1813, allocations: 15.92 kB / 0.7477 GB, free: 388 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1813, allocations: 4 kB / 0.7477 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.1813, allocations: 0 / 0.7477 GB, free: 384 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.1814, allocations: 15.94 kB / 0.7477 GB, free: 368 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1814, allocations: 15.88 kB / 0.7477 GB, free: 352 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1815, allocations: 35.88 kB / 0.7478 GB, free: 316 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1815, allocations: 0 / 0.7478 GB, free: 316 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1815, allocations: 3.938 kB / 0.7478 GB, free: 312 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1815, allocations: 0 / 0.7478 GB, free: 312 kB / 0.545 GB 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.0004684/0.182, allocations: 355.3 kB / 0.7481 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.182, allocations: 8.031 kB / 0.7481 GB, free: 15.9 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.182, allocations: 8.891 kB / 0.7481 GB, free: 15.89 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1822, allocations: 176.3 kB / 0.7483 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1822, allocations: 384 / 0.7483 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1822, allocations: 4.375 kB / 0.7483 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1824, allocations: 57.98 kB / 0.7484 GB, free: 15.62 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1824, allocations: 7.938 kB / 0.7484 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1824, allocations: 0 / 0.7484 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1824, allocations: 0 / 0.7484 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.1825, allocations: 27.92 kB / 0.7484 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1829, allocations: 292.8 kB / 0.7487 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 9.855e-05/0.183, allocations: 30.58 kB / 0.7487 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.183, allocations: 16.84 kB / 0.7487 GB, free: 15.19 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1831, allocations: 0 / 0.7487 GB, free: 15.19 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1831, allocations: 34.55 kB / 0.7487 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1831, allocations: 4 kB / 0.7487 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2): time 0.0002181/0.1833, allocations: 61.67 kB / 0.7488 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1833, allocations: 55.41 kB / 0.7489 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.1834, allocations: 109.8 kB / 0.749 GB, free: 14.89 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1834, allocations: 25.7 kB / 0.749 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1835, allocations: 96.09 kB / 0.7491 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.1835, allocations: 7.891 kB / 0.7491 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1836, allocations: 21.83 kB / 0.7491 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1837, allocations: 318.8 kB / 0.7494 GB, free: 14.41 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.1837, allocations: 11.98 kB / 0.7494 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.1838, allocations: 4 kB / 0.7494 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.1838, allocations: 24.84 kB / 0.7495 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1838, allocations: 0 / 0.7495 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.184, allocations: 53.75 kB / 0.7495 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.184, allocations: 4 kB / 0.7495 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.184, allocations: 0 / 0.7495 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.184, allocations: 3.984 kB / 0.7495 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.1841, allocations: 7.938 kB / 0.7495 GB, free: 14.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1841, allocations: 0 / 0.7495 GB, free: 14.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.1841, allocations: 4 kB / 0.7495 GB, free: 14.29 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.1841, allocations: 0 / 0.7495 GB, free: 14.29 MB / 0.5607 GB 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.205e-05/0.1842, allocations: 129.7 kB / 0.7496 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1842, allocations: 3.953 kB / 0.7497 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.1843, allocations: 11.53 kB / 0.7497 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1843, allocations: 0 / 0.7497 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1843, allocations: 0 / 0.7497 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1843, allocations: 3.938 kB / 0.7497 GB, free: 14.12 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1844, allocations: 165.6 kB / 0.7498 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1844, allocations: 0 / 0.7498 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1845, allocations: 4 kB / 0.7498 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1845, allocations: 0 / 0.7498 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1845, allocations: 3.984 kB / 0.7498 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1845, allocations: 4 kB / 0.7498 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1845, allocations: 0 / 0.7498 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1847, allocations: 151.4 kB / 0.75 GB, free: 13.74 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1847, allocations: 85.44 kB / 0.7501 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1847, allocations: 0 / 0.7501 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1848, allocations: 11.98 kB / 0.7501 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1848, allocations: 4.031 kB / 0.7501 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1848, allocations: 3.938 kB / 0.7501 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.1849, allocations: 91.27 kB / 0.7502 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1849, allocations: 0 / 0.7502 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002162/0.1851, allocations: 11.88 kB / 0.7502 GB, free: 13.52 MB / 0.5607 GB 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.501e-05/0.1852, allocations: 95.78 kB / 0.7503 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1853, allocations: 19.98 kB / 0.7503 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1853, allocations: 4.062 kB / 0.7503 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.1854, allocations: 19.92 kB / 0.7503 GB, free: 13.37 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1856, allocations: 0 / 0.7503 GB, free: 13.37 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.1859, allocations: 156.4 kB / 0.7505 GB, free: 13.19 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1862, allocations: 0.6807 MB / 0.7511 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.1863, allocations: 11.42 kB / 0.7511 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of SimCode: time 3.11e-07/0.1863, allocations: 0 / 0.7511 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of Templates: time 0.00204/0.1883, allocations: 0.6072 MB / 0.7517 GB, free: 11.86 MB / 0.5607 GB 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