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.008157/0.008157, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.001286/0.001286, allocations: 88.62 kB / 25.49 MB, free: 6.422 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.00136/0.00136, allocations: 168.5 kB / 28.9 MB, free: 3.383 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.8781/0.8781, allocations: 177.2 MB / 209.3 MB, free: 2.227 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.6907/0.6907, allocations: 102.5 MB / 368.3 MB, free: 0.7383 MB / 330.8 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 / 415.1 MB, free: 2.207 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.329e-05, allocations: 2.312 kB / 415.1 MB, free: 2.203 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001395/0.001408, allocations: 1.324 MB / 416.4 MB, free: 0.875 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005993/0.002008, allocations: 0.8026 MB / 417.2 MB, free: 72 kB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.002043, allocations: 0 / 417.2 MB, free: 72 kB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.00333, allocations: 82.3 kB / 417.3 MB, free: 16 kB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 1.915e-05/0.003349, allocations: 8 kB / 417.3 MB, free: 8 kB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.926e-06/0.003352, allocations: 0 / 417.3 MB, free: 8 kB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 5.77e-05/0.00341, allocations: 16 kB / 417.3 MB, free: 15.99 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.00344, allocations: 7.906 kB / 417.3 MB, free: 15.98 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.004145, allocations: 0.5586 MB / 417.9 MB, free: 15.47 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.26e-05/0.004158, allocations: 0 / 417.9 MB, free: 15.47 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.004279, allocations: 0 / 417.9 MB, free: 15.47 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.004401, allocations: 0 / 417.9 MB, free: 15.47 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.006157, allocations: 4.298 MB / 422.2 MB, free: 11.15 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007743/0.006931, allocations: 1.555 MB / 423.7 MB, free: 9.582 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.01179, allocations: 9.941 MB / 433.7 MB, free: 15.59 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.01179, allocations: 3.938 kB / 433.7 MB, free: 15.58 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01179, allocations: 0 / 433.7 MB, free: 15.58 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001302/0.01192, allocations: 0 / 433.7 MB, free: 15.58 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.009853/0.02178, allocations: 17.9 MB / 451.6 MB, free: 13.5 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.02181, allocations: 11.97 kB / 451.6 MB, free: 13.49 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007085/0.02251, allocations: 0.8084 MB / 452.4 MB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007357/0.02987, allocations: 9.912 MB / 462.3 MB, free: 2.578 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.02988, allocations: 384 / 462.3 MB, free: 2.578 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.02994, allocations: 4.375 kB / 462.3 MB, free: 2.574 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.03171, allocations: 2.975 MB / 465.3 MB, free: 15.59 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.03171, allocations: 192 / 465.3 MB, free: 15.59 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.03176, allocations: 4.375 kB / 465.3 MB, free: 15.58 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.03336, allocations: 3.03 MB / 468.3 MB, free: 12.55 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.03558, allocations: 2.026 MB / 470.3 MB, free: 10.51 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.04881, allocations: 14.55 MB / 484.9 MB, free: 11.86 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.04886, allocations: 173.1 kB / 485.1 MB, free: 11.68 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.04888, allocations: 88.08 kB / 485.1 MB, free: 11.59 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.0489, allocations: 79.27 kB / 485.2 MB, free: 11.51 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.04893, allocations: 113.8 kB / 485.3 MB, free: 11.39 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.04893, allocations: 0 / 485.3 MB, free: 11.39 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.0008993/0.04983, allocations: 1.227 MB / 486.6 MB, free: 10.16 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.04987, allocations: 130.7 kB / 486.7 MB, free: 10.02 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01292/0.06279, allocations: 22.05 MB / 0.4968 GB, free: 4.125 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.0628, allocations: 25.7 kB / 0.4968 GB, free: 4.094 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005295/0.06809, allocations: 11.9 MB / 0.5085 GB, free: 8.086 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.06835, allocations: 499.5 kB / 0.5089 GB, free: 7.598 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/0.07066, allocations: 4.127 MB / 0.513 GB, free: 3.453 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.07073, allocations: 308.9 kB / 0.5133 GB, free: 3.152 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.07199, allocations: 1.469 MB / 0.5147 GB, free: 1.68 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1687/0.2406, allocations: 19.22 MB / 0.5335 GB, free: 72.35 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/0.2559, allocations: 24.25 MB / 0.5571 GB, free: 45.4 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004108/0.2563, allocations: 180.1 kB / 0.5573 GB, free: 45.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.01739/0.2737, allocations: 16.84 MB / 0.5738 GB, free: 38.02 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.2739, allocations: 288.2 kB / 0.574 GB, free: 37.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004252/0.2744, allocations: 0.6211 MB / 0.5746 GB, free: 37.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.2749, allocations: 0.8013 MB / 0.5754 GB, free: 36.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007331/0.2822, allocations: 5.473 MB / 0.5808 GB, free: 30.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003822/0.2826, allocations: 1.202 MB / 0.5819 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006245/0.2888, allocations: 3.298 MB / 0.5852 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006618/0.2895, allocations: 1.332 MB / 0.5865 GB, free: 26.39 MB / 490.8 MB 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.002295/0.2918, allocations: 2.184 MB / 0.5886 GB, free: 24.18 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.2924, allocations: 1.308 MB / 0.5899 GB, free: 22.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.2935, allocations: 2.094 MB / 0.5919 GB, free: 20.76 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.2935, allocations: 182.7 kB / 0.5921 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.2935, allocations: 184.2 kB / 0.5923 GB, free: 20.39 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2935, allocations: 183.8 kB / 0.5924 GB, free: 20.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.2958, allocations: 4.742 MB / 0.5971 GB, free: 15.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.2958, allocations: 105 kB / 0.5972 GB, free: 15.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.2958, allocations: 101 kB / 0.5973 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.2958, allocations: 180.2 kB / 0.5974 GB, free: 15.03 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2958, allocations: 181.1 kB / 0.5976 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.2959, allocations: 188.2 kB / 0.5978 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/0.2959, allocations: 176.3 kB / 0.598 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.2965, allocations: 1.663 MB / 0.5996 GB, free: 12.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.2975, allocations: 2.109 MB / 0.6016 GB, free: 11.66 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/0.298, allocations: 184.2 kB / 0.6018 GB, free: 11.47 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.2987, allocations: 105 kB / 0.6019 GB, free: 11.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.2987, allocations: 176.3 kB / 0.6021 GB, free: 11.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2987, allocations: 105.6 kB / 0.6022 GB, free: 11.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005147/0.3039, allocations: 10.44 MB / 0.6124 GB, free: 0.7773 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3039, allocations: 0 / 0.6124 GB, free: 0.7773 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007714/0.3116, allocations: 2.047 MB / 0.6144 GB, free: 14.73 MB / 0.4949 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.0001121/0.3117, allocations: 147.7 kB / 0.6145 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007772/0.3195, allocations: 7.959 MB / 0.6223 GB, free: 6.762 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.000556/0.32, allocations: 0.5491 MB / 0.6228 GB, free: 6.199 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.32, allocations: 0 / 0.6228 GB, free: 6.199 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.323, allocations: 1.808 MB / 0.6246 GB, free: 4.383 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02888/0.3519, allocations: 33.88 MB / 0.6577 GB, free: 2.266 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/0.3549, allocations: 4.27 MB / 0.6619 GB, free: 13.96 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00419/0.359, allocations: 2.59 MB / 0.6644 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009497/0.36, allocations: 1.824 MB / 0.6662 GB, free: 9.598 MB / 0.5418 GB Notification: Performance of SimCode: time 1.262e-06/0.36, allocations: 4 kB / 0.6662 GB, free: 9.594 MB / 0.5418 GB Notification: Performance of Templates: time 0.1626/0.5226, allocations: 54.36 MB / 0.7193 GB, free: 3.293 MB / 0.5887 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: 6.79039602028206]