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.1197/0.1197, allocations: 23.03 MB / 38.67 MB, free: 1.48 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008847/0.008847, allocations: 1.438 MB / 47.32 MB, free: 2.164 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.00127/0.00127, allocations: 107.9 kB / 54.94 MB, free: 6.156 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.001416/0.001416, allocations: 189.4 kB / 62.69 MB, free: 14.63 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.369/1.369, allocations: 222.9 MB / 293.2 MB, free: 13.2 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8605/0.8605, allocations: 127.5 MB / 477.6 MB, free: 36 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003477/0.003477, allocations: 127.8 kB / 0.6418 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3908, allocations: 82.44 MB / 0.7223 GB, free: 9.395 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003309/0.3942, allocations: 2.082 MB / 0.7244 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.3949, allocations: 394.2 kB / 0.7247 GB, free: 7.484 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.3949, allocations: 5.062 kB / 0.7248 GB, free: 7.48 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.3949, allocations: 7.922 kB / 0.7248 GB, free: 7.473 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.395, allocations: 4.938 kB / 0.7248 GB, free: 7.469 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3951, allocations: 15.42 kB / 0.7248 GB, free: 7.457 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.3952, allocations: 33.05 kB / 0.7248 GB, free: 7.438 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3953, allocations: 22.17 kB / 0.7248 GB, free: 7.426 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.3954, allocations: 17.95 kB / 0.7248 GB, free: 7.414 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.3955, allocations: 20.36 kB / 0.7249 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3955, allocations: 5.562 kB / 0.7249 GB, free: 7.395 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.3955, allocations: 3.094 kB / 0.7249 GB, free: 7.395 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.3955, allocations: 5.406 kB / 0.7249 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.3956, allocations: 19.92 kB / 0.7249 GB, free: 7.375 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 8.592e-05/0.3957, allocations: 34.97 kB / 0.7249 GB, free: 7.352 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3957, allocations: 1.469 kB / 0.7249 GB, free: 7.352 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3957, allocations: 3.938 kB / 0.7249 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3957, allocations: 0 / 0.7249 GB, free: 7.348 MB / 0.5138 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.000442/0.3961, allocations: 353.5 kB / 0.7253 GB, free: 6.973 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3962, allocations: 13.41 kB / 0.7253 GB, free: 6.969 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.3962, allocations: 34.75 kB / 0.7253 GB, free: 6.926 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.3963, allocations: 8.734 kB / 0.7253 GB, free: 6.922 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3964, allocations: 174.2 kB / 0.7255 GB, free: 6.715 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3964, allocations: 2.438 kB / 0.7255 GB, free: 6.715 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.3964, allocations: 2.406 kB / 0.7255 GB, free: 6.715 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3966, allocations: 53.97 kB / 0.7256 GB, free: 6.668 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3966, allocations: 0 / 0.7256 GB, free: 6.668 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3966, allocations: 0 / 0.7256 GB, free: 6.668 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3966, allocations: 1.031 kB / 0.7256 GB, free: 6.668 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.3967, allocations: 38.19 kB / 0.7256 GB, free: 6.645 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3971, allocations: 283.7 kB / 0.7259 GB, free: 6.34 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.3972, allocations: 35.06 kB / 0.7259 GB, free: 6.305 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.3973, allocations: 11.83 kB / 0.7259 GB, free: 6.297 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3973, allocations: 4 kB / 0.7259 GB, free: 6.293 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3973, allocations: 31.53 kB / 0.7259 GB, free: 6.254 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3973, allocations: 0 / 0.7259 GB, free: 6.254 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.3976, allocations: 61.23 kB / 0.726 GB, free: 6.207 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3976, allocations: 52.91 kB / 0.726 GB, free: 6.145 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3977, allocations: 112.3 kB / 0.7262 GB, free: 6.035 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3978, allocations: 26.61 kB / 0.7262 GB, free: 6.004 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.3978, allocations: 98.52 kB / 0.7263 GB, free: 5.906 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3978, allocations: 13.33 kB / 0.7263 GB, free: 5.895 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3979, allocations: 12.66 kB / 0.7263 GB, free: 5.879 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.398, allocations: 324.6 kB / 0.7266 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.3981, allocations: 4.219 kB / 0.7266 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.3981, allocations: 8.922 kB / 0.7266 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.3982, allocations: 28.78 kB / 0.7266 GB, free: 5.531 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3982, allocations: 0 / 0.7266 GB, free: 5.531 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.3983, allocations: 50.09 kB / 0.7267 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3983, allocations: 3.594 kB / 0.7267 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3983, allocations: 1.875 kB / 0.7267 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3984, allocations: 3.938 kB / 0.7267 GB, free: 5.488 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.3984, allocations: 3.531 kB / 0.7267 GB, free: 5.488 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3984, allocations: 3.938 kB / 0.7267 GB, free: 5.484 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.3985, allocations: 11.61 kB / 0.7267 GB, free: 5.477 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3985, allocations: 7.938 kB / 0.7267 GB, free: 5.469 MB / 0.5138 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 8.451e-05/0.3986, allocations: 113.4 kB / 0.7268 GB, free: 5.352 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3986, allocations: 5.734 kB / 0.7268 GB, free: 5.348 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.3986, allocations: 3.531 kB / 0.7268 GB, free: 5.344 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3986, allocations: 1.781 kB / 0.7268 GB, free: 5.344 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3987, allocations: 3.984 kB / 0.7269 GB, free: 5.34 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3987, allocations: 384 / 0.7269 GB, free: 5.34 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3989, allocations: 166.5 kB / 0.727 GB, free: 5.137 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3989, allocations: 0 / 0.727 GB, free: 5.137 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.3989, allocations: 11.58 kB / 0.727 GB, free: 5.129 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3989, allocations: 7.922 kB / 0.727 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3989, allocations: 0 / 0.727 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3989, allocations: 1.781 kB / 0.727 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3989, allocations: 0 / 0.727 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3991, allocations: 155.9 kB / 0.7272 GB, free: 4.969 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3992, allocations: 81.06 kB / 0.7273 GB, free: 4.871 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3992, allocations: 5.406 kB / 0.7273 GB, free: 4.867 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.3993, allocations: 2.75 kB / 0.7273 GB, free: 4.867 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.3993, allocations: 5.359 kB / 0.7273 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3993, allocations: 1.375 kB / 0.7273 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.3994, allocations: 90.09 kB / 0.7274 GB, free: 4.781 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3994, allocations: 0 / 0.7274 GB, free: 4.781 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002065/0.3996, allocations: 4.125 kB / 0.7274 GB, free: 4.781 MB / 0.5138 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 0.00047/0.4001, allocations: 0.677 MB / 0.728 GB, free: 4.109 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.4002, allocations: 29.67 kB / 0.7281 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4002, allocations: 0 / 0.7281 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.4002, allocations: 12.23 kB / 0.7281 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.4004, allocations: 9.531 kB / 0.7281 GB, free: 4.082 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.4009, allocations: 158.5 kB / 0.7282 GB, free: 3.918 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4012, allocations: 0.6809 MB / 0.7289 GB, free: 3.219 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.4012, allocations: 5.312 kB / 0.7289 GB, free: 3.215 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.4013, allocations: 19.42 kB / 0.7289 GB, free: 3.195 MB / 0.5138 GB Notification: Performance of SimCode: time 2.074e-06/0.4013, allocations: 1.375 kB / 0.7289 GB, free: 3.195 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.423, allocations: 1.323 MB / 0.7302 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.138, allocations: 11.42 kB / 0.7302 GB, free: 2.422 MB / 0.5138 GB (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