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.007135/0.007135, allocations: 1.438 MB / 20.54 MB, free: 4 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.0009132/0.0009132, allocations: 87.47 kB / 24.16 MB, free: 388 kB / 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.0007473/0.0007473, allocations: 161 kB / 27.86 MB, free: 5.5 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.8531/0.8531, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.6984/0.6984, allocations: 102.5 MB / 367.9 MB, free: 1.488 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 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"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5361 GB, free: 40.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.654e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.04 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestRealDisplay): time 0.002734/0.002751, allocations: 2.084 MB / 0.5382 GB, free: 38.61 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007413/0.003492, allocations: 455 kB / 0.5386 GB, free: 38.31 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.00356, allocations: 0 / 0.5386 GB, free: 38.31 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.003594, allocations: 7.875 kB / 0.5386 GB, free: 38.3 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.003644, allocations: 10.39 kB / 0.5386 GB, free: 38.29 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.003893, allocations: 20.3 kB / 0.5387 GB, free: 38.29 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.004007, allocations: 39.83 kB / 0.5387 GB, free: 38.27 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.004124, allocations: 20.72 kB / 0.5387 GB, free: 38.25 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.004284, allocations: 26.84 kB / 0.5387 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.004336, allocations: 11.75 kB / 0.5388 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004354, allocations: 2.312 kB / 0.5388 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.004406, allocations: 10.5 kB / 0.5388 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.00442, allocations: 9.172 kB / 0.5388 GB, free: 38.23 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.004447, allocations: 11.34 kB / 0.5388 GB, free: 38.22 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.004568, allocations: 41.22 kB / 0.5388 GB, free: 38.21 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00457, allocations: 0 / 0.5388 GB, free: 38.21 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004571, allocations: 2.375 kB / 0.5388 GB, free: 38.21 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.004575, allocations: 0 / 0.5388 GB, free: 38.21 MB / 490.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.0003524/0.004928, allocations: 283.6 kB / 0.5391 GB, free: 37.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.00497, allocations: 9.844 kB / 0.5391 GB, free: 37.93 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.005001, allocations: 40.28 kB / 0.5391 GB, free: 37.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.005132, allocations: 12.2 kB / 0.5392 GB, free: 37.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.005283, allocations: 124.5 kB / 0.5393 GB, free: 37.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005295, allocations: 1.375 kB / 0.5393 GB, free: 37.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.005305, allocations: 3.344 kB / 0.5393 GB, free: 37.74 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.005443, allocations: 56.84 kB / 0.5393 GB, free: 37.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005452, allocations: 192 / 0.5393 GB, free: 37.7 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005462, allocations: 6.188 kB / 0.5393 GB, free: 37.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005467, allocations: 0 / 0.5393 GB, free: 37.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.005549, allocations: 26.66 kB / 0.5394 GB, free: 37.69 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.005873, allocations: 254.8 kB / 0.5396 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.323e-05/0.005946, allocations: 31.36 kB / 0.5396 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.005981, allocations: 14.05 kB / 0.5396 GB, free: 37.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.005997, allocations: 2.406 kB / 0.5397 GB, free: 37.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.006014, allocations: 36.25 kB / 0.5397 GB, free: 37.36 MB / 490.8 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.006015, allocations: 0 / 0.5397 GB, free: 37.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=2): time 0.0002002/0.006215, allocations: 62.98 kB / 0.5397 GB, free: 37.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.006239, allocations: 51.41 kB / 0.5398 GB, free: 37.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.00631, allocations: 117.5 kB / 0.5399 GB, free: 37.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.006317, allocations: 25.7 kB / 0.5399 GB, free: 37.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.006351, allocations: 97.84 kB / 0.54 GB, free: 37.02 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.006366, allocations: 5.172 kB / 0.54 GB, free: 37.02 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.006396, allocations: 12.53 kB / 0.54 GB, free: 37 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.006432, allocations: 328.5 kB / 0.5404 GB, free: 36.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.006464, allocations: 5.156 kB / 0.5404 GB, free: 36.68 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.00649, allocations: 12.36 kB / 0.5404 GB, free: 36.68 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.006545, allocations: 23.59 kB / 0.5404 GB, free: 36.67 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006547, allocations: 0 / 0.5404 GB, free: 36.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.421e-05/0.006641, allocations: 49.41 kB / 0.5404 GB, free: 36.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.006656, allocations: 8.562 kB / 0.5404 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006661, allocations: 5.109 kB / 0.5405 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006674, allocations: 0 / 0.5405 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.006735, allocations: 4.688 kB / 0.5405 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006739, allocations: 0 / 0.5405 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.006771, allocations: 10.59 kB / 0.5405 GB, free: 36.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.006777, allocations: 6.781 kB / 0.5405 GB, free: 36.62 MB / 490.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 4.787e-05/0.006825, allocations: 120.5 kB / 0.5406 GB, free: 36.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.006848, allocations: 0.6875 kB / 0.5406 GB, free: 36.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.006868, allocations: 13.95 kB / 0.5406 GB, free: 36.49 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.00687, allocations: 0 / 0.5406 GB, free: 36.49 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.006874, allocations: 1.5 kB / 0.5406 GB, free: 36.49 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006876, allocations: 0 / 0.5406 GB, free: 36.49 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.007001, allocations: 133.5 kB / 0.5407 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007003, allocations: 1.656 kB / 0.5407 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.007037, allocations: 6.75 kB / 0.5407 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007039, allocations: 1.188 kB / 0.5407 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.007046, allocations: 0 / 0.5407 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.007048, allocations: 9.078 kB / 0.5408 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007049, allocations: 3.844 kB / 0.5408 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.007166, allocations: 155.4 kB / 0.5409 GB, free: 36.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007176, allocations: 6.156 kB / 0.5409 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.007188, allocations: 1.031 kB / 0.5409 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.007245, allocations: 5.906 kB / 0.5409 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.007283, allocations: 1.156 kB / 0.5409 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.007287, allocations: 5.062 kB / 0.5409 GB, free: 36.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.119e-05/0.007318, allocations: 89.97 kB / 0.541 GB, free: 36.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.007318, allocations: 1.125 kB / 0.541 GB, free: 36.09 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002343/0.007552, allocations: 6.375 kB / 0.541 GB, free: 36.09 MB / 490.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.0002284/0.007781, allocations: 0.6802 MB / 0.5417 GB, free: 35.42 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.007891, allocations: 26.91 kB / 0.5417 GB, free: 35.41 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007892, allocations: 1.375 kB / 0.5417 GB, free: 35.41 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.007922, allocations: 9.094 kB / 0.5417 GB, free: 35.41 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.008159, allocations: 8.922 kB / 0.5417 GB, free: 35.41 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.009027, allocations: 1.261 MB / 0.543 GB, free: 34.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.009077, allocations: 68.39 kB / 0.543 GB, free: 34.13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.009104, allocations: 1.188 kB / 0.543 GB, free: 34.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.009142, allocations: 14.69 kB / 0.543 GB, free: 34.12 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.009143, allocations: 0 / 0.543 GB, free: 34.12 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.02287, allocations: 2.011 MB / 0.545 GB, free: 33.24 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.206, allocations: 9.859 kB / 0.545 GB, free: 33.23 MB / 490.8 MB " [Timeout remaining time 793] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Visualisation_Check_TestRealDisplay.fmu > ClaRa_ClaRa.Visualisation.Check.TestRealDisplay.pipe 2>&1) [Timeout 840.0] 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) [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: 9.880820988677442]