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.1408/0.1408, 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.00889/0.00889, allocations: 1.445 MB / 47.31 MB, free: 2.176 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.001354/0.001354, allocations: 107.9 kB / 54.95 MB, free: 6.164 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.00152/0.00152, allocations: 192.3 kB / 62.69 MB, free: 14.6 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.43/1.43, 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.8755/0.8755, allocations: 127.5 MB / 477.6 MB, free: 28 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003506/0.003506, allocations: 140.2 kB / 0.6418 GB, free: 13.23 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4504, allocations: 82.43 MB / 0.7223 GB, free: 9.582 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003275/0.4537, allocations: 2.08 MB / 0.7244 GB, free: 7.977 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.4544, allocations: 394.7 kB / 0.7248 GB, free: 7.672 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.4545, allocations: 1.375 kB / 0.7248 GB, free: 7.672 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.4545, allocations: 3.938 kB / 0.7248 GB, free: 7.668 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.4546, allocations: 13.25 kB / 0.7248 GB, free: 7.656 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.4548, allocations: 18.67 kB / 0.7248 GB, free: 7.641 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.4548, allocations: 33.66 kB / 0.7248 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.455, allocations: 17.53 kB / 0.7248 GB, free: 7.613 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.4551, allocations: 17.42 kB / 0.7249 GB, free: 7.602 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.4551, allocations: 16.05 kB / 0.7249 GB, free: 7.59 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.4551, allocations: 2.75 kB / 0.7249 GB, free: 7.59 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.4552, allocations: 2.75 kB / 0.7249 GB, free: 7.59 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.4552, allocations: 9.312 kB / 0.7249 GB, free: 7.582 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.4552, allocations: 20 kB / 0.7249 GB, free: 7.566 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.4553, allocations: 39.59 kB / 0.7249 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4553, allocations: 0 / 0.7249 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of FrontEnd: time 3.707e-06/0.4554, allocations: 3.984 kB / 0.7249 GB, free: 7.535 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4554, allocations: 1.375 kB / 0.7249 GB, free: 7.535 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.0004602/0.4558, allocations: 347.8 kB / 0.7253 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4559, allocations: 9.625 kB / 0.7253 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.4559, allocations: 36.12 kB / 0.7253 GB, free: 7.121 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.456, allocations: 7.641 kB / 0.7253 GB, free: 7.117 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4561, allocations: 175 kB / 0.7255 GB, free: 6.91 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4561, allocations: 1.75 kB / 0.7255 GB, free: 6.91 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.4561, allocations: 7.125 kB / 0.7255 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.4563, allocations: 58.11 kB / 0.7256 GB, free: 6.855 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4563, allocations: 3.938 kB / 0.7256 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4563, allocations: 0 / 0.7256 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.4563, allocations: 5.359 kB / 0.7256 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.4564, allocations: 25.73 kB / 0.7256 GB, free: 6.836 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.4569, allocations: 288.1 kB / 0.7259 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.457, allocations: 30.77 kB / 0.7259 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.457, allocations: 15.72 kB / 0.7259 GB, free: 6.484 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.457, allocations: 0 / 0.7259 GB, free: 6.484 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4571, allocations: 35.94 kB / 0.7259 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4571, allocations: 4 kB / 0.7259 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.4573, allocations: 60.86 kB / 0.726 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4574, allocations: 52.78 kB / 0.7261 GB, free: 6.328 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.4575, allocations: 116.8 kB / 0.7262 GB, free: 6.215 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4575, allocations: 25.7 kB / 0.7262 GB, free: 6.184 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.4575, allocations: 94.83 kB / 0.7263 GB, free: 6.09 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.4576, allocations: 9.266 kB / 0.7263 GB, free: 6.082 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.4576, allocations: 16.59 kB / 0.7263 GB, free: 6.062 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4577, allocations: 320.2 kB / 0.7266 GB, free: 5.742 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.4578, allocations: 9.484 kB / 0.7266 GB, free: 5.738 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.4578, allocations: 9.5 kB / 0.7266 GB, free: 5.734 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.4579, allocations: 22.47 kB / 0.7267 GB, free: 5.719 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4579, allocations: 1.375 kB / 0.7267 GB, free: 5.719 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/0.458, allocations: 52.81 kB / 0.7267 GB, free: 5.676 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.458, allocations: 9.484 kB / 0.7267 GB, free: 5.672 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4581, allocations: 4 kB / 0.7267 GB, free: 5.668 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4581, allocations: 0 / 0.7267 GB, free: 5.668 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.4581, allocations: 4.125 kB / 0.7267 GB, free: 5.668 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4582, allocations: 0 / 0.7267 GB, free: 5.668 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.4582, allocations: 10.73 kB / 0.7267 GB, free: 5.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4582, allocations: 5.312 kB / 0.7267 GB, free: 5.656 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.576e-05/0.4583, allocations: 112.6 kB / 0.7268 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4583, allocations: 5.328 kB / 0.7268 GB, free: 5.535 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.4584, allocations: 8.906 kB / 0.7269 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4584, allocations: 0 / 0.7269 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4584, allocations: 5.312 kB / 0.7269 GB, free: 5.523 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4584, allocations: 0 / 0.7269 GB, free: 5.523 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4586, allocations: 165.8 kB / 0.727 GB, free: 5.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4586, allocations: 0 / 0.727 GB, free: 5.32 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.4586, allocations: 8.109 kB / 0.727 GB, free: 5.316 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4586, allocations: 0 / 0.727 GB, free: 5.316 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.4586, allocations: 4 kB / 0.727 GB, free: 5.312 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4586, allocations: 5.375 kB / 0.727 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4586, allocations: 384 / 0.727 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.4588, allocations: 147.9 kB / 0.7272 GB, free: 5.164 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.4589, allocations: 82.44 kB / 0.7273 GB, free: 5.066 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4589, allocations: 3.984 kB / 0.7273 GB, free: 5.062 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.459, allocations: 8.062 kB / 0.7273 GB, free: 5.059 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.459, allocations: 5.406 kB / 0.7273 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.459, allocations: 0 / 0.7273 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.4591, allocations: 94.08 kB / 0.7274 GB, free: 4.969 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.4591, allocations: 1.375 kB / 0.7274 GB, free: 4.969 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002019/0.4593, allocations: 4.125 kB / 0.7274 GB, free: 4.969 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.0004792/0.4598, allocations: 0.6795 MB / 0.728 GB, free: 4.293 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.4599, allocations: 25.73 kB / 0.7281 GB, free: 4.281 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4599, allocations: 0 / 0.7281 GB, free: 4.281 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.4599, allocations: 12.25 kB / 0.7281 GB, free: 4.277 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.4602, allocations: 5.359 kB / 0.7281 GB, free: 4.273 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.4606, allocations: 159.5 kB / 0.7282 GB, free: 4.109 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4609, allocations: 0.6885 MB / 0.7289 GB, free: 3.402 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.4609, allocations: 1.625 kB / 0.7289 GB, free: 3.402 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.461, allocations: 15.44 kB / 0.7289 GB, free: 3.387 MB / 0.5138 GB Notification: Performance of SimCode: time 2.1e-07/0.461, allocations: 0 / 0.7289 GB, free: 3.387 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.4824, allocations: 1.328 MB / 0.7302 GB, free: 2.621 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.321, allocations: 15.11 kB / 0.7302 GB, free: 2.609 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 & 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