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.00849/0.00849, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008184/0.0008184, allocations: 85.2 kB / 25.62 MB, free: 6.969 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.000872/0.000872, allocations: 176.9 kB / 29.46 MB, free: 3.168 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.9108/0.9108, allocations: 177.2 MB / 210.3 MB, free: 3.598 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.5784/0.5784, allocations: 102.5 MB / 369.8 MB, free: 376 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.263e-06/1.263e-06, allocations: 0 / 469.9 MB, free: 19.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.299e-05, allocations: 3.016 kB / 469.9 MB, free: 19.05 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001236/0.001249, allocations: 1.328 MB / 471.2 MB, free: 18.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.001778, allocations: 0.7903 MB / 472 MB, free: 17.67 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.001819, allocations: 0 / 472 MB, free: 17.67 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.003209, allocations: 80.73 kB / 472.1 MB, free: 17.64 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.757e-05/0.003226, allocations: 10.58 kB / 472.1 MB, free: 17.64 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.845e-06/0.003229, allocations: 3.594 kB / 472.1 MB, free: 17.64 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.003277, allocations: 10.17 kB / 472.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.855e-05/0.003306, allocations: 7.969 kB / 472.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.003338, allocations: 6.266 kB / 472.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.716e-05/0.003365, allocations: 2.719 kB / 472.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.003376, allocations: 3.938 kB / 472.1 MB, free: 17.62 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.003411, allocations: 13.69 kB / 472.1 MB, free: 17.62 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.005143, allocations: 5.648 MB / 477.8 MB, free: 15.51 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008217/0.005965, allocations: 1.823 MB / 479.6 MB, free: 14.34 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.00933, allocations: 7.589 MB / 487.2 MB, free: 11.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.009333, allocations: 1.531 kB / 487.2 MB, free: 11.5 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.72e-07/0.009334, allocations: 0 / 487.2 MB, free: 11.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001151/0.009449, allocations: 0 / 487.2 MB, free: 11.5 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.008404/0.01785, allocations: 13.08 MB / 0.4885 GB, free: 3.066 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01789, allocations: 11.56 kB / 0.4886 GB, free: 3.066 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.019, allocations: 1.428 MB / 0.4899 GB, free: 2.074 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.02283, allocations: 4.41 MB / 0.4943 GB, free: 15.3 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.02284, allocations: 4.375 kB / 0.4943 GB, free: 15.29 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.02285, allocations: 3.906 kB / 0.4943 GB, free: 15.29 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.02444, allocations: 2.447 MB / 0.4966 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.02445, allocations: 1.922 kB / 0.4967 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.02446, allocations: 384 / 0.4967 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002424/0.02688, allocations: 4.377 MB / 0.5009 GB, free: 9.352 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.03063, allocations: 1.964 MB / 0.5028 GB, free: 7.781 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/0.03785, allocations: 6.951 MB / 0.5096 GB, free: 1.742 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.04173, allocations: 2.225 MB / 0.5118 GB, free: 16.01 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009096/0.05082, allocations: 7.511 MB / 0.5191 GB, free: 9.547 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.05113, allocations: 482.4 kB / 0.5196 GB, free: 9.078 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.05131, allocations: 336.8 kB / 0.5199 GB, free: 8.738 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2915): time 2.886e-05/0.05134, allocations: 0 / 0.5199 GB, free: 8.738 MB / 442.8 MB Notification: Performance of matching and sorting (n=2915): time 0.0167/0.06804, allocations: 13 MB / 0.5326 GB, free: 11.86 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.06823, allocations: 350.2 kB / 0.5329 GB, free: 11.51 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/0.07966, allocations: 11.52 MB / 0.5442 GB, free: 48 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000465/0.08013, allocations: 485.8 kB / 0.5447 GB, free: 15.56 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.08149, allocations: 2.417 MB / 0.547 GB, free: 13.13 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007293/0.08879, allocations: 13.13 MB / 0.5598 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007835/0.09662, allocations: 10.4 MB / 0.57 GB, free: 5.492 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.09672, allocations: 489.1 kB / 0.5705 GB, free: 5.008 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00657/0.1033, allocations: 3.562 MB / 0.5739 GB, free: 1.438 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02945/0.1327, allocations: 56.04 MB / 0.6287 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2419/0.3746, allocations: 67.96 MB / 0.695 GB, free: 42.36 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001173/0.3758, allocations: 365 kB / 0.6954 GB, free: 42.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=5830) (initialization): time 0.06402/0.4398, allocations: 39.09 MB / 0.7336 GB, free: 20.01 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006947/0.4405, allocations: 0.5432 MB / 0.7341 GB, free: 19.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001319/0.4419, allocations: 1.246 MB / 0.7353 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009584/0.4428, allocations: 1.602 MB / 0.7369 GB, free: 16.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/0.462, allocations: 10.94 MB / 0.7476 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.4637, allocations: 2.403 MB / 0.7499 GB, free: 4.855 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01704/0.4808, allocations: 3.024 MB / 0.7529 GB, free: 1.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009471/0.4902, allocations: 3.608 MB / 0.7564 GB, free: 0 / 0.573 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.006739/0.497, allocations: 4.608 MB / 0.7609 GB, free: 11.36 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/0.4997, allocations: 2.676 MB / 0.7635 GB, free: 8.672 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.5018, allocations: 1.978 MB / 0.7654 GB, free: 6.688 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/0.5019, allocations: 272 kB / 0.7657 GB, free: 6.422 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/0.502, allocations: 3.562 kB / 0.7657 GB, free: 6.422 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/0.5021, allocations: 145.4 kB / 0.7658 GB, free: 6.414 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007679/0.5098, allocations: 7.491 MB / 0.7731 GB, free: 15.53 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/0.5098, allocations: 0 / 0.7731 GB, free: 15.53 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007958/0.5178, allocations: 4.443 MB / 0.7775 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.518, allocations: 92 kB / 0.7776 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006617/0.5187, allocations: 456 kB / 0.778 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.982e-05/0.5187, allocations: 95.94 kB / 0.7781 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5187, allocations: 4.312 kB / 0.7781 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.5318, allocations: 12.68 MB / 0.7905 GB, free: 13.72 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/0.5341, allocations: 2.759 MB / 0.7932 GB, free: 10.95 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/0.5352, allocations: 460.5 kB / 0.7936 GB, free: 10.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5366, allocations: 463.9 kB / 0.7941 GB, free: 10.04 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/0.538, allocations: 1.531 MB / 0.7955 GB, free: 8.508 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005891/0.5386, allocations: 0.6282 MB / 0.7962 GB, free: 7.883 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.005234/0.5438, allocations: 4.486 MB / 0.8005 GB, free: 3.449 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5438, allocations: 0 / 0.8005 GB, free: 3.449 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.01997/0.5638, allocations: 5.785 MB / 0.8062 GB, free: 13.66 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.001041/0.5649, allocations: 0.8457 MB / 0.807 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.03136/0.5962, allocations: 20.7 MB / 0.8272 GB, free: 8.398 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5962, allocations: 0 / 0.8272 GB, free: 8.398 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.007484/0.6037, allocations: 6.446 MB / 0.8335 GB, free: 1.977 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/0.6084, allocations: 1.107 MB / 0.8346 GB, free: 0.8672 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04545/0.6538, allocations: 47.87 MB / 0.8814 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003501/0.6573, allocations: 5.21 MB / 0.8864 GB, free: 11.48 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.1932/0.8506, allocations: 15.57 MB / 0.9016 GB, free: 227.5 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/0.8537, allocations: 1.257 MB / 0.9029 GB, free: 227.5 MB / 0.7137 GB Notification: Performance of SimCode: time 1.683e-06/0.8537, allocations: 0 / 0.9029 GB, free: 227.5 MB / 0.7137 GB Notification: Performance of Templates: time 0.157/1.011, allocations: 112.7 MB / 1.013 GB, free: 154.1 MB / 0.7137 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: 8.638947231927887]