Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.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.008293/0.008293, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.001131/0.001131, allocations: 88.5 kB / 25.49 MB, free: 6.422 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.001319/0.001319, allocations: 169 kB / 28.9 MB, free: 3.383 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.8818/0.8818, allocations: 177.2 MB / 209.3 MB, free: 2.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7287/0.7287, allocations: 102.4 MB / 368.3 MB, free: 0.707 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="A.[0-9,]+.|CPUtime|EventCounter|Time|_derdummy|_dummy|readMATRIX.M.[0-9,]+.|readMATRIX.matrixSize.[0-9,]+.|readMATRIX.y.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") translateModel(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="A.[0-9,]+.|CPUtime|EventCounter|Time|_derdummy|_dummy|readMATRIX.M.[0-9,]+.|readMATRIX.matrixSize.[0-9,]+.|readMATRIX.y.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 415 MB, free: 2.184 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.465e-05, allocations: 2.312 kB / 415 MB, free: 2.18 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001457/0.001472, allocations: 1.325 MB / 416.4 MB, free: 0.8516 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.00209, allocations: 0.8065 MB / 417.2 MB, free: 44 kB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.002126, allocations: 4 kB / 417.2 MB, free: 40 kB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.003567, allocations: 83.08 kB / 417.3 MB, free: 15.99 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 1.917e-05/0.003586, allocations: 11.98 kB / 417.3 MB, free: 15.98 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.003589, allocations: 0 / 417.3 MB, free: 15.98 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 4.64e-05/0.003635, allocations: 15.92 kB / 417.3 MB, free: 15.96 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.003667, allocations: 4 kB / 417.3 MB, free: 15.96 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/0.00439, allocations: 0.5562 MB / 417.8 MB, free: 15.44 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.377e-05/0.004404, allocations: 0 / 417.8 MB, free: 15.44 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.004524, allocations: 0 / 417.8 MB, free: 15.44 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.004735, allocations: 4 kB / 417.9 MB, free: 15.44 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.006351, allocations: 4.294 MB / 422.1 MB, free: 11.12 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008519/0.007203, allocations: 1.555 MB / 423.7 MB, free: 9.555 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.01249, allocations: 9.945 MB / 433.6 MB, free: 15.55 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.0125, allocations: 4 kB / 433.7 MB, free: 15.55 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.61e-07/0.0125, allocations: 0 / 433.7 MB, free: 15.55 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001533/0.01265, allocations: 0 / 433.7 MB, free: 15.55 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2915 * Number of variables: 2915 Notification: Performance of Generate backend data structure: time 0.01118/0.02383, allocations: 17.91 MB / 451.6 MB, free: 13.46 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.02387, allocations: 8.031 kB / 451.6 MB, free: 13.45 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.02468, allocations: 0.8046 MB / 452.4 MB, free: 12.65 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007697/0.03238, allocations: 9.915 MB / 462.3 MB, free: 2.543 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.03239, allocations: 384 / 462.3 MB, free: 2.543 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.03244, allocations: 384 / 462.3 MB, free: 2.543 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.0348, allocations: 2.971 MB / 465.3 MB, free: 15.56 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.03481, allocations: 4.188 kB / 465.3 MB, free: 15.55 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.03485, allocations: 4.375 kB / 465.3 MB, free: 15.55 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/0.03653, allocations: 3.034 MB / 468.3 MB, free: 12.51 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.03878, allocations: 2.026 MB / 470.3 MB, free: 10.48 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.05496, allocations: 14.55 MB / 484.9 MB, free: 11.82 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.386e-05/0.05502, allocations: 173.1 kB / 485 MB, free: 11.64 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.05504, allocations: 80.14 kB / 485.1 MB, free: 11.56 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.05506, allocations: 75.28 kB / 485.2 MB, free: 11.48 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.05509, allocations: 109.8 kB / 485.3 MB, free: 11.37 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.05509, allocations: 0 / 485.3 MB, free: 11.37 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.001736/0.05683, allocations: 1.23 MB / 486.5 MB, free: 10.13 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.05689, allocations: 134.7 kB / 486.7 MB, free: 9.984 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01628/0.07317, allocations: 22.06 MB / 0.4968 GB, free: 4.09 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.07317, allocations: 25.7 kB / 0.4968 GB, free: 4.059 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005284/0.07846, allocations: 11.9 MB / 0.5084 GB, free: 8.051 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.07879, allocations: 0.4917 MB / 0.5089 GB, free: 7.559 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002665/0.08146, allocations: 4.123 MB / 0.513 GB, free: 3.418 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.08152, allocations: 305.1 kB / 0.5132 GB, free: 3.117 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.08283, allocations: 1.473 MB / 0.5147 GB, free: 1.641 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1785/0.2613, allocations: 19.21 MB / 0.5334 GB, free: 72.37 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/0.2774, allocations: 24.25 MB / 0.5571 GB, free: 45.41 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005908/0.278, allocations: 182.3 kB / 0.5573 GB, free: 45.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.01683/0.2948, allocations: 16.84 MB / 0.5737 GB, free: 38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.295, allocations: 276 kB / 0.574 GB, free: 37.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000478/0.2955, allocations: 0.6259 MB / 0.5746 GB, free: 37.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/0.2959, allocations: 0.8008 MB / 0.5754 GB, free: 36.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007231/0.3031, allocations: 5.477 MB / 0.5808 GB, free: 30.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007809/0.3039, allocations: 1.199 MB / 0.5819 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008625/0.3125, allocations: 3.301 MB / 0.5851 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000889/0.3134, allocations: 1.332 MB / 0.5864 GB, free: 26.39 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2915 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2915): * Single equations (assignments): 2915 * 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 0.00269/0.3161, allocations: 2.184 MB / 0.5886 GB, free: 24.18 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007947/0.3169, allocations: 1.304 MB / 0.5899 GB, free: 22.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.3184, allocations: 2.099 MB / 0.5919 GB, free: 20.75 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3184, allocations: 180.3 kB / 0.5921 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3184, allocations: 180.2 kB / 0.5922 GB, free: 20.39 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.3184, allocations: 188 kB / 0.5924 GB, free: 20.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.3213, allocations: 4.742 MB / 0.5971 GB, free: 15.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3213, allocations: 101.8 kB / 0.5972 GB, free: 15.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-06/0.3213, allocations: 108.9 kB / 0.5973 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/0.3213, allocations: 180.3 kB / 0.5974 GB, free: 15.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3213, allocations: 176.3 kB / 0.5976 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/0.3214, allocations: 188.2 kB / 0.5978 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.3214, allocations: 176.3 kB / 0.5979 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.322, allocations: 1.661 MB / 0.5996 GB, free: 12.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.3232, allocations: 2.102 MB / 0.6016 GB, free: 11.66 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005889/0.3238, allocations: 188.2 kB / 0.6018 GB, free: 11.47 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.3246, allocations: 101 kB / 0.6019 GB, free: 11.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.3246, allocations: 188.2 kB / 0.6021 GB, free: 11.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3246, allocations: 106.1 kB / 0.6022 GB, free: 11.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005436/0.33, allocations: 10.44 MB / 0.6124 GB, free: 0.7812 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.33, allocations: 0 / 0.6124 GB, free: 0.7812 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00803/0.338, allocations: 2.047 MB / 0.6144 GB, free: 14.73 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 9.013e-05/0.3381, allocations: 156.3 kB / 0.6145 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007984/0.3461, allocations: 7.95 MB / 0.6223 GB, free: 6.766 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.0005857/0.3467, allocations: 0.5486 MB / 0.6228 GB, free: 6.203 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-06/0.3467, allocations: 0 / 0.6228 GB, free: 6.203 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.3498, allocations: 1.807 MB / 0.6246 GB, free: 4.387 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/0.3803, allocations: 33.89 MB / 0.6577 GB, free: 2.262 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/0.3831, allocations: 4.266 MB / 0.6618 GB, free: 13.96 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004668/0.3877, allocations: 2.59 MB / 0.6644 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.3888, allocations: 1.828 MB / 0.6662 GB, free: 9.59 MB / 0.5418 GB Notification: Performance of SimCode: time 1.853e-06/0.3888, allocations: 4 kB / 0.6662 GB, free: 9.586 MB / 0.5418 GB Notification: Performance of Templates: time 0.1144/0.5032, allocations: 54.37 MB / 0.7193 GB, free: 3.281 MB / 0.5887 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! " [Timeout remaining time 799] Reference file matches [Calling sys.exit(0), Time elapsed: 6.887934920843691]