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.123/0.123, allocations: 23.03 MB / 38.53 MB, free: 1.215 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008999/0.008999, allocations: 1.429 MB / 47.16 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.001245/0.001245, allocations: 104 kB / 54.8 MB, free: 6.066 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.001407/0.001407, allocations: 185.6 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.433/1.433, allocations: 222.9 MB / 293.1 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.8637/0.8637, allocations: 127.5 MB / 477.5 MB, free: 144 kB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003747/0.003747, allocations: 131.8 kB / 0.5604 GB, free: 16.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1578, allocations: 82.43 MB / 0.6409 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003351/0.1612, allocations: 2.062 MB / 0.6429 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.1619, allocations: 399.1 kB / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.162, allocations: 0 / 0.6433 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.162, allocations: 7.938 kB / 0.6433 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.1621, allocations: 7.938 kB / 0.6433 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.1622, allocations: 11.92 kB / 0.6433 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.1623, allocations: 31.92 kB / 0.6433 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1624, allocations: 28.17 kB / 0.6434 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.1625, allocations: 11.94 kB / 0.6434 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1626, allocations: 19.86 kB / 0.6434 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1626, allocations: 4 kB / 0.6434 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.1626, allocations: 4 kB / 0.6434 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.1627, allocations: 7.984 kB / 0.6434 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.1627, allocations: 23.88 kB / 0.6434 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.669e-05/0.1628, allocations: 31.89 kB / 0.6435 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1628, allocations: 0 / 0.6435 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1628, allocations: 0 / 0.6435 GB, free: 11.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1628, allocations: 0 / 0.6435 GB, free: 11.49 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.0004405/0.1633, allocations: 347.4 kB / 0.6438 GB, free: 11.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1633, allocations: 12.03 kB / 0.6438 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.1633, allocations: 38.67 kB / 0.6438 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.1634, allocations: 8.844 kB / 0.6439 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1635, allocations: 180.2 kB / 0.644 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.1635, allocations: 384 / 0.644 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1635, allocations: 384 / 0.644 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1637, allocations: 53.81 kB / 0.6441 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1637, allocations: 11.98 kB / 0.6441 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1637, allocations: 0 / 0.6441 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1637, allocations: 0 / 0.6441 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.019e-05/0.1638, allocations: 27.86 kB / 0.6441 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1643, allocations: 284.8 kB / 0.6444 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.1643, allocations: 26.56 kB / 0.6444 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.1644, allocations: 20.91 kB / 0.6444 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1644, allocations: 3.938 kB / 0.6444 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1644, allocations: 34.56 kB / 0.6445 GB, free: 10.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1645, allocations: 0 / 0.6445 GB, free: 10.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002233/0.1647, allocations: 57.59 kB / 0.6445 GB, free: 10.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1647, allocations: 55.41 kB / 0.6446 GB, free: 10.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1648, allocations: 117.8 kB / 0.6447 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1649, allocations: 25.7 kB / 0.6447 GB, free: 10 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1649, allocations: 95.98 kB / 0.6448 GB, free: 9.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1649, allocations: 4.125 kB / 0.6448 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.165, allocations: 17.72 kB / 0.6448 GB, free: 9.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1651, allocations: 318.8 kB / 0.6451 GB, free: 9.559 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.1652, allocations: 15.94 kB / 0.6451 GB, free: 9.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.1652, allocations: 7.984 kB / 0.6452 GB, free: 9.535 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.1653, allocations: 24.84 kB / 0.6452 GB, free: 9.508 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1653, allocations: 64 / 0.6452 GB, free: 9.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.1654, allocations: 57.59 kB / 0.6452 GB, free: 9.445 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1655, allocations: 4 kB / 0.6452 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1655, allocations: 0 / 0.6452 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1655, allocations: 0 / 0.6452 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.1655, allocations: 7.984 kB / 0.6452 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1656, allocations: 0 / 0.6452 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.1656, allocations: 7.938 kB / 0.6453 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1656, allocations: 3.938 kB / 0.6453 GB, free: 9.422 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.186e-05/0.1657, allocations: 117.9 kB / 0.6454 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1657, allocations: 3.938 kB / 0.6454 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.1658, allocations: 11.5 kB / 0.6454 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1658, allocations: 4 kB / 0.6454 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1658, allocations: 0 / 0.6454 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1658, allocations: 384 / 0.6454 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.166, allocations: 169.6 kB / 0.6455 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.166, allocations: 0 / 0.6455 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.166, allocations: 4 kB / 0.6456 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.166, allocations: 3.938 kB / 0.6456 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.166, allocations: 4 kB / 0.6456 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.166, allocations: 0 / 0.6456 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1661, allocations: 0 / 0.6456 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.1662, allocations: 151.4 kB / 0.6457 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.1663, allocations: 81.11 kB / 0.6458 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1663, allocations: 7.938 kB / 0.6458 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.1664, allocations: 16.02 kB / 0.6458 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.1664, allocations: 0 / 0.6458 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1664, allocations: 0 / 0.6458 GB, free: 8.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.1665, allocations: 95.2 kB / 0.6459 GB, free: 8.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1665, allocations: 0 / 0.6459 GB, free: 8.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.1667, allocations: 4 kB / 0.6459 GB, free: 8.672 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.0004878/0.1672, allocations: 0.6812 MB / 0.6466 GB, free: 7.965 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1673, allocations: 23.92 kB / 0.6466 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1673, allocations: 0 / 0.6466 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.1674, allocations: 11.98 kB / 0.6466 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1676, allocations: 6.672 kB / 0.6466 GB, free: 7.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.168, allocations: 176.4 kB / 0.6468 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1683, allocations: 0.6807 MB / 0.6474 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.1684, allocations: 0 / 0.6474 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.1684, allocations: 15.42 kB / 0.6475 GB, free: 6.992 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1684, allocations: 0 / 0.6475 GB, free: 6.992 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.1896, allocations: 1.292 MB / 0.6487 GB, free: 5.762 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.538, allocations: 20.28 kB / 0.6487 GB, free: 5.746 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat --tempDir=temp_ClaRa_ClaRa_Visualisation_Check_TestRealDisplay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_ClaRa_Visualisation_Check_TestRealDisplay.fmu > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) diffSimulationResults("ClaRa_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_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches