Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001312/0.001312, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.441/1.441, allocations: 205.1 MB / 222 MB, free: 4.727 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.001173/0.001173, allocations: 51.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.287, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.002132/0.2892, allocations: 0.5363 MB / 325.2 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.2896, allocations: 63.95 kB / 325.3 MB, free: 1.492 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2896, allocations: 1.469 kB / 325.3 MB, free: 1.492 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.2897, allocations: 0 / 325.3 MB, free: 1.492 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.2898, allocations: 15.97 kB / 325.3 MB, free: 1.484 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.29, allocations: 23.08 kB / 325.3 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.29, allocations: 22.91 kB / 325.3 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.2901, allocations: 1.375 kB / 325.3 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.2901, allocations: 11.36 kB / 325.3 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.2902, allocations: 22.58 kB / 325.4 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2903, allocations: 7.984 kB / 325.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.898e-05/0.2903, allocations: 9 kB / 325.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.2904, allocations: 12.05 kB / 325.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.2904, allocations: 6.688 kB / 325.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2905, allocations: 27.91 kB / 325.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2905, allocations: 0 / 325.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2905, allocations: 0 / 325.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.2906, allocations: 0 / 325.4 MB, free: 1.406 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003628/0.2909, allocations: 362.8 kB / 325.8 MB, free: 1.008 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.291, allocations: 9.344 kB / 325.8 MB, free: 1.008 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.291, allocations: 11.62 kB / 325.8 MB, free: 1 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.2911, allocations: 169.7 kB / 326 MB, free: 0.7969 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2911, allocations: 5.625 kB / 326 MB, free: 0.793 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.2912, allocations: 6.953 kB / 326 MB, free: 0.7891 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.2913, allocations: 54.47 kB / 326 MB, free: 0.7539 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2913, allocations: 192 / 326 MB, free: 0.7539 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2913, allocations: 5.281 kB / 326 MB, free: 0.75 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2914, allocations: 0 / 326 MB, free: 0.75 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.2914, allocations: 34.73 kB / 326.1 MB, free: 0.7383 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.2915, allocations: 163 kB / 326.2 MB, free: 0.5352 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.701e-05/0.2916, allocations: 42.61 kB / 326.3 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.2917, allocations: 36.58 kB / 326.3 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.2917, allocations: 0 / 326.3 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2917, allocations: 58.14 kB / 326.4 MB, free: 432 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.2917, allocations: 0 / 326.4 MB, free: 432 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.00033/0.2921, allocations: 192.3 kB / 326.5 MB, free: 332 kB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2921, allocations: 87.44 kB / 326.6 MB, free: 228 kB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.2922, allocations: 110.3 kB / 326.7 MB, free: 120 kB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.2922, allocations: 26.92 kB / 326.8 MB, free: 88 kB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.2923, allocations: 85.33 kB / 326.9 MB, free: 0 / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2923, allocations: 6.125 kB / 326.9 MB, free: 15.99 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2923, allocations: 23.16 kB / 326.9 MB, free: 15.97 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2924, allocations: 315.9 kB / 327.2 MB, free: 15.65 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.2925, allocations: 26.64 kB / 327.2 MB, free: 15.65 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.2925, allocations: 34.48 kB / 327.2 MB, free: 15.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.2926, allocations: 113.4 kB / 327.4 MB, free: 15.56 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2926, allocations: 0 / 327.4 MB, free: 15.56 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001703/0.2928, allocations: 155.4 kB / 327.5 MB, free: 15.47 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.2929, allocations: 35.11 kB / 327.5 MB, free: 15.44 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2929, allocations: 5.469 kB / 327.5 MB, free: 15.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2929, allocations: 0 / 327.5 MB, free: 15.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2929, allocations: 0 / 327.5 MB, free: 15.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2929, allocations: 1.375 kB / 327.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.2929, allocations: 1.375 kB / 327.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.2929, allocations: 5.531 kB / 327.6 MB, free: 15.43 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: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.208e-05/0.293, allocations: 143.7 kB / 327.7 MB, free: 15.28 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2931, allocations: 7.531 kB / 327.7 MB, free: 15.28 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.2931, allocations: 9 kB / 327.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2931, allocations: 5.328 kB / 327.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2931, allocations: 0 / 327.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2931, allocations: 0 / 327.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.2932, allocations: 156.7 kB / 327.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2932, allocations: 0 / 327.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2932, allocations: 1.719 kB / 327.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2933, allocations: 7.938 kB / 327.9 MB, free: 15.06 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2933, allocations: 6.875 kB / 327.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2933, allocations: 256 / 327.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2933, allocations: 3.984 kB / 327.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2935, allocations: 199.4 kB / 328.1 MB, free: 14.92 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.2936, allocations: 82.48 kB / 328.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.2936, allocations: 6.469 kB / 328.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.2936, allocations: 5.031 kB / 328.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.2936, allocations: 8.984 kB / 328.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2937, allocations: 2.844 kB / 328.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.2937, allocations: 83.78 kB / 328.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2937, allocations: 0 / 328.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.2939, allocations: 9.125 kB / 328.3 MB, free: 14.73 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002745/0.2942, allocations: 141.5 kB / 328.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.2944, allocations: 127.7 kB / 328.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2944, allocations: 0 / 328.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.2945, allocations: 98.06 kB / 328.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2946, allocations: 3.438 kB / 328.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.2949, allocations: 143.1 kB / 328.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.2951, allocations: 0.684 MB / 329.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.801e-06/0.2951, allocations: 1.062 kB / 329.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-06/0.2952, allocations: 7.438 kB / 329.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2952, allocations: 0 / 329.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of Templates: time 0.002844/0.298, allocations: 0.656 MB / 330.1 MB, free: 13.28 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)