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/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") translateModel(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01065/0.01065, allocations: 1.438 MB / 17.7 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1606/0.1606, allocations: 22.38 MB / 41.12 MB, free: 7.574 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 112 kB / 48.62 MB, free: 48 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 197.9 kB / 56.2 MB, free: 9.438 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 286.6 MB, free: 14.05 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8713/0.8713, allocations: 127.8 MB / 471.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 131.8 kB / 0.5547 GB, free: 16.35 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1708, allocations: 82.34 MB / 0.6352 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.002603/0.1734, allocations: 1.268 MB / 0.6364 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1744, allocations: 0.6918 MB / 0.6371 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.1745, allocations: 0 / 0.6371 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1756, allocations: 49.17 kB / 0.6371 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.084e-05/0.1756, allocations: 11.92 kB / 0.6371 GB, free: 12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.1756, allocations: 0 / 0.6371 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.1757, allocations: 8 kB / 0.6371 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1757, allocations: 0 / 0.6371 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.1757, allocations: 15.98 kB / 0.6372 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.1758, allocations: 11.92 kB / 0.6372 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1758, allocations: 0 / 0.6372 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.083e-05/0.1759, allocations: 4 kB / 0.6372 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003534/0.1794, allocations: 5.603 MB / 0.6426 GB, free: 6.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003131/0.1825, allocations: 4.182 MB / 0.6467 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.1894, allocations: 10.35 MB / 0.6568 GB, free: 7.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1895, allocations: 0 / 0.6568 GB, free: 7.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1895, allocations: 0 / 0.6568 GB, free: 7.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003064/0.1898, allocations: 0 / 0.6568 GB, free: 7.723 MB / 494.1 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.01732/0.2071, allocations: 11.99 MB / 0.6685 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2072, allocations: 12.03 kB / 0.6685 GB, free: 11.6 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.2089, allocations: 1.335 MB / 0.6699 GB, free: 10.24 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.2209, allocations: 9.086 MB / 0.6787 GB, free: 1.066 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.221, allocations: 384 / 0.6787 GB, free: 1.066 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.221, allocations: 384 / 0.6787 GB, free: 1.066 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2998/0.5208, allocations: 9.487 MB / 0.688 GB, free: 41.99 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5208, allocations: 3 kB / 0.688 GB, free: 41.99 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.5209, allocations: 0 / 0.688 GB, free: 41.99 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005559/0.5264, allocations: 4.38 MB / 0.6923 GB, free: 41.29 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.5461, allocations: 9.52 MB / 0.7016 GB, free: 39.6 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.5707, allocations: 16.25 MB / 0.7174 GB, free: 27.48 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/0.586, allocations: 10.16 MB / 0.7274 GB, free: 17.34 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05132/0.6373, allocations: 22.81 MB / 0.7496 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.6386, allocations: 294.8 kB / 0.7499 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.6389, allocations: 336.9 kB / 0.7502 GB, free: 9.879 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=2915): time 3.14e-05/0.639, allocations: 3.828 kB / 0.7502 GB, free: 9.879 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2915): time 0.06973/0.7087, allocations: 34.83 MB / 0.7843 GB, free: 7.066 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.709, allocations: 350.2 kB / 0.7846 GB, free: 6.711 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03305/0.7421, allocations: 19.61 MB / 0.8037 GB, free: 3.137 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00297/0.7451, allocations: 481.7 kB / 0.8042 GB, free: 2.66 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00344/0.7486, allocations: 1.8 MB / 0.806 GB, free: 0.8438 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.01393/0.7625, allocations: 10.33 MB / 0.816 GB, free: 6.367 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02676/0.7893, allocations: 9.644 MB / 0.8255 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7895, allocations: 309.4 kB / 0.8258 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03405/0.8235, allocations: 18.33 MB / 0.8437 GB, free: 10.06 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06501/0.8886, allocations: 53.64 MB / 0.896 GB, free: 2.602 MB / 0.6701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4444/1.333, allocations: 75.62 MB / 0.9699 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001274/1.334, allocations: 365.8 kB / 0.9702 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5830) (initialization): time 0.1035/1.438, allocations: 65.86 MB / 1.035 GB, free: 122.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.439, allocations: 0.5391 MB / 1.035 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002482/1.442, allocations: 1.246 MB / 1.036 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/1.443, allocations: 1.606 MB / 1.038 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03105/1.474, allocations: 10.95 MB / 1.049 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/1.476, allocations: 2.405 MB / 1.051 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02654/1.503, allocations: 2.985 MB / 1.054 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007699/1.51, allocations: 3.023 MB / 1.057 GB, free: 99.78 MB / 0.7169 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.01912/1.529, allocations: 9.868 MB / 1.066 GB, free: 89.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004639/1.534, allocations: 1.69 MB / 1.068 GB, free: 88.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/1.538, allocations: 1.977 MB / 1.07 GB, free: 86.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001268/1.538, allocations: 276 kB / 1.07 GB, free: 85.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001401/1.538, allocations: 2.391 kB / 1.07 GB, free: 85.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002923/1.539, allocations: 135.5 kB / 1.07 GB, free: 85.78 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.558, allocations: 14.73 MB / 1.085 GB, free: 71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001314/1.558, allocations: 0 / 1.085 GB, free: 71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01644/1.575, allocations: 4.447 MB / 1.089 GB, free: 66.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/1.575, allocations: 92 kB / 1.089 GB, free: 66.46 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004717/1.58, allocations: 456 kB / 1.09 GB, free: 66.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003707/1.58, allocations: 93.12 kB / 1.09 GB, free: 65.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.58, allocations: 0 / 1.09 GB, free: 65.92 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04252/1.623, allocations: 26.27 MB / 1.115 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006078/1.629, allocations: 2.927 MB / 1.118 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005336/1.634, allocations: 460 kB / 1.119 GB, free: 36.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008913/1.643, allocations: 456 kB / 1.119 GB, free: 35.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005512/1.649, allocations: 1.446 MB / 1.121 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005222/1.654, allocations: 0.6211 MB / 1.121 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.01986/1.674, allocations: 12.55 MB / 1.133 GB, free: 21.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.32e-07/1.674, allocations: 0 / 1.133 GB, free: 21.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.03113/1.705, allocations: 5.793 MB / 1.139 GB, free: 15.36 MB / 0.7169 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.003229/1.709, allocations: 0.8439 MB / 1.14 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.06598/1.775, allocations: 41.34 MB / 1.18 GB, free: 5.449 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.775, allocations: 6.234 kB / 1.18 GB, free: 5.445 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.02387/1.798, allocations: 12.85 MB / 1.193 GB, free: 8.621 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.011/1.809, allocations: 1.118 MB / 1.194 GB, free: 7.5 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4328/2.242, allocations: 63.14 MB / 1.256 GB, free: 239.2 MB / 0.7951 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01766/2.26, allocations: 11.42 MB / 1.267 GB, free: 238 MB / 0.7951 GB Notification: Performance of simCode: alias equations: time 0.03673/2.297, allocations: 18.78 MB / 1.285 GB, free: 232.7 MB / 0.7951 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007287/2.304, allocations: 1.258 MB / 1.286 GB, free: 232.7 MB / 0.7951 GB Notification: Performance of SimCode: time 1.944e-06/2.304, allocations: 0 / 1.286 GB, free: 232.7 MB / 0.7951 GB Notification: Performance of Templates: time 0.2118/2.516, allocations: 123.3 MB / 1.407 GB, free: 123.1 MB / 0.7951 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.makefile (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=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1)