Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/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_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_ClaRa.Visualisation.Check.TestRealDisplay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1198/0.1198, allocations: 23.03 MB / 38.53 MB, free: 1.254 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009129/0.009129, allocations: 1.431 MB / 47.17 MB, free: 2.102 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.001307, allocations: 111.9 kB / 54.8 MB, free: 6.09 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.00141/0.00141, allocations: 194.7 kB / 62.54 MB, free: 14.7 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.4/1.4, allocations: 222.9 MB / 293 MB, free: 13.33 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 0.8625/0.8625, allocations: 127.4 MB / 477.4 MB, free: 56 kB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003444/0.003444, allocations: 127.8 kB / 0.5602 GB, free: 16.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1769, allocations: 82.44 MB / 0.6407 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003793/0.1808, allocations: 2.069 MB / 0.6427 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000711/0.1815, allocations: 395 kB / 0.6431 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.1815, allocations: 4 kB / 0.6431 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.1816, allocations: 3.938 kB / 0.6431 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.1817, allocations: 7.922 kB / 0.6431 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.1818, allocations: 15.92 kB / 0.6431 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.1819, allocations: 31.92 kB / 0.6432 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.182, allocations: 16.27 kB / 0.6432 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.1821, allocations: 15.94 kB / 0.6432 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.1822, allocations: 23.84 kB / 0.6432 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1822, allocations: 4 kB / 0.6432 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.1822, allocations: 4 kB / 0.6432 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.1823, allocations: 4 kB / 0.6432 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.1823, allocations: 23.86 kB / 0.6432 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.953e-05/0.1824, allocations: 31.84 kB / 0.6433 GB, free: 11.53 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1824, allocations: 0 / 0.6433 GB, free: 11.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1824, allocations: 0 / 0.6433 GB, free: 11.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1824, allocations: 0 / 0.6433 GB, free: 11.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.0004876/0.1829, allocations: 359.3 kB / 0.6436 GB, free: 11.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1829, allocations: 8.031 kB / 0.6436 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.183, allocations: 8.844 kB / 0.6436 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1831, allocations: 168.3 kB / 0.6438 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1832, allocations: 8.359 kB / 0.6438 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1832, allocations: 8.375 kB / 0.6438 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1833, allocations: 50 kB / 0.6439 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1833, allocations: 3.938 kB / 0.6439 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1834, allocations: 4 kB / 0.6439 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1834, allocations: 3.984 kB / 0.6439 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.1835, allocations: 31.91 kB / 0.6439 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1839, allocations: 276.8 kB / 0.6442 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.235e-05/0.184, allocations: 30.56 kB / 0.6442 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.1841, allocations: 12.92 kB / 0.6442 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1841, allocations: 3.938 kB / 0.6442 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1841, allocations: 38.5 kB / 0.6442 GB, free: 10.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1841, allocations: 0 / 0.6442 GB, free: 10.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002415/0.1844, allocations: 65.58 kB / 0.6443 GB, free: 10.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1844, allocations: 51.41 kB / 0.6444 GB, free: 10.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1845, allocations: 117.8 kB / 0.6445 GB, free: 10.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1846, allocations: 25.7 kB / 0.6445 GB, free: 10.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.1846, allocations: 96.06 kB / 0.6446 GB, free: 9.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1847, allocations: 3.906 kB / 0.6446 GB, free: 9.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1847, allocations: 13.72 kB / 0.6446 GB, free: 9.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1849, allocations: 330.8 kB / 0.6449 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.1849, allocations: 4 kB / 0.6449 GB, free: 9.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.1849, allocations: 15.98 kB / 0.6449 GB, free: 9.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.185, allocations: 16.86 kB / 0.645 GB, free: 9.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.185, allocations: 3.984 kB / 0.645 GB, free: 9.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.1852, allocations: 49.69 kB / 0.645 GB, free: 9.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1852, allocations: 12 kB / 0.645 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1852, allocations: 0 / 0.645 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1852, allocations: 0 / 0.645 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.1853, allocations: 4 kB / 0.645 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1853, allocations: 7.922 kB / 0.645 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1854, allocations: 11.98 kB / 0.645 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1854, allocations: 0 / 0.645 GB, free: 9.5 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.625e-05/0.1855, allocations: 113.7 kB / 0.6452 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1855, allocations: 8 kB / 0.6452 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.1855, allocations: 7.531 kB / 0.6452 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1855, allocations: 0 / 0.6452 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.1855, allocations: 4 kB / 0.6452 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1855, allocations: 7.922 kB / 0.6452 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.1857, allocations: 161.6 kB / 0.6453 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1857, allocations: 0 / 0.6453 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.1858, allocations: 7.984 kB / 0.6453 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1858, allocations: 0 / 0.6453 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1858, allocations: 4.375 kB / 0.6453 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1858, allocations: 0 / 0.6453 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1858, allocations: 4 kB / 0.6453 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.186, allocations: 155.4 kB / 0.6455 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1861, allocations: 84.98 kB / 0.6456 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1861, allocations: 4 kB / 0.6456 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.1861, allocations: 0 / 0.6456 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1862, allocations: 7.984 kB / 0.6456 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1862, allocations: 4.031 kB / 0.6456 GB, free: 8.848 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.1863, allocations: 87.28 kB / 0.6457 GB, free: 8.762 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1863, allocations: 0 / 0.6457 GB, free: 8.762 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1865, allocations: 7.938 kB / 0.6457 GB, free: 8.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 0.0001287/0.1866, allocations: 99.23 kB / 0.6458 GB, free: 8.648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1868, allocations: 19.98 kB / 0.6458 GB, free: 8.629 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1868, allocations: 0 / 0.6458 GB, free: 8.629 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.1868, allocations: 20 kB / 0.6458 GB, free: 8.609 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.187, allocations: 0 / 0.6458 GB, free: 8.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.1874, allocations: 146.6 kB / 0.646 GB, free: 8.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1877, allocations: 0.6807 MB / 0.6466 GB, free: 7.734 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.447e-05/0.1878, allocations: 8.062 kB / 0.6466 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1878, allocations: 7.438 kB / 0.6466 GB, free: 7.719 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1878, allocations: 0 / 0.6466 GB, free: 7.719 MB / 478.1 MB Notification: Performance of Templates: time 0.00279/0.1906, allocations: 374.9 kB / 0.647 GB, free: 7.355 MB / 478.1 MB make -j1 -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.makefile (rm -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; mkfifo ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; head -c 1048576 < ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe >> ../files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.sim & ./ClaRa_ClaRa.Visualisation.Check.TestRealDisplay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches