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/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01451/0.01451, allocations: 1.791 MB / 21.89 MB, free: 2.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 87.39 kB / 25.61 MB, free: 6.535 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 163.4 kB / 29.46 MB, free: 3.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9258/0.9258, allocations: 177.1 MB / 210.3 MB, free: 1.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6904/0.6904, allocations: 102.5 MB / 369.8 MB, free: 0.9648 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 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 800] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 469.8 MB, free: 13.05 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.68e-05, allocations: 6.312 kB / 469.9 MB, free: 13.04 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003123/0.003149, allocations: 2.14 MB / 472 MB, free: 10.89 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007741/0.003923, allocations: 462.8 kB / 472.4 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.003987, allocations: 0 / 472.4 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.004017, allocations: 3.938 kB / 472.4 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.004069, allocations: 11.88 kB / 472.5 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.004303, allocations: 27.89 kB / 472.5 MB, free: 10.39 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.00442, allocations: 35.86 kB / 472.5 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.004525, allocations: 8 kB / 472.5 MB, free: 10.34 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004677, allocations: 39.83 kB / 472.6 MB, free: 10.3 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.004725, allocations: 11.98 kB / 472.6 MB, free: 10.29 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.004742, allocations: 7.938 kB / 472.6 MB, free: 10.29 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.004786, allocations: 4 kB / 472.6 MB, free: 10.28 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.004796, allocations: 0 / 472.6 MB, free: 10.28 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.00482, allocations: 11.94 kB / 472.6 MB, free: 10.27 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.004943, allocations: 39.89 kB / 472.6 MB, free: 10.23 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.004946, allocations: 0 / 472.6 MB, free: 10.23 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004947, allocations: 0 / 472.6 MB, free: 10.23 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004952, allocations: 0 / 472.6 MB, free: 10.23 MB / 442.8 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.0003926/0.005344, allocations: 384.5 kB / 473 MB, free: 9.82 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.005385, allocations: 8.031 kB / 473 MB, free: 9.812 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.005536, allocations: 16.89 kB / 473 MB, free: 9.797 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.005704, allocations: 132.4 kB / 473.2 MB, free: 9.641 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005717, allocations: 12.3 kB / 473.2 MB, free: 9.629 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.005727, allocations: 384 / 473.2 MB, free: 9.629 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.005858, allocations: 70.92 kB / 473.3 MB, free: 9.551 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005864, allocations: 192 / 473.3 MB, free: 9.551 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.005874, allocations: 384 / 473.3 MB, free: 9.551 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.005883, allocations: 3.938 kB / 473.3 MB, free: 9.547 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.005922, allocations: 8 kB / 473.3 MB, free: 9.539 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.006268, allocations: 279.7 kB / 473.5 MB, free: 9.23 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.006327, allocations: 35 kB / 473.6 MB, free: 9.184 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.006349, allocations: 7.688 kB / 473.6 MB, free: 9.172 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.006362, allocations: 0 / 473.6 MB, free: 9.172 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.006389, allocations: 41.45 kB / 473.6 MB, free: 9.121 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.00639, allocations: 3.938 kB / 473.6 MB, free: 9.117 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.006553, allocations: 41.69 kB / 473.7 MB, free: 9.07 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.006583, allocations: 51.41 kB / 473.7 MB, free: 9.008 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006688, allocations: 173.9 kB / 473.9 MB, free: 8.82 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.006698, allocations: 29.69 kB / 473.9 MB, free: 8.785 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.006758, allocations: 138.8 kB / 474.1 MB, free: 8.645 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.006774, allocations: 7.953 kB / 474.1 MB, free: 8.637 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.006811, allocations: 19.38 kB / 474.1 MB, free: 8.609 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.006945, allocations: 0.4884 MB / 474.6 MB, free: 8.109 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.006963, allocations: 8.125 kB / 474.6 MB, free: 8.102 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.006976, allocations: 3.938 kB / 474.6 MB, free: 8.098 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.007009, allocations: 11.69 kB / 474.6 MB, free: 8.082 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007011, allocations: 0 / 474.6 MB, free: 8.082 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.94e-05/0.007091, allocations: 49.62 kB / 474.6 MB, free: 8.027 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.007105, allocations: 4 kB / 474.6 MB, free: 8.023 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007109, allocations: 0 / 474.6 MB, free: 8.023 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.007122, allocations: 0 / 474.6 MB, free: 8.023 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.00719, allocations: 4 kB / 474.6 MB, free: 8.02 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007195, allocations: 4.094 kB / 474.6 MB, free: 8.016 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.007219, allocations: 0 / 474.6 MB, free: 8.016 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.007227, allocations: 7.984 kB / 474.7 MB, free: 8.008 MB / 442.8 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.952e-05/0.007306, allocations: 156.5 kB / 474.8 MB, free: 7.844 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.007335, allocations: 11.89 kB / 474.8 MB, free: 7.832 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.007358, allocations: 7.625 kB / 474.8 MB, free: 7.828 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00736, allocations: 3.938 kB / 474.8 MB, free: 7.824 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.007364, allocations: 0 / 474.8 MB, free: 7.824 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007367, allocations: 0 / 474.8 MB, free: 7.824 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.007503, allocations: 120.6 kB / 475 MB, free: 7.672 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007504, allocations: 0 / 475 MB, free: 7.672 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.007531, allocations: 15.92 kB / 475 MB, free: 7.656 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007533, allocations: 0 / 475 MB, free: 7.656 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007539, allocations: 0 / 475 MB, free: 7.656 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00754, allocations: 0 / 475 MB, free: 7.656 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007541, allocations: 0 / 475 MB, free: 7.656 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.007665, allocations: 187.9 kB / 475.2 MB, free: 7.453 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.007678, allocations: 19.81 kB / 475.2 MB, free: 7.434 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.00769, allocations: 0 / 475.2 MB, free: 7.434 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.007747, allocations: 0 / 475.2 MB, free: 7.434 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.007785, allocations: 7.938 kB / 475.2 MB, free: 7.426 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.007791, allocations: 12.02 kB / 475.2 MB, free: 7.414 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001816/0.007972, allocations: 131.2 kB / 475.3 MB, free: 7.285 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007972, allocations: 0 / 475.3 MB, free: 7.285 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002612/0.008234, allocations: 4 kB / 475.3 MB, free: 7.281 MB / 442.8 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.000101/0.008335, allocations: 95.23 kB / 475.4 MB, free: 7.176 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 8.414e-05/0.008419, allocations: 11.69 kB / 475.4 MB, free: 7.16 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00842, allocations: 0 / 475.4 MB, free: 7.16 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.008443, allocations: 15.69 kB / 475.4 MB, free: 7.141 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.008699, allocations: 12.91 kB / 475.5 MB, free: 7.129 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.00923, allocations: 154.1 kB / 475.6 MB, free: 6.949 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.009262, allocations: 55.34 kB / 475.7 MB, free: 6.875 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.994e-05/0.009282, allocations: 7.906 kB / 475.7 MB, free: 6.867 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.009307, allocations: 8.5 kB / 475.7 MB, free: 6.859 MB / 442.8 MB Notification: Performance of SimCode: time 8.21e-07/0.009308, allocations: 0 / 475.7 MB, free: 6.859 MB / 442.8 MB Notification: Performance of Templates: time 0.001863/0.01117, allocations: 380.7 kB / 476 MB, free: 6.484 MB / 442.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.makefile [Timeout 800] (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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Visualisation.Check.TestRealDisplay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestRealDisplay.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "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 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4260652309749275]