Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 193.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 43.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.286, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002034/0.2881, allocations: 0.5856 MB / 325.4 MB, free: 1.484 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2901, allocations: 1.816 MB / 327.2 MB, free: 32 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.2901, allocations: 1.25 kB / 327.2 MB, free: 32 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.2918, allocations: 131.6 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.2919, allocations: 25.36 kB / 327.4 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.2921, allocations: 53.94 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.2922, allocations: 41.17 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.2922, allocations: 7.844 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.2923, allocations: 25.89 kB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.2924, allocations: 38.64 kB / 327.6 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.2924, allocations: 2.281 kB / 327.6 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.2925, allocations: 17.75 kB / 327.6 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2926, allocations: 51.97 kB / 327.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.2927, allocations: 21.55 kB / 327.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2928, allocations: 55.72 kB / 327.7 MB, free: 15.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2929, allocations: 4 kB / 327.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2929, allocations: 1.156 kB / 327.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2929, allocations: 0 / 327.7 MB, free: 15.75 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005401/0.2934, allocations: 395.7 kB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2935, allocations: 9.438 kB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.2935, allocations: 8.969 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.294, allocations: 322.1 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2941, allocations: 1.656 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.2941, allocations: 4.312 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2942, allocations: 81.64 kB / 328.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2943, allocations: 3.984 kB / 328.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2943, allocations: 1.312 kB / 328.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2943, allocations: 0 / 328.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.2943, allocations: 6.719 kB / 328.5 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.2947, allocations: 183.5 kB / 328.7 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/0.2947, allocations: 17.33 kB / 328.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.2948, allocations: 10.92 kB / 328.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.2948, allocations: 0 / 328.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.2948, allocations: 69.55 kB / 328.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.2948, allocations: 1.156 kB / 328.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.295, allocations: 47.94 kB / 328.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.2951, allocations: 160.4 kB / 329 MB, free: 14.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2953, allocations: 166.1 kB / 329.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2953, allocations: 25.7 kB / 329.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.2954, allocations: 91.72 kB / 329.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.2954, allocations: 5.344 kB / 329.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.2954, allocations: 18.78 kB / 329.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.2955, allocations: 321.8 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.2956, allocations: 2.562 kB / 329.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.2956, allocations: 46.28 kB / 329.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.2957, allocations: 12.2 kB / 329.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2957, allocations: 0 / 329.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.093e-05/0.2957, allocations: 54.94 kB / 329.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2958, allocations: 4.031 kB / 329.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2958, allocations: 4.875 kB / 329.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2958, allocations: 4.094 kB / 329.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.2958, allocations: 3.906 kB / 329.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2958, allocations: 0 / 329.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.2959, allocations: 6.188 kB / 329.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2959, allocations: 0.9688 kB / 329.8 MB, free: 13.67 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.706e-05/0.296, allocations: 125.6 kB / 329.9 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.296, allocations: 10.84 kB / 329.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.2961, allocations: 10.45 kB / 329.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2961, allocations: 1.094 kB / 329.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2961, allocations: 4 kB / 329.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2961, allocations: 3.938 kB / 329.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2962, allocations: 176 kB / 330.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2963, allocations: 1.438 kB / 330.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.2963, allocations: 5.188 kB / 330.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2963, allocations: 0 / 330.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2963, allocations: 1.375 kB / 330.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2963, allocations: 0 / 330.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2963, allocations: 3.938 kB / 330.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2964, allocations: 76.25 kB / 330.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.2965, allocations: 92.97 kB / 330.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2965, allocations: 1.469 kB / 330.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.2966, allocations: 2.719 kB / 330.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.2966, allocations: 0 / 330.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.2966, allocations: 1.438 kB / 330.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2967, allocations: 134 kB / 330.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2967, allocations: 96 / 330.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.2969, allocations: 18.97 kB / 330.4 MB, free: 13.02 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0003365/0.2973, allocations: 173.8 kB / 330.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.2974, allocations: 12.66 kB / 330.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2974, allocations: 0 / 330.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.2974, allocations: 3.938 kB / 330.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2976, allocations: 7.969 kB / 330.6 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.298, allocations: 269.5 kB / 330.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2983, allocations: 0.7101 MB / 331.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.668e-05/0.2984, allocations: 6.906 kB / 331.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.2984, allocations: 24.45 kB / 331.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2984, allocations: 0 / 331.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of Templates: time 0.004412/0.3028, allocations: 1.219 MB / 332.8 MB, free: 11.29 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1)