Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008028/0.008028, 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.000748/0.000748, allocations: 83.97 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.0008474/0.0008474, allocations: 164.2 kB / 29.34 MB, free: 3.133 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.8962/0.8962, allocations: 177.1 MB / 210.3 MB, free: 3.43 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.5783/0.5783, allocations: 102.5 MB / 369.9 MB, free: 220 kB / 330.7 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.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_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_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.656e-05, allocations: 7.641 kB / 470.4 MB, free: 18.82 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.0016/0.001616, allocations: 1.326 MB / 471.8 MB, free: 18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006117/0.002228, allocations: 0.7932 MB / 472.6 MB, free: 17.45 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.002272, allocations: 2.75 kB / 472.6 MB, free: 17.45 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.003755, allocations: 75 kB / 472.6 MB, free: 17.42 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.992e-05/0.003775, allocations: 15.05 kB / 472.7 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.524e-06/0.003777, allocations: 3.781 kB / 472.7 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.003825, allocations: 11.02 kB / 472.7 MB, free: 17.4 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.948e-05/0.003855, allocations: 0 / 472.7 MB, free: 17.4 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.004644, allocations: 0.5556 MB / 473.2 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.291e-05/0.004657, allocations: 2.625 kB / 473.2 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.004939, allocations: 0 / 473.2 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.005208, allocations: 0 / 473.2 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.006719, allocations: 4.3 MB / 477.5 MB, free: 15.3 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.007498, allocations: 1.556 MB / 479.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.01297, allocations: 9.931 MB / 489 MB, free: 10.17 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01297, allocations: 4 kB / 489 MB, free: 10.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01297, allocations: 0 / 489 MB, free: 10.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002318/0.0132, allocations: 0 / 489 MB, free: 10.16 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.01632/0.02952, allocations: 20.43 MB / 0.4975 GB, free: 11.81 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.02956, allocations: 8.031 kB / 0.4975 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.03156, allocations: 2.28 MB / 0.4997 GB, free: 9.504 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009838/0.0414, allocations: 9.785 MB / 0.5093 GB, free: 0.6367 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.04141, allocations: 384 / 0.5093 GB, free: 0.6367 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.04146, allocations: 384 / 0.5093 GB, free: 0.6367 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007643/0.04911, allocations: 3.076 MB / 0.5123 GB, free: 15.66 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.04911, allocations: 192 / 0.5123 GB, free: 15.66 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.04916, allocations: 8.125 kB / 0.5123 GB, free: 15.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001896/0.05105, allocations: 3.03 MB / 0.5153 GB, free: 13.16 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.05473, allocations: 1.94 MB / 0.5172 GB, free: 11.5 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/0.08401, allocations: 21.31 MB / 0.538 GB, free: 6.074 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.08412, allocations: 265.4 kB / 0.5382 GB, free: 5.801 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.08415, allocations: 130.9 kB / 0.5384 GB, free: 5.668 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.08418, allocations: 119.2 kB / 0.5385 GB, free: 5.551 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.08422, allocations: 160.5 kB / 0.5386 GB, free: 5.383 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.08422, allocations: 0 / 0.5386 GB, free: 5.383 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.003434/0.08766, allocations: 2.558 MB / 0.5411 GB, free: 2.801 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.08772, allocations: 174.6 kB / 0.5413 GB, free: 2.617 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0416/0.1293, allocations: 29.46 MB / 0.5701 GB, free: 5.316 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.1293, allocations: 29.7 kB / 0.5701 GB, free: 5.281 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01232/0.1416, allocations: 19.16 MB / 0.5888 GB, free: 2.02 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/0.1423, allocations: 499.5 kB / 0.5893 GB, free: 1.531 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00437/0.1466, allocations: 4.879 MB / 0.594 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1467, allocations: 476.8 kB / 0.5945 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.148, allocations: 1.426 MB / 0.5959 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/0.1623, allocations: 27.8 MB / 0.623 GB, free: 2.676 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2082/0.3705, allocations: 32.6 MB / 0.6549 GB, free: 116.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005393/0.371, allocations: 186.1 kB / 0.6551 GB, free: 116.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.02434/0.3954, allocations: 20.27 MB / 0.6748 GB, free: 112.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006376/0.396, allocations: 279.2 kB / 0.6751 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001059/0.3971, allocations: 0.6223 MB / 0.6757 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3981, allocations: 0.8013 MB / 0.6765 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007879/0.406, allocations: 5.473 MB / 0.6818 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000803/0.4068, allocations: 1.198 MB / 0.683 GB, free: 111.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/0.4175, allocations: 3.297 MB / 0.6862 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002059/0.4196, allocations: 1.332 MB / 0.6875 GB, free: 110.4 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.006877/0.4265, allocations: 2.273 MB / 0.6898 GB, free: 109.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/0.4294, allocations: 2.685 MB / 0.6924 GB, free: 107.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.4342, allocations: 2.137 MB / 0.6945 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.4342, allocations: 276.4 kB / 0.6947 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.4342, allocations: 268 kB / 0.695 GB, free: 106.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.4343, allocations: 271.7 kB / 0.6952 GB, free: 106.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.4458, allocations: 7.122 MB / 0.7022 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.4458, allocations: 148.9 kB / 0.7023 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.4458, allocations: 152.1 kB / 0.7025 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.699e-05/0.4458, allocations: 268 kB / 0.7027 GB, free: 102.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4458, allocations: 268.1 kB / 0.703 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-05/0.4459, allocations: 268 kB / 0.7033 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.109e-05/0.4459, allocations: 268 kB / 0.7035 GB, free: 102 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.4487, allocations: 3.232 MB / 0.7067 GB, free: 98.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/0.4511, allocations: 2.151 MB / 0.7088 GB, free: 96.58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/0.4523, allocations: 271.3 kB / 0.709 GB, free: 96.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.4532, allocations: 148.9 kB / 0.7092 GB, free: 96.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.4533, allocations: 271.9 kB / 0.7094 GB, free: 95.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4533, allocations: 144.9 kB / 0.7096 GB, free: 95.74 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02088/0.4742, allocations: 14.63 MB / 0.7238 GB, free: 86.21 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4742, allocations: 0 / 0.7238 GB, free: 86.21 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01164/0.4858, allocations: 2.046 MB / 0.7258 GB, free: 84.52 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.0001224/0.4859, allocations: 215 kB / 0.7261 GB, free: 84.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01114/0.4971, allocations: 8.649 MB / 0.7345 GB, free: 77.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4971, allocations: 0.9375 kB / 0.7345 GB, free: 77.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-06/0.4971, allocations: 0 / 0.7345 GB, free: 77.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005247/0.5023, allocations: 2.063 MB / 0.7365 GB, free: 75.01 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03612/0.5384, allocations: 33.93 MB / 0.7696 GB, free: 42.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/0.5444, allocations: 4.266 MB / 0.7738 GB, free: 38.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006474/0.5509, allocations: 2.594 MB / 0.7763 GB, free: 36.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007919/0.5517, allocations: 1.846 MB / 0.7782 GB, free: 34.59 MB / 0.573 GB Notification: Performance of SimCode: time 2.054e-06/0.5517, allocations: 0 / 0.7782 GB, free: 34.59 MB / 0.573 GB Notification: Performance of Templates: time 0.1126/0.6642, allocations: 54.36 MB / 0.8312 GB, free: 12.29 MB / 0.6043 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! " [Timeout remaining time 798] Reference file matches [Calling sys.exit(0), Time elapsed: 7.177537490613759]