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.007901/0.007901, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0007893/0.0007893, allocations: 80.47 kB / 26.19 MB, free: 6.078 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.0008392/0.0008392, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.94/0.94, allocations: 177.2 MB / 211.1 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.6766/0.6766, allocations: 102.4 MB / 370.6 MB, free: 176 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.162e-06/1.162e-06, allocations: 0 / 471.2 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.914e-05, allocations: 3.672 kB / 471.2 MB, free: 18.8 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001299/0.001318, allocations: 1.317 MB / 472.6 MB, free: 17.98 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005013/0.001819, allocations: 0.8042 MB / 473.4 MB, free: 17.42 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.001861, allocations: 3.938 kB / 473.4 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.003258, allocations: 72.44 kB / 473.4 MB, free: 17.39 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.84e-05/0.003276, allocations: 13.16 kB / 473.4 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.445e-06/0.003278, allocations: 0 / 473.4 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.003323, allocations: 16.45 kB / 473.5 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.997e-05/0.003353, allocations: 3.984 kB / 473.5 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006665/0.00402, allocations: 0.5591 MB / 474 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.266e-05/0.004032, allocations: 2.375 kB / 474 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.004153, allocations: 0 / 474 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.004265, allocations: 0 / 474 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.005396, allocations: 4.298 MB / 478.3 MB, free: 15.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005958/0.005992, allocations: 1.558 MB / 479.9 MB, free: 14.32 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.01022, allocations: 9.938 MB / 489.8 MB, free: 10.13 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01023, allocations: 1.125 kB / 489.8 MB, free: 10.13 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01023, allocations: 0 / 489.8 MB, free: 10.13 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002841/0.01051, allocations: 0 / 489.8 MB, free: 10.13 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.0149/0.02541, allocations: 20.42 MB / 0.4983 GB, free: 11.75 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.02545, allocations: 8.031 kB / 0.4983 GB, free: 11.74 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.02767, allocations: 2.269 MB / 0.5005 GB, free: 9.457 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009422/0.03709, allocations: 9.797 MB / 0.5101 GB, free: 0.5781 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.0371, allocations: 384 / 0.5101 GB, free: 0.5781 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.03715, allocations: 2.625 kB / 0.5101 GB, free: 0.5781 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008063/0.04522, allocations: 3.095 MB / 0.5131 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.04522, allocations: 4.938 kB / 0.5131 GB, free: 15.66 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.04527, allocations: 384 / 0.5131 GB, free: 15.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.04718, allocations: 3.027 MB / 0.5161 GB, free: 13.17 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/0.05071, allocations: 1.944 MB / 0.518 GB, free: 11.46 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/0.07825, allocations: 21.31 MB / 0.5388 GB, free: 6.035 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.07833, allocations: 265.4 kB / 0.539 GB, free: 5.762 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.07837, allocations: 130.9 kB / 0.5391 GB, free: 5.629 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.07839, allocations: 119.2 kB / 0.5393 GB, free: 5.512 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.07844, allocations: 160.5 kB / 0.5394 GB, free: 5.344 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/0.07844, allocations: 4 kB / 0.5394 GB, free: 5.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.002062/0.0805, allocations: 2.566 MB / 0.5419 GB, free: 2.75 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.08056, allocations: 170.6 kB / 0.5421 GB, free: 2.57 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03103/0.1116, allocations: 29.46 MB / 0.5709 GB, free: 5.273 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1116, allocations: 29.7 kB / 0.5709 GB, free: 5.238 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01348/0.1251, allocations: 19.17 MB / 0.5896 GB, free: 1.973 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/0.1257, allocations: 495.5 kB / 0.5901 GB, free: 1.488 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00386/0.1296, allocations: 4.879 MB / 0.5948 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1297, allocations: 480.5 kB / 0.5953 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.1311, allocations: 1.426 MB / 0.5967 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/0.1435, allocations: 27.8 MB / 0.6238 GB, free: 2.633 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1994/0.343, allocations: 32.6 MB / 0.6557 GB, free: 118.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004719/0.3434, allocations: 182.4 kB / 0.6559 GB, free: 118.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.0214/0.3648, allocations: 20.26 MB / 0.6756 GB, free: 114.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003696/0.3652, allocations: 279.2 kB / 0.6759 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009131/0.3661, allocations: 0.6267 MB / 0.6765 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3672, allocations: 0.8008 MB / 0.6773 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006966/0.3741, allocations: 5.472 MB / 0.6826 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006251/0.3748, allocations: 1.2 MB / 0.6838 GB, free: 113.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008795/0.3835, allocations: 3.301 MB / 0.687 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/0.3846, allocations: 1.335 MB / 0.6883 GB, free: 112.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.004264/0.3889, allocations: 2.268 MB / 0.6906 GB, free: 111.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/0.3904, allocations: 2.685 MB / 0.6932 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.3927, allocations: 2.139 MB / 0.6953 GB, free: 109.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.3927, allocations: 271.9 kB / 0.6955 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.3927, allocations: 268.8 kB / 0.6958 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.3928, allocations: 271.6 kB / 0.696 GB, free: 108.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.3976, allocations: 7.124 MB / 0.703 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.3976, allocations: 148.9 kB / 0.7031 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.3976, allocations: 156.3 kB / 0.7033 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.3976, allocations: 264.1 kB / 0.7035 GB, free: 105 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3977, allocations: 272 kB / 0.7038 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/0.3977, allocations: 267.7 kB / 0.7041 GB, free: 104.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/0.3977, allocations: 271.9 kB / 0.7043 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.3988, allocations: 3.217 MB / 0.7075 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.3999, allocations: 2.155 MB / 0.7096 GB, free: 98.76 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/0.4005, allocations: 271.5 kB / 0.7098 GB, free: 98.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.4014, allocations: 150 kB / 0.71 GB, free: 98.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.4014, allocations: 268 kB / 0.7102 GB, free: 98.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4014, allocations: 148.9 kB / 0.7104 GB, free: 97.92 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01153/0.413, allocations: 14.63 MB / 0.7246 GB, free: 88.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.413, allocations: 0 / 0.7246 GB, free: 88.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009002/0.422, allocations: 2.051 MB / 0.7267 GB, free: 86.7 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 9.213e-05/0.4221, allocations: 211.2 kB / 0.7269 GB, free: 86.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007174/0.4292, allocations: 8.647 MB / 0.7353 GB, free: 79.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4292, allocations: 0 / 0.7353 GB, free: 79.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.4292, allocations: 4 kB / 0.7353 GB, free: 79.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.4328, allocations: 2.066 MB / 0.7373 GB, free: 77.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/0.4612, allocations: 33.93 MB / 0.7705 GB, free: 45.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.4637, allocations: 4.271 MB / 0.7746 GB, free: 41.17 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004284/0.4679, allocations: 2.585 MB / 0.7772 GB, free: 38.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/0.4686, allocations: 1.846 MB / 0.779 GB, free: 36.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.383e-06/0.4686, allocations: 0 / 0.779 GB, free: 36.82 MB / 0.573 GB Notification: Performance of Templates: time 0.1087/0.5773, allocations: 55.33 MB / 0.833 GB, free: 14.24 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 799] Reference file matches [Calling sys.exit(0), Time elapsed: 7.272724001668394]