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.00795/0.00795, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001491/0.001491, allocations: 86.27 kB / 25.15 MB, free: 6.316 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.001039/0.001039, allocations: 163.5 kB / 29.05 MB, free: 3.352 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.9456/0.9456, allocations: 177.1 MB / 210 MB, free: 3.605 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.6734/0.6734, allocations: 102.4 MB / 369.5 MB, free: 368 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.633e-06/1.633e-06, allocations: 0 / 469.9 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.031e-05, allocations: 4.438 kB / 469.9 MB, free: 18.99 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001741/0.001771, allocations: 1.33 MB / 471.3 MB, free: 18.17 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.002422, allocations: 0.7918 MB / 472.1 MB, free: 17.61 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-05/0.002476, allocations: 0 / 472.1 MB, free: 17.61 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.004086, allocations: 71.17 kB / 472.1 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.197e-05/0.004108, allocations: 14.08 kB / 472.1 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.004112, allocations: 1.25 kB / 472.1 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.004172, allocations: 13.05 kB / 472.2 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.004205, allocations: 0 / 472.2 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.004243, allocations: 8.969 kB / 472.2 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.004272, allocations: 6.234 kB / 472.2 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004288, allocations: 0 / 472.2 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.905e-05/0.004337, allocations: 12.94 kB / 472.2 MB, free: 17.56 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.006574, allocations: 5.65 MB / 477.8 MB, free: 15.45 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.008209, allocations: 1.826 MB / 479.7 MB, free: 14.28 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004509/0.01272, allocations: 7.589 MB / 487.3 MB, free: 11.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01272, allocations: 0.8438 kB / 487.3 MB, free: 11.43 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01272, allocations: 0 / 487.3 MB, free: 11.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003949/0.01312, allocations: 0 / 487.3 MB, free: 11.43 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.01382/0.02694, allocations: 13.08 MB / 0.4886 GB, free: 3 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.02699, allocations: 8.938 kB / 0.4886 GB, free: 3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.02867, allocations: 1.43 MB / 0.49 GB, free: 2.008 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/0.0334, allocations: 4.407 MB / 0.4943 GB, free: 15.02 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.03342, allocations: 384 / 0.4943 GB, free: 15.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.03343, allocations: 1.688 kB / 0.4943 GB, free: 15.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.0356, allocations: 2.448 MB / 0.4967 GB, free: 12.57 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.03561, allocations: 192 / 0.4967 GB, free: 12.57 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.03562, allocations: 1.469 kB / 0.4967 GB, free: 12.57 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002556/0.03818, allocations: 4.384 MB / 0.501 GB, free: 8.98 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.0428, allocations: 1.956 MB / 0.5029 GB, free: 7.418 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.05374, allocations: 6.95 MB / 0.5097 GB, free: 1.379 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.05811, allocations: 2.211 MB / 0.5119 GB, free: 15.61 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/0.06818, allocations: 7.515 MB / 0.5192 GB, free: 9.148 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.0686, allocations: 478.8 kB / 0.5196 GB, free: 8.68 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.0688, allocations: 336.7 kB / 0.52 GB, free: 8.34 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2915): time 3.173e-05/0.06883, allocations: 0 / 0.52 GB, free: 8.34 MB / 442.8 MB Notification: Performance of matching and sorting (n=2915): time 0.0188/0.08763, allocations: 13 MB / 0.5327 GB, free: 11.54 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002084/0.08784, allocations: 351.1 kB / 0.533 GB, free: 11.18 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/0.1025, allocations: 11.52 MB / 0.5442 GB, free: 15.72 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005625/0.103, allocations: 481.7 kB / 0.5447 GB, free: 15.24 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.1049, allocations: 2.422 MB / 0.5471 GB, free: 12.81 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.01369/0.1186, allocations: 13.13 MB / 0.5599 GB, free: 15.59 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01221/0.1308, allocations: 10.4 MB / 0.57 GB, free: 5.172 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1309, allocations: 492.2 kB / 0.5705 GB, free: 4.688 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007029/0.1379, allocations: 3.562 MB / 0.574 GB, free: 1.117 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03159/0.1695, allocations: 56.05 MB / 0.6287 GB, free: 0.5625 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2936/0.4631, allocations: 67.97 MB / 0.6951 GB, free: 41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001136/0.4642, allocations: 365.4 kB / 0.6955 GB, free: 41 MB / 0.573 GB Notification: Performance of matching and sorting (n=5830) (initialization): time 0.06851/0.5327, allocations: 39.08 MB / 0.7336 GB, free: 18.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007639/0.5335, allocations: 0.5422 MB / 0.7341 GB, free: 18.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001805/0.5353, allocations: 1.242 MB / 0.7354 GB, free: 16.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.5364, allocations: 1.602 MB / 0.7369 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0265/0.5629, allocations: 10.94 MB / 0.7476 GB, free: 5.629 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.565, allocations: 2.403 MB / 0.75 GB, free: 3.484 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02412/0.5891, allocations: 3.03 MB / 0.7529 GB, free: 480 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0143/0.6034, allocations: 3.801 MB / 0.7566 GB, free: 15.13 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5830 * 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 (5830): * Single equations (assignments): 5830 * 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.00773/0.6112, allocations: 4.606 MB / 0.7611 GB, free: 10.49 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002877/0.6141, allocations: 2.672 MB / 0.7637 GB, free: 7.809 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.6156, allocations: 1.977 MB / 0.7657 GB, free: 5.824 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001285/0.6157, allocations: 279.6 kB / 0.7659 GB, free: 5.555 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.55e-05/0.6158, allocations: 0 / 0.7659 GB, free: 5.555 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.854e-05/0.6159, allocations: 135.5 kB / 0.7661 GB, free: 5.422 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/0.6244, allocations: 7.489 MB / 0.7734 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.6244, allocations: 0 / 0.7734 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008331/0.6327, allocations: 4.447 MB / 0.7777 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.633, allocations: 92 kB / 0.7778 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007361/0.6337, allocations: 460 kB / 0.7782 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.578e-05/0.6338, allocations: 95.75 kB / 0.7783 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6338, allocations: 0 / 0.7783 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.6491, allocations: 12.68 MB / 0.7907 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/0.6527, allocations: 2.763 MB / 0.7934 GB, free: 9.586 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/0.6541, allocations: 459.9 kB / 0.7939 GB, free: 9.137 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.6558, allocations: 455.9 kB / 0.7943 GB, free: 8.691 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/0.657, allocations: 1.535 MB / 0.7958 GB, free: 7.152 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006141/0.6576, allocations: 0.625 MB / 0.7964 GB, free: 6.527 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.007928/0.6655, allocations: 4.49 MB / 0.8008 GB, free: 2.09 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6655, allocations: 0 / 0.8008 GB, free: 2.09 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.02543/0.691, allocations: 5.785 MB / 0.8064 GB, free: 12.3 MB / 0.6355 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 (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 Backend phase and start with SimCode phase: time 0.001024/0.692, allocations: 0.8383 MB / 0.8073 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.04359/0.7356, allocations: 20.7 MB / 0.8275 GB, free: 7.047 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7356, allocations: 384 / 0.8275 GB, free: 7.047 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.008436/0.744, allocations: 6.454 MB / 0.8338 GB, free: 0.6172 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/0.7491, allocations: 1.106 MB / 0.8348 GB, free: 15.5 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04864/0.7978, allocations: 47.87 MB / 0.8816 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004001/0.8018, allocations: 5.21 MB / 0.8867 GB, free: 10.14 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.2288/1.031, allocations: 15.58 MB / 0.9019 GB, free: 226.9 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/1.034, allocations: 1.255 MB / 0.9031 GB, free: 226.9 MB / 0.7137 GB Notification: Performance of SimCode: time 1.613e-06/1.034, allocations: 0 / 0.9031 GB, free: 226.9 MB / 0.7137 GB Notification: Performance of Templates: time 0.1802/1.214, allocations: 112.7 MB / 1.013 GB, free: 151.2 MB / 0.7137 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: 9.447870937176049]