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.1179/0.1179, allocations: 23.03 MB / 38.26 MB, free: 1.75 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008466/0.008466, allocations: 1.438 MB / 46.89 MB, free: 2.504 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.0011/0.0011, allocations: 104 kB / 54.51 MB, free: 6.508 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.00127/0.00127, allocations: 188.7 kB / 62.23 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.316/1.316, allocations: 222.9 MB / 292.7 MB, free: 224 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8305/0.8305, allocations: 127.4 MB / 477.1 MB, free: 9.586 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003356/0.003356, allocations: 131.2 kB / 0.5598 GB, free: 42.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1196, allocations: 82.45 MB / 0.6403 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003123/0.1228, allocations: 2.117 MB / 0.6424 GB, free: 10 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.1235, allocations: 403.1 kB / 0.6428 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.1235, allocations: 0 / 0.6428 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.1236, allocations: 3.938 kB / 0.6428 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.1236, allocations: 4 kB / 0.6428 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.1238, allocations: 11.92 kB / 0.6428 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.1239, allocations: 35.86 kB / 0.6428 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.124, allocations: 19.92 kB / 0.6429 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.1241, allocations: 19.92 kB / 0.6429 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1241, allocations: 19.92 kB / 0.6429 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1242, allocations: 4 kB / 0.6429 GB, free: 9.488 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.1242, allocations: 4 kB / 0.6429 GB, free: 9.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.1242, allocations: 7.938 kB / 0.6429 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1242, allocations: 19.86 kB / 0.6429 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.05e-05/0.1243, allocations: 31.89 kB / 0.643 GB, free: 9.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1243, allocations: 0 / 0.643 GB, free: 9.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1243, allocations: 0 / 0.643 GB, free: 9.426 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1243, allocations: 0 / 0.643 GB, free: 9.426 MB / 462.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.0004493/0.1248, allocations: 359.3 kB / 0.6433 GB, free: 9.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1248, allocations: 12.03 kB / 0.6433 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.1249, allocations: 34.69 kB / 0.6433 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.1249, allocations: 8.844 kB / 0.6434 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.125, allocations: 168.3 kB / 0.6435 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1251, allocations: 8.375 kB / 0.6435 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1251, allocations: 384 / 0.6435 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1252, allocations: 49.81 kB / 0.6436 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1252, allocations: 0 / 0.6436 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1253, allocations: 8 kB / 0.6436 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1253, allocations: 4 kB / 0.6436 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.1254, allocations: 23.92 kB / 0.6436 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1258, allocations: 284.8 kB / 0.6439 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.1259, allocations: 30.56 kB / 0.6439 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.1259, allocations: 20.92 kB / 0.6439 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1259, allocations: 3.938 kB / 0.6439 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.126, allocations: 30.56 kB / 0.644 GB, free: 8.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.126, allocations: 3.938 kB / 0.644 GB, free: 8.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.000211/0.1262, allocations: 61.58 kB / 0.644 GB, free: 8.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1262, allocations: 51.41 kB / 0.6441 GB, free: 8.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.1263, allocations: 125.9 kB / 0.6442 GB, free: 7.965 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1264, allocations: 25.7 kB / 0.6442 GB, free: 7.934 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1264, allocations: 92.12 kB / 0.6443 GB, free: 7.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1265, allocations: 3.906 kB / 0.6443 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1265, allocations: 17.72 kB / 0.6443 GB, free: 7.812 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1266, allocations: 318.8 kB / 0.6446 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.1267, allocations: 15.94 kB / 0.6446 GB, free: 7.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.1267, allocations: 11.98 kB / 0.6447 GB, free: 7.465 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.716e-05/0.1268, allocations: 20.86 kB / 0.6447 GB, free: 7.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1268, allocations: 0 / 0.6447 GB, free: 7.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.1269, allocations: 61.56 kB / 0.6447 GB, free: 7.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1269, allocations: 4 kB / 0.6447 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1269, allocations: 0 / 0.6447 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.127, allocations: 0 / 0.6447 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.127, allocations: 4 kB / 0.6447 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.127, allocations: 4.094 kB / 0.6447 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1271, allocations: 11.92 kB / 0.6448 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1271, allocations: 7.938 kB / 0.6448 GB, free: 7.344 MB / 462.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 7.77e-05/0.1272, allocations: 111.6 kB / 0.6449 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.1272, allocations: 4 kB / 0.6449 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.1273, allocations: 3.531 kB / 0.6449 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1273, allocations: 0 / 0.6449 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1273, allocations: 4 kB / 0.6449 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1273, allocations: 0 / 0.6449 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1275, allocations: 173.6 kB / 0.645 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1275, allocations: 0 / 0.645 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.1275, allocations: 7.984 kB / 0.6451 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1275, allocations: 0 / 0.6451 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.1275, allocations: 0 / 0.6451 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1275, allocations: 0 / 0.6451 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1275, allocations: 0 / 0.6451 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1277, allocations: 151.4 kB / 0.6452 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1277, allocations: 89.03 kB / 0.6453 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1278, allocations: 4.312 kB / 0.6453 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.1278, allocations: 4 kB / 0.6453 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1279, allocations: 4 kB / 0.6453 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1279, allocations: 3.984 kB / 0.6453 GB, free: 6.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.1279, allocations: 95.16 kB / 0.6454 GB, free: 6.613 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1279, allocations: 0 / 0.6454 GB, free: 6.613 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001999/0.1281, allocations: 4 kB / 0.6454 GB, free: 6.609 MB / 462.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.0004566/0.1286, allocations: 0.6812 MB / 0.6461 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1287, allocations: 23.92 kB / 0.6461 GB, free: 5.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1287, allocations: 0 / 0.6461 GB, free: 5.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.1288, allocations: 20.08 kB / 0.6461 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.129, allocations: 0 / 0.6461 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1294, allocations: 184.2 kB / 0.6463 GB, free: 5.641 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1298, allocations: 0.6807 MB / 0.6469 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.168e-05/0.1298, allocations: 4.062 kB / 0.6469 GB, free: 4.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.1298, allocations: 15.44 kB / 0.647 GB, free: 4.914 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1298, allocations: 0 / 0.647 GB, free: 4.914 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.1444, allocations: 1.173 MB / 0.6481 GB, free: 3.855 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.1446, allocations: 181.5 kB / 0.6483 GB, free: 3.598 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.855, allocations: 0 / 0.6483 GB, free: 3.598 MB / 462.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