Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.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.TestDynamicBar,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestDynamicBar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_ClaRa_Visualisation_Check_TestDynamicBar",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.1385/0.1385, 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.009125/0.009125, allocations: 1.443 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.001293/0.001293, allocations: 107.9 kB / 54.94 MB, free: 6.16 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: 194.2 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.427/1.427, 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.8964/0.8964, allocations: 127.5 MB / 477.6 MB, free: 24 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004018/0.004018, allocations: 135.8 kB / 0.6418 GB, free: 13.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4521, allocations: 82.43 MB / 0.7223 GB, free: 9.586 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.004254/0.4564, allocations: 2.29 MB / 0.7246 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.4575, allocations: 451.1 kB / 0.725 GB, free: 7.465 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4576, allocations: 1.375 kB / 0.725 GB, free: 7.465 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.4578, allocations: 17.17 kB / 0.725 GB, free: 7.449 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.4579, allocations: 13.19 kB / 0.725 GB, free: 7.438 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.4582, allocations: 45.38 kB / 0.7251 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.4584, allocations: 98.12 kB / 0.7252 GB, free: 7.34 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4586, allocations: 20.89 kB / 0.7252 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4587, allocations: 42.91 kB / 0.7252 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4588, allocations: 42.77 kB / 0.7253 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.4589, allocations: 5.5 kB / 0.7253 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.4589, allocations: 6.875 kB / 0.7253 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.4589, allocations: 17.3 kB / 0.7253 GB, free: 7.258 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.459, allocations: 45.3 kB / 0.7253 GB, free: 7.223 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.4592, allocations: 78.95 kB / 0.7254 GB, free: 7.168 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4592, allocations: 4 kB / 0.7254 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4592, allocations: 0 / 0.7254 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.4592, allocations: 0 / 0.7254 GB, free: 7.164 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006847/0.4599, allocations: 406.7 kB / 0.7258 GB, free: 6.754 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.46, allocations: 9.625 kB / 0.7258 GB, free: 6.754 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.4601, allocations: 41.48 kB / 0.7259 GB, free: 6.707 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.4601, allocations: 14.34 kB / 0.7259 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.4604, allocations: 197.8 kB / 0.7261 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4604, allocations: 11.12 kB / 0.7261 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4604, allocations: 4.5 kB / 0.7261 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.4607, allocations: 126.1 kB / 0.7262 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4607, allocations: 1.375 kB / 0.7262 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4608, allocations: 7.922 kB / 0.7262 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4608, allocations: 2.75 kB / 0.7262 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.461, allocations: 66.98 kB / 0.7263 GB, free: 6.32 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.4618, allocations: 0.571 MB / 0.7268 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.462, allocations: 85.95 kB / 0.7269 GB, free: 5.641 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4622, allocations: 47.03 kB / 0.727 GB, free: 5.602 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4622, allocations: 4 kB / 0.727 GB, free: 5.598 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4623, allocations: 37.39 kB / 0.727 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4623, allocations: 0 / 0.727 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0004783/0.4627, allocations: 121.9 kB / 0.7271 GB, free: 5.484 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.4629, allocations: 146.1 kB / 0.7273 GB, free: 5.312 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4631, allocations: 153.3 kB / 0.7274 GB, free: 5.18 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4631, allocations: 35.06 kB / 0.7274 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.4632, allocations: 118.1 kB / 0.7275 GB, free: 5.027 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.4632, allocations: 17.48 kB / 0.7276 GB, free: 5.012 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.4633, allocations: 24.52 kB / 0.7276 GB, free: 4.988 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4634, allocations: 317.8 kB / 0.7279 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4635, allocations: 38.7 kB / 0.7279 GB, free: 4.648 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4637, allocations: 73.66 kB / 0.728 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.4639, allocations: 104.6 kB / 0.7281 GB, free: 4.488 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4639, allocations: 1.656 kB / 0.7281 GB, free: 4.488 MB / 0.5138 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000286/0.4642, allocations: 117.6 kB / 0.7282 GB, free: 4.418 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4643, allocations: 4.438 kB / 0.7282 GB, free: 4.418 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4643, allocations: 7.234 kB / 0.7282 GB, free: 4.414 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4643, allocations: 5.312 kB / 0.7282 GB, free: 4.41 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4644, allocations: 23.11 kB / 0.7282 GB, free: 4.402 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.4644, allocations: 1.281 kB / 0.7282 GB, free: 4.402 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4646, allocations: 24.19 kB / 0.7283 GB, free: 4.387 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4646, allocations: 3.188 kB / 0.7283 GB, free: 4.387 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001059/0.4647, allocations: 116 kB / 0.7284 GB, free: 4.27 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.4648, allocations: 8.047 kB / 0.7284 GB, free: 4.266 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.4648, allocations: 15.2 kB / 0.7284 GB, free: 4.246 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4648, allocations: 10.16 kB / 0.7284 GB, free: 4.238 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4648, allocations: 1.219 kB / 0.7284 GB, free: 4.238 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4649, allocations: 0 / 0.7284 GB, free: 4.238 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.4652, allocations: 193.1 kB / 0.7286 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4652, allocations: 12.95 kB / 0.7286 GB, free: 4.008 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.4653, allocations: 14.89 kB / 0.7286 GB, free: 4.004 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4653, allocations: 1.375 kB / 0.7286 GB, free: 4.004 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4653, allocations: 1.375 kB / 0.7286 GB, free: 4.004 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4654, allocations: 5.312 kB / 0.7286 GB, free: 4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4654, allocations: 0 / 0.7286 GB, free: 4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.4657, allocations: 355.2 kB / 0.729 GB, free: 3.676 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.4658, allocations: 89.12 kB / 0.7291 GB, free: 3.574 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4659, allocations: 1.375 kB / 0.7291 GB, free: 3.574 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.4661, allocations: 17.42 kB / 0.7291 GB, free: 3.562 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.4661, allocations: 7.391 kB / 0.7291 GB, free: 3.559 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.4661, allocations: 2.312 kB / 0.7291 GB, free: 3.559 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0001034/0.4662, allocations: 118.9 kB / 0.7292 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4662, allocations: 0 / 0.7292 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003145/0.4666, allocations: 11.94 kB / 0.7292 GB, free: 3.461 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007287/0.4673, allocations: 0.8792 MB / 0.7301 GB, free: 2.609 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.4676, allocations: 78.05 kB / 0.7301 GB, free: 2.574 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4676, allocations: 0 / 0.7301 GB, free: 2.574 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4677, allocations: 39.66 kB / 0.7302 GB, free: 2.555 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.4681, allocations: 10.41 kB / 0.7302 GB, free: 2.551 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4705, allocations: 1.765 MB / 0.7319 GB, free: 0.9141 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.4709, allocations: 0.6988 MB / 0.7326 GB, free: 212 kB / 0.5138 GB Notification: Performance of simCode: alias equations: time 7.058e-05/0.471, allocations: 6.938 kB / 0.7326 GB, free: 208 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.4711, allocations: 31.55 kB / 0.7326 GB, free: 180 kB / 0.5138 GB Notification: Performance of SimCode: time 4.11e-07/0.4711, allocations: 0 / 0.7326 GB, free: 180 kB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.4971, allocations: 2.088 MB / 0.7347 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.316, allocations: 21.27 kB / 0.7347 GB, free: 15.04 MB / 0.5294 GB (rm -f ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Visualisation.Check.TestDynamicBar_res.mat --tempDir=temp_ClaRa_ClaRa_Visualisation_Check_TestDynamicBar_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_ClaRa_Visualisation_Check_TestDynamicBar.fmu > ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestDynamicBar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches