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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1155/0.1155, allocations: 23.18 MB / 41.75 MB, free: 7.523 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009058/0.009058, allocations: 1.453 MB / 52.85 MB, free: 1.547 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 111.1 kB / 62.96 MB, free: 3.215 MB / 46.55 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 195.6 kB / 73.18 MB, free: 8.496 MB / 62.07 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 308.8 MB, free: 1.273 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9056/0.9056, allocations: 129 MB / 500 MB, free: 3.352 MB / 366.1 MB " [Timeout remaining time 179] 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: translateModel(ClaRa.Visualisation.Check.TestRealDisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003834/0.003834, allocations: 131.8 kB / 0.6761 GB, free: 6.434 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1507, allocations: 86.84 MB / 0.7609 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003326/0.154, allocations: 2.087 MB / 0.7629 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.1548, allocations: 407.1 kB / 0.7633 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.1548, allocations: 0 / 0.7633 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.1549, allocations: 3.938 kB / 0.7633 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.1549, allocations: 7.875 kB / 0.7633 GB, free: 12.92 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.1551, allocations: 11.98 kB / 0.7633 GB, free: 12.91 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.1552, allocations: 43.8 kB / 0.7634 GB, free: 12.86 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.1553, allocations: 15.98 kB / 0.7634 GB, free: 12.85 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.1553, allocations: 23.86 kB / 0.7634 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1554, allocations: 15.92 kB / 0.7634 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1554, allocations: 4 kB / 0.7634 GB, free: 12.8 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.1554, allocations: 4 kB / 0.7634 GB, free: 12.8 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.1554, allocations: 3.938 kB / 0.7634 GB, free: 12.8 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1555, allocations: 23.86 kB / 0.7635 GB, free: 12.77 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.1556, allocations: 31.83 kB / 0.7635 GB, free: 12.74 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1556, allocations: 4 kB / 0.7635 GB, free: 12.74 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1556, allocations: 0 / 0.7635 GB, free: 12.74 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.1556, allocations: 4 kB / 0.7635 GB, free: 12.73 MB / 0.5607 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.0004621/0.1561, allocations: 347.3 kB / 0.7638 GB, free: 12.35 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1561, allocations: 12.03 kB / 0.7638 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.1561, allocations: 4.891 kB / 0.7638 GB, free: 12.33 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1563, allocations: 176.3 kB / 0.764 GB, free: 12.12 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1563, allocations: 384 / 0.764 GB, free: 12.12 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1563, allocations: 12.31 kB / 0.764 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1564, allocations: 57.98 kB / 0.7641 GB, free: 12.05 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1564, allocations: 0 / 0.7641 GB, free: 12.05 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1565, allocations: 4 kB / 0.7641 GB, free: 12.04 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1565, allocations: 0 / 0.7641 GB, free: 12.04 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.394e-05/0.1566, allocations: 27.97 kB / 0.7641 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.157, allocations: 288.7 kB / 0.7644 GB, free: 11.68 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.1571, allocations: 34.56 kB / 0.7644 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.1571, allocations: 12.92 kB / 0.7644 GB, free: 11.62 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1571, allocations: 0 / 0.7644 GB, free: 11.62 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1572, allocations: 34.56 kB / 0.7645 GB, free: 11.58 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1572, allocations: 0 / 0.7645 GB, free: 11.58 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.1574, allocations: 61.61 kB / 0.7645 GB, free: 11.52 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1574, allocations: 55.53 kB / 0.7646 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.1575, allocations: 117.8 kB / 0.7647 GB, free: 11.32 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1575, allocations: 25.7 kB / 0.7647 GB, free: 11.29 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1576, allocations: 92.08 kB / 0.7648 GB, free: 11.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.1576, allocations: 7.891 kB / 0.7648 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1577, allocations: 13.72 kB / 0.7648 GB, free: 11.17 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1578, allocations: 326.8 kB / 0.7651 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.1578, allocations: 4 kB / 0.7651 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.1579, allocations: 15.98 kB / 0.7651 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.1579, allocations: 20.86 kB / 0.7652 GB, free: 10.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1579, allocations: 3.984 kB / 0.7652 GB, free: 10.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.1581, allocations: 53.62 kB / 0.7652 GB, free: 10.74 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1581, allocations: 6.188 kB / 0.7652 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1581, allocations: 0 / 0.7652 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1581, allocations: 0 / 0.7652 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.1582, allocations: 8.094 kB / 0.7652 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1582, allocations: 0 / 0.7652 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.1582, allocations: 7.984 kB / 0.7652 GB, free: 10.72 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1582, allocations: 4 kB / 0.7652 GB, free: 10.71 MB / 0.5607 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.523e-05/0.1583, allocations: 117.7 kB / 0.7654 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1583, allocations: 3.953 kB / 0.7654 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1584, allocations: 11.53 kB / 0.7654 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1584, allocations: 0 / 0.7654 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1584, allocations: 0 / 0.7654 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.1584, allocations: 85.09 kB / 0.7655 GB, free: 10.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1584, allocations: 3.938 kB / 0.7655 GB, free: 10.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.1585, allocations: 4 kB / 0.7655 GB, free: 10.47 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1585, allocations: 7.984 kB / 0.7655 GB, free: 10.46 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001715/0.1587, allocations: 132.9 kB / 0.7656 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002045/0.1589, allocations: 234.8 kB / 0.7658 GB, free: 10.08 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.691e-05/0.1589, allocations: 7.984 kB / 0.7658 GB, free: 10.07 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.159, allocations: 91.59 kB / 0.7659 GB, free: 9.98 MB / 0.5607 GB Notification: Performance of Backend: time 2.8e-07/0.159, allocations: 3.938 kB / 0.7659 GB, free: 9.977 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1594, allocations: 86.39 kB / 0.766 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of SimCode: time 0.0004885/0.1598, allocations: 0.5781 MB / 0.7666 GB, free: 9.258 MB / 0.5607 GB Notification: Performance of Templates: time 0.002763/0.1626, allocations: 463.1 kB / 0.767 GB, free: 8.809 MB / 0.5607 GB " [Timeout remaining time 660] make -j1 -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.007309796987101]