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-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: "" <> buildModelFMU(ClaRa.Visualisation.Check.TestRealDisplay,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestRealDisplay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestRealDisplay,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestRealDisplay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1199/0.1199, allocations: 23.03 MB / 38.53 MB, free: 1.305 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008691/0.008691, allocations: 1.435 MB / 47.17 MB, free: 2.082 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.001279/0.00128, allocations: 104 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.001592/0.001592, allocations: 187.3 kB / 62.53 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.356/1.356, 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-main/package.mo): time 0.8626/0.8626, allocations: 127.5 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.003502/0.003502, allocations: 127.8 kB / 0.5604 GB, free: 16.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1548, allocations: 82.44 MB / 0.6409 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003225/0.1581, allocations: 2.072 MB / 0.6429 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006659/0.1588, allocations: 395.1 kB / 0.6433 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.1588, allocations: 0 / 0.6433 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.1589, allocations: 3.938 kB / 0.6433 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.159, allocations: 11.88 kB / 0.6433 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1591, allocations: 15.98 kB / 0.6433 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.1592, allocations: 31.91 kB / 0.6433 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1593, allocations: 20.2 kB / 0.6434 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.1594, allocations: 15.94 kB / 0.6434 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.1595, allocations: 23.8 kB / 0.6434 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1595, allocations: 0 / 0.6434 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.1595, allocations: 4 kB / 0.6434 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.1596, allocations: 11.97 kB / 0.6434 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.1596, allocations: 19.88 kB / 0.6434 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.343e-05/0.1597, allocations: 31.91 kB / 0.6435 GB, free: 11.53 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1597, allocations: 0 / 0.6435 GB, free: 11.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1597, allocations: 0 / 0.6435 GB, free: 11.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1597, allocations: 0 / 0.6435 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.0004504/0.1602, allocations: 351.4 kB / 0.6438 GB, free: 11.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1602, allocations: 8.031 kB / 0.6438 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.1603, allocations: 34.73 kB / 0.6438 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.1603, allocations: 12.78 kB / 0.6439 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1605, allocations: 172.3 kB / 0.644 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1605, allocations: 8.312 kB / 0.644 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1605, allocations: 4.375 kB / 0.644 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1606, allocations: 57.73 kB / 0.6441 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1607, allocations: 0 / 0.6441 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1607, allocations: 4 kB / 0.6441 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1607, allocations: 0 / 0.6441 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.1608, allocations: 27.97 kB / 0.6441 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1612, allocations: 276.8 kB / 0.6444 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/0.1613, allocations: 34.5 kB / 0.6444 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.1614, allocations: 16.91 kB / 0.6444 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1614, allocations: 0 / 0.6444 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1614, allocations: 38.56 kB / 0.6445 GB, free: 10.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.1614, allocations: 3.984 kB / 0.6445 GB, free: 10.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002239/0.1617, allocations: 57.59 kB / 0.6445 GB, free: 10.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1617, allocations: 59.33 kB / 0.6446 GB, free: 10.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1618, allocations: 117.8 kB / 0.6447 GB, free: 10.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1619, allocations: 25.7 kB / 0.6447 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.1619, allocations: 91.98 kB / 0.6448 GB, free: 9.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.162, allocations: 8.125 kB / 0.6448 GB, free: 9.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.162, allocations: 17.7 kB / 0.6448 GB, free: 9.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1622, allocations: 318.8 kB / 0.6451 GB, free: 9.598 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.1622, allocations: 4 kB / 0.6451 GB, free: 9.594 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.1622, allocations: 15.98 kB / 0.6452 GB, free: 9.578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.1623, allocations: 24.84 kB / 0.6452 GB, free: 9.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1623, allocations: 4.062 kB / 0.6452 GB, free: 9.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.1625, allocations: 57.53 kB / 0.6452 GB, free: 9.484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1625, allocations: 6.344 kB / 0.6452 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1625, allocations: 0 / 0.6452 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1625, allocations: 0 / 0.6452 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.1626, allocations: 7.984 kB / 0.6452 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1626, allocations: 3.984 kB / 0.6453 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.1626, allocations: 4 kB / 0.6453 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1626, allocations: 4.312 kB / 0.6453 GB, free: 9.461 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.151e-05/0.1627, allocations: 117.8 kB / 0.6454 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1628, allocations: 3.984 kB / 0.6454 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.1628, allocations: 11.53 kB / 0.6454 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1628, allocations: 3.938 kB / 0.6454 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1628, allocations: 0 / 0.6454 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1628, allocations: 0 / 0.6454 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.163, allocations: 169.6 kB / 0.6456 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.163, allocations: 0 / 0.6456 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.163, allocations: 4 kB / 0.6456 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1631, allocations: 4 kB / 0.6456 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1631, allocations: 0 / 0.6456 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1631, allocations: 0 / 0.6456 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1631, allocations: 4 kB / 0.6456 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1633, allocations: 155.3 kB / 0.6457 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1633, allocations: 77.11 kB / 0.6458 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1633, allocations: 0 / 0.6458 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.1634, allocations: 12.02 kB / 0.6458 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.1634, allocations: 4 kB / 0.6458 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1634, allocations: 0 / 0.6458 GB, free: 8.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.1635, allocations: 91.2 kB / 0.6459 GB, free: 8.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1635, allocations: 0 / 0.6459 GB, free: 8.727 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000207/0.1637, allocations: 8 kB / 0.6459 GB, free: 8.719 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.0004942/0.1642, allocations: 0.6811 MB / 0.6466 GB, free: 8.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1644, allocations: 27.97 kB / 0.6466 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1644, allocations: 0 / 0.6466 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.1644, allocations: 12 kB / 0.6466 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1646, allocations: 0 / 0.6466 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.1651, allocations: 180.3 kB / 0.6468 GB, free: 7.758 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1654, allocations: 0.6807 MB / 0.6474 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.21e-05/0.1655, allocations: 0 / 0.6474 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1655, allocations: 15.42 kB / 0.6474 GB, free: 7.035 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1655, allocations: 4 kB / 0.6475 GB, free: 7.031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.1886, allocations: 1.293 MB / 0.6487 GB, free: 5.789 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.66, allocations: 11.44 kB / 0.6487 GB, free: 5.781 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ClaRa_ClaRa_Visualisation_Check_TestRealDisplay.fmu > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches