Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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: 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_dev_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_dev_ClaRa.Visualisation.Check.TestRealDisplay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1269/0.1269, allocations: 23.02 MB / 38.66 MB, free: 1.496 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009133/0.009133, allocations: 1.441 MB / 47.31 MB, free: 2.184 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.001446/0.001446, allocations: 111.9 kB / 54.94 MB, free: 6.176 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.001737/0.001737, allocations: 191.8 kB / 62.69 MB, free: 14.62 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.483/1.483, allocations: 222.9 MB / 293.2 MB, free: 13.22 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9433/0.9433, allocations: 127.5 MB / 477.6 MB, free: 40 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00358/0.00358, allocations: 127.8 kB / 0.6423 GB, free: 12.73 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5656, allocations: 82.43 MB / 0.7228 GB, free: 9.598 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.003509/0.5691, allocations: 2.075 MB / 0.7249 GB, free: 7.996 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.5699, allocations: 403.8 kB / 0.7252 GB, free: 7.684 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.57, allocations: 1.125 kB / 0.7252 GB, free: 7.684 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.57, allocations: 3.938 kB / 0.7252 GB, free: 7.68 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.5701, allocations: 4.906 kB / 0.7252 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.5703, allocations: 22.02 kB / 0.7253 GB, free: 7.656 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.5704, allocations: 29.77 kB / 0.7253 GB, free: 7.641 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.5705, allocations: 18.69 kB / 0.7253 GB, free: 7.633 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.5706, allocations: 18.23 kB / 0.7253 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.5707, allocations: 23.58 kB / 0.7254 GB, free: 7.602 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.5707, allocations: 2.562 kB / 0.7254 GB, free: 7.602 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.5707, allocations: 3.031 kB / 0.7254 GB, free: 7.602 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.5707, allocations: 13.55 kB / 0.7254 GB, free: 7.59 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.5708, allocations: 16.47 kB / 0.7254 GB, free: 7.578 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.5709, allocations: 34.52 kB / 0.7254 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5709, allocations: 1.406 kB / 0.7254 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5709, allocations: 0 / 0.7254 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.5709, allocations: 0 / 0.7254 GB, free: 7.551 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004772/0.5714, allocations: 355.7 kB / 0.7258 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5714, allocations: 9.594 kB / 0.7258 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.5715, allocations: 10.92 kB / 0.7258 GB, free: 7.168 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5716, allocations: 176 kB / 0.7259 GB, free: 6.961 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5717, allocations: 2.344 kB / 0.726 GB, free: 6.961 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.5717, allocations: 6.266 kB / 0.726 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5718, allocations: 54.97 kB / 0.726 GB, free: 6.91 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5718, allocations: 3.938 kB / 0.726 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5719, allocations: 3.938 kB / 0.726 GB, free: 6.902 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5719, allocations: 1.688 kB / 0.726 GB, free: 6.902 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.572, allocations: 28.97 kB / 0.726 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.5724, allocations: 279.8 kB / 0.7263 GB, free: 6.586 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/0.5725, allocations: 31.16 kB / 0.7263 GB, free: 6.555 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.5726, allocations: 14.36 kB / 0.7264 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.5726, allocations: 5.375 kB / 0.7264 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5727, allocations: 34.55 kB / 0.7264 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5727, allocations: 1.375 kB / 0.7264 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.5729, allocations: 56.94 kB / 0.7265 GB, free: 6.453 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5729, allocations: 52.78 kB / 0.7265 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.5731, allocations: 113.1 kB / 0.7266 GB, free: 6.281 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.5731, allocations: 29.81 kB / 0.7266 GB, free: 6.246 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.5732, allocations: 98.91 kB / 0.7267 GB, free: 6.148 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.5732, allocations: 4.047 kB / 0.7267 GB, free: 6.145 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.5732, allocations: 21.78 kB / 0.7268 GB, free: 6.121 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5734, allocations: 320.1 kB / 0.7271 GB, free: 5.801 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.5734, allocations: 8.125 kB / 0.7271 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.5735, allocations: 9.484 kB / 0.7271 GB, free: 5.793 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.5735, allocations: 27.91 kB / 0.7271 GB, free: 5.773 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5736, allocations: 0 / 0.7271 GB, free: 5.773 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.5737, allocations: 54.12 kB / 0.7272 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5737, allocations: 8.312 kB / 0.7272 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5737, allocations: 0 / 0.7272 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5737, allocations: 0 / 0.7272 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.5738, allocations: 6.75 kB / 0.7272 GB, free: 5.727 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5738, allocations: 5.359 kB / 0.7272 GB, free: 5.723 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.5738, allocations: 10.72 kB / 0.7272 GB, free: 5.715 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.5739, allocations: 1.375 kB / 0.7272 GB, free: 5.715 MB / 0.5138 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 9.188e-05/0.574, allocations: 119.1 kB / 0.7273 GB, free: 5.59 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.574, allocations: 6.703 kB / 0.7273 GB, free: 5.586 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.574, allocations: 8.891 kB / 0.7273 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.574, allocations: 0 / 0.7273 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.574, allocations: 0 / 0.7273 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.574, allocations: 1.375 kB / 0.7273 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.5742, allocations: 173.8 kB / 0.7275 GB, free: 5.367 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5742, allocations: 0 / 0.7275 GB, free: 5.367 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.5743, allocations: 6.75 kB / 0.7275 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5743, allocations: 1.375 kB / 0.7275 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.5743, allocations: 0 / 0.7275 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5743, allocations: 0 / 0.7275 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5743, allocations: 1.375 kB / 0.7275 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.5745, allocations: 151.9 kB / 0.7276 GB, free: 5.215 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.5745, allocations: 86.44 kB / 0.7277 GB, free: 5.113 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.5746, allocations: 4.031 kB / 0.7277 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.5746, allocations: 2.75 kB / 0.7277 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5747, allocations: 5.359 kB / 0.7277 GB, free: 5.105 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.5747, allocations: 1.375 kB / 0.7277 GB, free: 5.105 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.5747, allocations: 90.09 kB / 0.7278 GB, free: 5.023 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5748, allocations: 0 / 0.7278 GB, free: 5.023 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002137/0.575, allocations: 9.438 kB / 0.7278 GB, free: 5.02 MB / 0.5138 GB 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.0001122/0.5751, allocations: 96.98 kB / 0.7279 GB, free: 4.93 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.5752, allocations: 24.36 kB / 0.7279 GB, free: 4.918 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5752, allocations: 1.375 kB / 0.7279 GB, free: 4.918 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.5753, allocations: 10.81 kB / 0.728 GB, free: 4.914 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.5755, allocations: 9.359 kB / 0.728 GB, free: 4.906 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.5759, allocations: 131.5 kB / 0.7281 GB, free: 4.781 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5762, allocations: 0.6849 MB / 0.7288 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.5762, allocations: 0 / 0.7288 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.5762, allocations: 8.812 kB / 0.7288 GB, free: 4.07 MB / 0.5138 GB Notification: Performance of SimCode: time 2.11e-07/0.5762, allocations: 0 / 0.7288 GB, free: 4.07 MB / 0.5138 GB Notification: Performance of Templates: time 0.002707/0.579, allocations: 369.6 kB / 0.7291 GB, free: 3.883 MB / 0.5138 GB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.makefile (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) diffSimulationResults("ClaRa_dev_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_dev_ClaRa.Visualisation.Check.TestRealDisplay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches