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.01268/0.01268, allocations: 1.798 MB / 21.35 MB, free: 3.188 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.0008897/0.0008897, allocations: 91.22 kB / 25.15 MB, free: 7.465 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.0008475/0.0008475, allocations: 166.8 kB / 29.06 MB, free: 3.652 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.8884/0.8884, allocations: 177.2 MB / 210 MB, free: 3.555 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.5769/0.5769, allocations: 102.5 MB / 369.5 MB, free: 364 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.232e-06/1.232e-06, allocations: 0 / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.357e-05, allocations: 2.312 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001204/0.001217, allocations: 1.323 MB / 471.3 MB, free: 18.14 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000511/0.001728, allocations: 0.7928 MB / 472.1 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.001762, allocations: 3.938 kB / 472.1 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.003081, allocations: 71.75 kB / 472.2 MB, free: 17.55 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.771e-05/0.003098, allocations: 7.531 kB / 472.2 MB, free: 17.55 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.003102, allocations: 0.875 kB / 472.2 MB, free: 17.55 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.714e-05/0.003149, allocations: 14.98 kB / 472.2 MB, free: 17.54 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.859e-05/0.003177, allocations: 13.33 kB / 472.2 MB, free: 17.53 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.003835, allocations: 0.5426 MB / 472.7 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.285e-05/0.003848, allocations: 6.594 kB / 472.7 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.004061, allocations: 4 kB / 472.8 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.004265, allocations: 0 / 472.8 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.005334, allocations: 4.294 MB / 477 MB, free: 15.45 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006023/0.005937, allocations: 1.556 MB / 478.6 MB, free: 14.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.01005, allocations: 9.939 MB / 488.5 MB, free: 10.3 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01005, allocations: 0 / 488.5 MB, free: 10.3 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01005, allocations: 0 / 488.5 MB, free: 10.3 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002194/0.01027, allocations: 4.656 kB / 488.5 MB, free: 10.3 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.01169/0.02196, allocations: 20.15 MB / 0.4968 GB, free: 12.32 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.022, allocations: 8.031 kB / 0.4968 GB, free: 12.31 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.02357, allocations: 2.273 MB / 0.499 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007521/0.03109, allocations: 9.798 MB / 0.5086 GB, free: 1.145 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.0311, allocations: 384 / 0.5086 GB, free: 1.145 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.03115, allocations: 384 / 0.5086 GB, free: 1.145 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006886/0.03804, allocations: 3.351 MB / 0.5118 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.03804, allocations: 192 / 0.5118 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.03809, allocations: 1.172 kB / 0.5118 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/0.03994, allocations: 3.034 MB / 0.5148 GB, free: 13.16 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/0.04353, allocations: 2.273 MB / 0.517 GB, free: 11.42 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/0.06747, allocations: 26.21 MB / 0.5426 GB, free: 1.121 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.06756, allocations: 269.4 kB / 0.5429 GB, free: 0.8438 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.06759, allocations: 134.9 kB / 0.543 GB, free: 0.707 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.06762, allocations: 119.2 kB / 0.5431 GB, free: 0.5898 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.06766, allocations: 156.6 kB / 0.5433 GB, free: 436 kB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.06766, allocations: 0 / 0.5433 GB, free: 436 kB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.001996/0.06966, allocations: 2.566 MB / 0.5458 GB, free: 13.83 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.06971, allocations: 174.3 kB / 0.5459 GB, free: 13.65 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02383/0.09354, allocations: 29.59 MB / 0.5748 GB, free: 244 kB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.09355, allocations: 25.7 kB / 0.5749 GB, free: 212 kB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01227/0.1058, allocations: 18.83 MB / 0.5933 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.1062, allocations: 499.5 kB / 0.5937 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003307/0.1095, allocations: 4.791 MB / 0.5984 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1096, allocations: 480.8 kB / 0.5989 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.1115, allocations: 1.777 MB / 0.6006 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0133/0.1248, allocations: 28.03 MB / 0.628 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2032/0.328, allocations: 32.82 MB / 0.66 GB, free: 113.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004765/0.3285, allocations: 182 kB / 0.6602 GB, free: 113.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.02907/0.3576, allocations: 21.38 MB / 0.6811 GB, free: 108.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004349/0.358, allocations: 278.9 kB / 0.6813 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009773/0.359, allocations: 0.6261 MB / 0.682 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.3595, allocations: 0.808 MB / 0.6827 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008036/0.3675, allocations: 5.466 MB / 0.6881 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006522/0.3682, allocations: 1.205 MB / 0.6893 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/0.3785, allocations: 3.291 MB / 0.6925 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/0.3801, allocations: 1.515 MB / 0.694 GB, free: 107.2 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.004931/0.385, allocations: 2.268 MB / 0.6962 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/0.3876, allocations: 2.684 MB / 0.6988 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.3908, allocations: 2.142 MB / 0.7009 GB, free: 103.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.3908, allocations: 272.4 kB / 0.7011 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/0.3908, allocations: 267.4 kB / 0.7014 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/0.3909, allocations: 279.2 kB / 0.7017 GB, free: 103 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008979/0.3998, allocations: 11.65 MB / 0.713 GB, free: 96.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.3999, allocations: 148.8 kB / 0.7132 GB, free: 95.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.3999, allocations: 148.9 kB / 0.7133 GB, free: 95.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.506e-05/0.3999, allocations: 264.1 kB / 0.7136 GB, free: 95.53 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3999, allocations: 272 kB / 0.7138 GB, free: 95.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/0.3999, allocations: 271.4 kB / 0.7141 GB, free: 94.99 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/0.4, allocations: 269.5 kB / 0.7144 GB, free: 94.72 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.4016, allocations: 3.229 MB / 0.7175 GB, free: 91.45 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.403, allocations: 2.148 MB / 0.7196 GB, free: 89.28 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/0.4037, allocations: 268.1 kB / 0.7199 GB, free: 89.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/0.4045, allocations: 148.8 kB / 0.72 GB, free: 88.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.4046, allocations: 271.5 kB / 0.7203 GB, free: 88.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4046, allocations: 148.8 kB / 0.7204 GB, free: 88.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01456/0.4191, allocations: 15.43 MB / 0.7355 GB, free: 75.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4191, allocations: 0 / 0.7355 GB, free: 75.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009481/0.4286, allocations: 2.047 MB / 0.7375 GB, free: 73.78 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.0001068/0.4287, allocations: 214.4 kB / 0.7377 GB, free: 73.56 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009919/0.4386, allocations: 8.957 MB / 0.7464 GB, free: 65.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4387, allocations: 1.875 kB / 0.7464 GB, free: 65.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.4387, allocations: 4 kB / 0.7464 GB, free: 65.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/0.4427, allocations: 2.059 MB / 0.7484 GB, free: 63.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/0.4731, allocations: 33.93 MB / 0.7816 GB, free: 31.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/0.4753, allocations: 4.27 MB / 0.7857 GB, free: 26.73 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0108/0.4861, allocations: 10.9 MB / 0.7964 GB, free: 15.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.4867, allocations: 0.8989 MB / 0.7973 GB, free: 15 MB / 0.573 GB Notification: Performance of SimCode: time 2.485e-06/0.4867, allocations: 0 / 0.7973 GB, free: 15 MB / 0.573 GB Notification: Performance of Templates: time 0.1087/0.5954, allocations: 48.35 MB / 0.8445 GB, free: 15.66 MB / 0.6199 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.1608298709616065]