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.000862/0.0008619, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006467/0.006467, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.594/1.594, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004833/0.0004834, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3042, allocations: 47.58 MB / 327 MB, free: 1.355 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009798/0.3052, allocations: 259.3 kB / 327.3 MB, free: 1.164 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3076, allocations: 1.81 MB / 329.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.3076, allocations: 4 kB / 329.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3094, allocations: 121.4 kB / 329.2 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.3095, allocations: 28.75 kB / 329.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3097, allocations: 38.91 kB / 329.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.3098, allocations: 51.28 kB / 329.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.3099, allocations: 6.672 kB / 329.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.3099, allocations: 17.95 kB / 329.3 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3101, allocations: 34.47 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3101, allocations: 2.844 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.3102, allocations: 24.45 kB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3103, allocations: 51.14 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.3103, allocations: 43.91 kB / 329.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3105, allocations: 58.86 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3105, allocations: 1.125 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3105, allocations: 0 / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3105, allocations: 4 kB / 329.6 MB, free: 15.42 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.0004624/0.311, allocations: 385 kB / 329.9 MB, free: 15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.311, allocations: 8.656 kB / 329.9 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3111, allocations: 9.25 kB / 330 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.3116, allocations: 319.5 kB / 330.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3116, allocations: 384 / 330.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3116, allocations: 1.438 kB / 330.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3118, allocations: 77.14 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3118, allocations: 1.25 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3118, allocations: 3.938 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3118, allocations: 1.219 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.3118, allocations: 10.17 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.3122, allocations: 174.2 kB / 330.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.3122, allocations: 21.8 kB / 330.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.3123, allocations: 14.95 kB / 330.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.3123, allocations: 1.156 kB / 330.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.3123, allocations: 65.19 kB / 330.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.3123, allocations: 0 / 330.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001564/0.3125, allocations: 41.58 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.3126, allocations: 155.3 kB / 330.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3128, allocations: 178 kB / 331 MB, free: 13.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3128, allocations: 25.7 kB / 331 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.3129, allocations: 92.39 kB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3129, allocations: 4.938 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.3129, allocations: 9.719 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.313, allocations: 320.8 kB / 331.4 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.3131, allocations: 7.062 kB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.3131, allocations: 43.69 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.3131, allocations: 14.45 kB / 331.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3132, allocations: 1.375 kB / 331.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.069e-05/0.3132, allocations: 53.69 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3133, allocations: 5.688 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3133, allocations: 0 / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3133, allocations: 0 / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.931e-05/0.3133, allocations: 7.812 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3133, allocations: 4.094 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/0.3134, allocations: 2.625 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.3134, allocations: 1.281 kB / 331.6 MB, free: 13.35 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 0.0001174/0.3135, allocations: 124.5 kB / 331.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.3136, allocations: 15.31 kB / 331.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3136, allocations: 15.36 kB / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3136, allocations: 0 / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3136, allocations: 0 / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3136, allocations: 5.156 kB / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3138, allocations: 175.8 kB / 331.9 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3138, allocations: 3.938 kB / 331.9 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.3139, allocations: 6.312 kB / 331.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3139, allocations: 0 / 331.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3139, allocations: 1.188 kB / 331.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3139, allocations: 0 / 331.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3139, allocations: 0 / 331.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.314, allocations: 77.16 kB / 332 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.3141, allocations: 98.09 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3141, allocations: 5.562 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.3142, allocations: 5.922 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.3142, allocations: 1.156 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.3142, allocations: 0 / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3143, allocations: 129 kB / 332.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3143, allocations: 0 / 332.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.3145, allocations: 16.03 kB / 332.2 MB, free: 12.7 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.0003747/0.3149, allocations: 176.7 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.315, allocations: 12.5 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.315, allocations: 1.062 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.315, allocations: 7.109 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.3152, allocations: 12 kB / 332.4 MB, free: 12.53 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3156, allocations: 271.7 kB / 332.7 MB, free: 12.31 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3159, allocations: 0.7127 MB / 333.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.316, allocations: 11.33 kB / 333.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.316, allocations: 12.94 kB / 333.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.316, allocations: 0 / 333.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of Templates: time 0.004099/0.3201, allocations: 1.187 MB / 334.6 MB, free: 10.96 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)