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.00852/0.00852, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001115/0.001115, allocations: 84.91 kB / 25.4 MB, free: 7 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.00135/0.00135, allocations: 159.8 kB / 29.33 MB, free: 3.137 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.9862/0.9862, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.6154/0.6154, allocations: 102.4 MB / 369.8 MB, free: 228 kB / 330.7 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.312e-06/1.312e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.478e-05, allocations: 2.312 kB / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001252/0.001267, allocations: 1.327 MB / 471.8 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004831/0.00175, allocations: 0.796 MB / 472.6 MB, free: 17.45 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.001787, allocations: 3.938 kB / 472.6 MB, free: 17.45 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.003203, allocations: 70.53 kB / 472.6 MB, free: 17.43 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.957e-05/0.003223, allocations: 15.45 kB / 472.6 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.766e-06/0.003226, allocations: 0 / 472.6 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.003269, allocations: 9.359 kB / 472.7 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.851e-05/0.003298, allocations: 5.156 kB / 472.7 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006977/0.003995, allocations: 0.5578 MB / 473.2 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.267e-05/0.004008, allocations: 6.125 kB / 473.2 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.004227, allocations: 3.938 kB / 473.2 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.004462, allocations: 0 / 473.2 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.005607, allocations: 4.29 MB / 477.5 MB, free: 15.32 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.006173, allocations: 1.558 MB / 479.1 MB, free: 14.37 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.01047, allocations: 9.936 MB / 489 MB, free: 10.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01047, allocations: 1.156 kB / 489 MB, free: 10.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01047, allocations: 4 kB / 489 MB, free: 10.17 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002205/0.01069, allocations: 0 / 489 MB, free: 10.17 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.01401/0.0247, allocations: 20.43 MB / 0.4975 GB, free: 11.8 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.02475, allocations: 8.031 kB / 0.4975 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.0269, allocations: 2.273 MB / 0.4997 GB, free: 9.5 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008916/0.03581, allocations: 9.794 MB / 0.5093 GB, free: 0.625 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.03582, allocations: 384 / 0.5093 GB, free: 0.625 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.03588, allocations: 4.375 kB / 0.5093 GB, free: 0.6211 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007271/0.04315, allocations: 3.075 MB / 0.5123 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.04315, allocations: 192 / 0.5123 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.04319, allocations: 4.375 kB / 0.5123 GB, free: 15.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/0.04505, allocations: 3.028 MB / 0.5153 GB, free: 13.17 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.04862, allocations: 1.94 MB / 0.5172 GB, free: 11.49 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.0731, allocations: 21.31 MB / 0.538 GB, free: 6.07 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.07318, allocations: 273.4 kB / 0.5382 GB, free: 5.789 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.07322, allocations: 130.9 kB / 0.5384 GB, free: 5.656 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.07324, allocations: 119.2 kB / 0.5385 GB, free: 5.539 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.07328, allocations: 156.6 kB / 0.5386 GB, free: 5.375 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 3.567e-06/0.07329, allocations: 1.406 kB / 0.5386 GB, free: 5.375 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.00171/0.075, allocations: 2.562 MB / 0.5411 GB, free: 2.789 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.07504, allocations: 170.6 kB / 0.5413 GB, free: 2.609 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02404/0.09908, allocations: 29.46 MB / 0.5701 GB, free: 5.309 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.09909, allocations: 29.7 kB / 0.5701 GB, free: 5.273 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01255/0.1116, allocations: 19.16 MB / 0.5888 GB, free: 2.012 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.1121, allocations: 499.5 kB / 0.5893 GB, free: 1.523 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003355/0.1155, allocations: 4.879 MB / 0.594 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1156, allocations: 480.5 kB / 0.5945 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.1172, allocations: 1.426 MB / 0.5959 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01375/0.1309, allocations: 27.8 MB / 0.623 GB, free: 2.668 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2418/0.3727, allocations: 32.6 MB / 0.6549 GB, free: 116.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007215/0.3734, allocations: 186.5 kB / 0.6551 GB, free: 116.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.02564/0.3991, allocations: 20.26 MB / 0.6748 GB, free: 112 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.3995, allocations: 284.3 kB / 0.6751 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001187/0.4007, allocations: 0.6231 MB / 0.6757 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.4019, allocations: 0.8009 MB / 0.6765 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007813/0.4097, allocations: 5.472 MB / 0.6818 GB, free: 111.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.4108, allocations: 1.199 MB / 0.683 GB, free: 111.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009939/0.4207, allocations: 3.298 MB / 0.6862 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/0.4221, allocations: 1.337 MB / 0.6875 GB, free: 110.3 MB / 0.573 GB 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.004883/0.4269, allocations: 2.272 MB / 0.6898 GB, free: 109.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/0.4291, allocations: 2.681 MB / 0.6924 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.4325, allocations: 2.145 MB / 0.6945 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.4325, allocations: 268 kB / 0.6947 GB, free: 106.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3e-05/0.4326, allocations: 264.1 kB / 0.695 GB, free: 106.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.4326, allocations: 271.6 kB / 0.6952 GB, free: 106.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/0.4394, allocations: 7.124 MB / 0.7022 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.4394, allocations: 148.8 kB / 0.7023 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.4395, allocations: 149 kB / 0.7025 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.591e-05/0.4395, allocations: 268.1 kB / 0.7027 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.4395, allocations: 275.1 kB / 0.703 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-05/0.4396, allocations: 268.1 kB / 0.7033 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-05/0.4396, allocations: 272.9 kB / 0.7035 GB, free: 101.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4412, allocations: 3.225 MB / 0.7067 GB, free: 98.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.4425, allocations: 2.148 MB / 0.7088 GB, free: 96.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007259/0.4432, allocations: 275.6 kB / 0.709 GB, free: 96.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.4441, allocations: 148.8 kB / 0.7092 GB, free: 95.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.4441, allocations: 271.4 kB / 0.7094 GB, free: 95.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4441, allocations: 148.8 kB / 0.7096 GB, free: 95.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01395/0.4581, allocations: 14.62 MB / 0.7238 GB, free: 86.04 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4581, allocations: 0 / 0.7238 GB, free: 86.04 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01115/0.4692, allocations: 2.047 MB / 0.7258 GB, free: 84.34 MB / 0.573 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 0.0001081/0.4694, allocations: 219.9 kB / 0.7261 GB, free: 84.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009024/0.4784, allocations: 8.647 MB / 0.7345 GB, free: 76.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4784, allocations: 0.875 kB / 0.7345 GB, free: 76.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.4784, allocations: 3.938 kB / 0.7345 GB, free: 76.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/0.4837, allocations: 2.063 MB / 0.7365 GB, free: 74.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03649/0.5202, allocations: 33.92 MB / 0.7696 GB, free: 42.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/0.5236, allocations: 4.268 MB / 0.7738 GB, free: 38.78 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005292/0.5289, allocations: 2.595 MB / 0.7763 GB, free: 36.26 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/0.5296, allocations: 1.849 MB / 0.7782 GB, free: 34.41 MB / 0.573 GB Notification: Performance of SimCode: time 9.42e-07/0.5296, allocations: 0 / 0.7782 GB, free: 34.41 MB / 0.573 GB Notification: Performance of Templates: time 0.1069/0.6365, allocations: 54.36 MB / 0.8312 GB, free: 12.12 MB / 0.6043 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.9890082739293575]