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.008679/0.008679, allocations: 1.437 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.1087/0.1087, allocations: 22.37 MB / 41.11 MB, free: 340 kB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 109.1 kB / 48.61 MB, free: 2.023 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 186.6 kB / 56.2 MB, free: 6.059 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.344/1.344, allocations: 222.9 MB / 286.5 MB, free: 1.191 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8496/0.8496, allocations: 127.8 MB / 471.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 129.3 kB / 0.5547 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1222, allocations: 82.36 MB / 0.6352 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.002742/0.125, allocations: 1.258 MB / 0.6364 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.126, allocations: 0.6763 MB / 0.6371 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.1261, allocations: 3.938 kB / 0.6371 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009527/0.1271, allocations: 55.67 kB / 0.6371 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/0.1271, allocations: 11.94 kB / 0.6371 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.1271, allocations: 0 / 0.6371 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.1272, allocations: 15.92 kB / 0.6371 GB, free: 9.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1272, allocations: 4 kB / 0.6371 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.1272, allocations: 4 kB / 0.6371 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.1273, allocations: 15.91 kB / 0.6372 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1273, allocations: 0 / 0.6372 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.1274, allocations: 8 kB / 0.6372 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003622/0.131, allocations: 5.6 MB / 0.6426 GB, free: 4.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.1341, allocations: 4.182 MB / 0.6467 GB, free: 84 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007296/0.1414, allocations: 10.34 MB / 0.6568 GB, free: 5.691 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.1414, allocations: 8 kB / 0.6568 GB, free: 5.684 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1414, allocations: 0 / 0.6568 GB, free: 5.684 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000223/0.1417, allocations: 0 / 0.6568 GB, free: 5.684 MB / 478.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.01619/0.1579, allocations: 11.98 MB / 0.6685 GB, free: 9.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1579, allocations: 12.02 kB / 0.6685 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.1593, allocations: 1.335 MB / 0.6698 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.1716, allocations: 9.09 MB / 0.6787 GB, free: 15.03 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1716, allocations: 384 / 0.6787 GB, free: 15.03 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1717, allocations: 4.375 kB / 0.6787 GB, free: 15.03 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007461/0.1791, allocations: 9.485 MB / 0.688 GB, free: 5.527 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1792, allocations: 192 / 0.688 GB, free: 5.527 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1792, allocations: 3.938 kB / 0.688 GB, free: 5.523 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003533/0.1827, allocations: 4.384 MB / 0.6923 GB, free: 1.133 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.1983, allocations: 9.516 MB / 0.7016 GB, free: 7.605 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.2208, allocations: 16.25 MB / 0.7174 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/0.2362, allocations: 10.16 MB / 0.7274 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04881/0.285, allocations: 22.81 MB / 0.7496 GB, free: 6.324 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/0.2856, allocations: 294.8 kB / 0.7499 GB, free: 6.035 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.2858, allocations: 333.4 kB / 0.7502 GB, free: 5.699 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2915): time 2.576e-05/0.2859, allocations: 0 / 0.7502 GB, free: 5.699 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2915): time 0.3273/0.6132, allocations: 34.84 MB / 0.7842 GB, free: 97.61 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.6134, allocations: 346.2 kB / 0.7846 GB, free: 97.25 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01796/0.6314, allocations: 19.62 MB / 0.8037 GB, free: 77.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007817/0.6322, allocations: 481.7 kB / 0.8042 GB, free: 77.22 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.634, allocations: 1.797 MB / 0.806 GB, free: 75.54 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00513/0.6391, allocations: 10.33 MB / 0.816 GB, free: 65.06 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01019/0.6493, allocations: 9.632 MB / 0.8254 GB, free: 55.41 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.6494, allocations: 311.5 kB / 0.8257 GB, free: 55.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02187/0.6713, allocations: 18.33 MB / 0.8436 GB, free: 36.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04393/0.7152, allocations: 53.63 MB / 0.896 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07967/0.7949, allocations: 75.63 MB / 0.9699 GB, free: 15.8 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009217/0.7959, allocations: 371.9 kB / 0.9702 GB, free: 15.43 MB / 0.7013 GB Notification: Performance of matching and sorting (n=5830) (initialization): time 0.3889/1.185, allocations: 65.86 MB / 1.035 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009489/1.186, allocations: 0.5397 MB / 1.035 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002119/1.188, allocations: 1.247 MB / 1.036 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/1.19, allocations: 1.599 MB / 1.038 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02843/1.218, allocations: 10.94 MB / 1.049 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/1.22, allocations: 2.403 MB / 1.051 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02337/1.243, allocations: 2.976 MB / 1.054 GB, free: 172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005122/1.249, allocations: 3.029 MB / 1.057 GB, free: 172 MB / 0.7325 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.01221/1.261, allocations: 9.862 MB / 1.066 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002362/1.263, allocations: 1.699 MB / 1.068 GB, free: 170.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/1.266, allocations: 1.98 MB / 1.07 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/1.266, allocations: 274.6 kB / 1.07 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/1.266, allocations: 0 / 1.07 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001205/1.266, allocations: 134.5 kB / 1.07 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/1.281, allocations: 14.73 MB / 1.085 GB, free: 168.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001271/1.281, allocations: 0 / 1.085 GB, free: 168.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01243/1.294, allocations: 4.452 MB / 1.089 GB, free: 166 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/1.294, allocations: 92 kB / 1.089 GB, free: 165.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000908/1.295, allocations: 454.1 kB / 1.09 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.8e-05/1.295, allocations: 100.6 kB / 1.09 GB, free: 165.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.295, allocations: 3.391 kB / 1.09 GB, free: 165.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02507/1.32, allocations: 26.27 MB / 1.115 GB, free: 140.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005447/1.325, allocations: 2.922 MB / 1.118 GB, free: 137.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002476/1.328, allocations: 456 kB / 1.119 GB, free: 136.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/1.331, allocations: 452 kB / 1.119 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/1.332, allocations: 1.45 MB / 1.121 GB, free: 135 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006828/1.333, allocations: 0.6244 MB / 1.121 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.01169/1.344, allocations: 12.56 MB / 1.133 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.344, allocations: 0 / 1.133 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.02579/1.37, allocations: 5.788 MB / 1.139 GB, free: 116.1 MB / 0.7325 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.001391/1.372, allocations: 0.8278 MB / 1.14 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0483/1.42, allocations: 41.35 MB / 1.18 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.42, allocations: 0 / 1.18 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/1.434, allocations: 12.86 MB / 1.193 GB, free: 62.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/1.44, allocations: 1.114 MB / 1.194 GB, free: 60.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06989/1.51, allocations: 63.13 MB / 1.256 GB, free: 13.77 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01504/1.525, allocations: 11.41 MB / 1.267 GB, free: 2.309 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.03402/1.559, allocations: 18.78 MB / 1.285 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004114/1.563, allocations: 1.253 MB / 1.286 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of SimCode: time 1.062e-06/1.563, allocations: 0 / 1.286 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Templates: time 1.307/2.87, allocations: 123.3 MB / 1.407 GB, free: 196.9 MB / 0.795 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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1)