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/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/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: translateModel(ClaRa.Visualisation.Check.TestRealDisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|cosine.amplitude|cosine.f|cosine.offset|cosine.phase|cosine.startTime|cosine.y|greaterThreshold.threshold|greaterThreshold.u|greaterThreshold.y|realDisplay.digits|realDisplay.u|realDisplay.u_high|realDisplay.u_low|realDisplay.y|tinyBooleanDisplay.u|tinyBooleanDisplay.y",fileNamePrefix="ClaRa_ClaRa.Visualisation.Check.TestRealDisplay") translateModel(ClaRa.Visualisation.Check.TestRealDisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|cosine.amplitude|cosine.f|cosine.offset|cosine.phase|cosine.startTime|cosine.y|greaterThreshold.threshold|greaterThreshold.u|greaterThreshold.y|realDisplay.digits|realDisplay.u|realDisplay.u_high|realDisplay.u_low|realDisplay.y|tinyBooleanDisplay.u|tinyBooleanDisplay.y",fileNamePrefix="ClaRa_ClaRa.Visualisation.Check.TestRealDisplay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1355/0.1355, allocations: 23.04 MB / 38.16 MB, free: 1.805 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009476/0.009477, allocations: 1.435 MB / 46.78 MB, free: 2.562 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.00141/0.00141, allocations: 107.8 kB / 54.39 MB, free: 6.57 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.001535/0.001534, allocations: 186.7 kB / 62.11 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.514/1.514, allocations: 222.9 MB / 292.6 MB, free: 292 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 1.024/1.024, allocations: 127.4 MB / 476.9 MB, free: 9.605 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003702/0.003702, allocations: 133.2 kB / 0.5594 GB, free: 42.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1359, allocations: 82.44 MB / 0.6399 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003384/0.1393, allocations: 2.133 MB / 0.642 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.1399, allocations: 383.2 kB / 0.6424 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.14, allocations: 8 kB / 0.6424 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.14, allocations: 7.922 kB / 0.6424 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.1401, allocations: 0 / 0.6424 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.1402, allocations: 11.88 kB / 0.6424 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.1403, allocations: 31.92 kB / 0.6425 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.1404, allocations: 24.19 kB / 0.6425 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.1405, allocations: 11.94 kB / 0.6425 GB, free: 9.637 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.1405, allocations: 19.86 kB / 0.6425 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1405, allocations: 8 kB / 0.6425 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.1406, allocations: 0 / 0.6425 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1406, allocations: 7.984 kB / 0.6425 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.1406, allocations: 15.88 kB / 0.6425 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 7.371e-05/0.1407, allocations: 31.89 kB / 0.6426 GB, free: 9.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1407, allocations: 0 / 0.6426 GB, free: 9.555 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1407, allocations: 0 / 0.6426 GB, free: 9.555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1407, allocations: 0 / 0.6426 GB, free: 9.555 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.0004334/0.1411, allocations: 355.3 kB / 0.6429 GB, free: 9.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1412, allocations: 13.16 kB / 0.6429 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1412, allocations: 8.844 kB / 0.6429 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1414, allocations: 168.3 kB / 0.6431 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1414, allocations: 4.375 kB / 0.6431 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1414, allocations: 4.375 kB / 0.6431 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1416, allocations: 53.98 kB / 0.6431 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1416, allocations: 3.938 kB / 0.6432 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1416, allocations: 4 kB / 0.6432 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1416, allocations: 0 / 0.6432 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1417, allocations: 35.95 kB / 0.6432 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1421, allocations: 284.7 kB / 0.6435 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.108e-05/0.1422, allocations: 30.56 kB / 0.6435 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1423, allocations: 12.92 kB / 0.6435 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1423, allocations: 4 kB / 0.6435 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1424, allocations: 38.55 kB / 0.6435 GB, free: 8.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1424, allocations: 0 / 0.6435 GB, free: 8.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002146/0.1426, allocations: 61.53 kB / 0.6436 GB, free: 8.328 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1426, allocations: 51.41 kB / 0.6437 GB, free: 8.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1427, allocations: 125.7 kB / 0.6438 GB, free: 8.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1428, allocations: 25.7 kB / 0.6438 GB, free: 8.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1428, allocations: 96.2 kB / 0.6439 GB, free: 8.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.1428, allocations: 3.906 kB / 0.6439 GB, free: 8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.1429, allocations: 13.72 kB / 0.6439 GB, free: 7.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.143, allocations: 322.8 kB / 0.6442 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.1431, allocations: 4 kB / 0.6442 GB, free: 7.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.1431, allocations: 15.98 kB / 0.6442 GB, free: 7.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.1432, allocations: 32.84 kB / 0.6443 GB, free: 7.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1432, allocations: 0 / 0.6443 GB, free: 7.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.1433, allocations: 45.69 kB / 0.6443 GB, free: 7.551 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1433, allocations: 4 kB / 0.6443 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1434, allocations: 0 / 0.6443 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1434, allocations: 0 / 0.6443 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.1434, allocations: 7.984 kB / 0.6443 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1435, allocations: 0 / 0.6443 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.1435, allocations: 11.91 kB / 0.6443 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1435, allocations: 4.031 kB / 0.6443 GB, free: 7.523 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 8.877e-05/0.1436, allocations: 113.7 kB / 0.6444 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.1436, allocations: 4 kB / 0.6444 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.1437, allocations: 11.52 kB / 0.6445 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1437, allocations: 0 / 0.6445 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1437, allocations: 7.938 kB / 0.6445 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1437, allocations: 3.938 kB / 0.6445 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1439, allocations: 165.6 kB / 0.6446 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1439, allocations: 0 / 0.6446 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.1439, allocations: 8 kB / 0.6446 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1439, allocations: 0 / 0.6446 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.144, allocations: 4 kB / 0.6446 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.144, allocations: 4 kB / 0.6446 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.144, allocations: 0 / 0.6446 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1441, allocations: 147.5 kB / 0.6448 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.1442, allocations: 81.02 kB / 0.6449 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1442, allocations: 8.031 kB / 0.6449 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.1443, allocations: 0 / 0.6449 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1443, allocations: 7.984 kB / 0.6449 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1443, allocations: 0 / 0.6449 GB, free: 6.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.1444, allocations: 99.52 kB / 0.645 GB, free: 6.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1444, allocations: 0 / 0.645 GB, free: 6.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.1446, allocations: 7.938 kB / 0.645 GB, free: 6.773 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 8.405e-05/0.1447, allocations: 91.25 kB / 0.6451 GB, free: 6.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1448, allocations: 27.98 kB / 0.6451 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1449, allocations: 0 / 0.6451 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.1449, allocations: 12 kB / 0.6451 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1451, allocations: 3.125 kB / 0.6451 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.1454, allocations: 168.4 kB / 0.6453 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1458, allocations: 0.6809 MB / 0.6459 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.524e-05/0.1458, allocations: 3.906 kB / 0.6459 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.1458, allocations: 11.44 kB / 0.6459 GB, free: 5.723 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1458, allocations: 0 / 0.6459 GB, free: 5.723 MB / 462.1 MB Notification: Performance of Templates: time 0.002322/0.1482, allocations: 305.8 kB / 0.6462 GB, free: 5.426 MB / 462.1 MB make -j1 -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.makefile (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 & ./ClaRa_ClaRa.Visualisation.Check.TestRealDisplay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches