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.0008615/0.0008672, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001014/0.001015, allocations: 177.2 kB / 16.27 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.572/1.572, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0005389/0.0005389, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2921, allocations: 47.58 MB / 327 MB, free: 1.336 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0008108/0.2929, allocations: 221.2 kB / 327.2 MB, free: 1.172 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.2934, allocations: 63.45 kB / 327.3 MB, free: 1.129 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.2934, allocations: 0 / 327.3 MB, free: 1.129 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.2935, allocations: 1.25 kB / 327.3 MB, free: 1.129 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.2936, allocations: 11.86 kB / 327.3 MB, free: 1.125 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.2938, allocations: 27.16 kB / 327.3 MB, free: 1.105 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.2939, allocations: 19.86 kB / 327.4 MB, free: 1.098 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.294, allocations: 0 / 327.4 MB, free: 1.098 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.294, allocations: 11.95 kB / 327.4 MB, free: 1.094 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.2941, allocations: 22.34 kB / 327.4 MB, free: 1.086 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2942, allocations: 0 / 327.4 MB, free: 1.086 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.2942, allocations: 16.75 kB / 327.4 MB, free: 1.074 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.2943, allocations: 11.27 kB / 327.4 MB, free: 1.066 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.2944, allocations: 32.83 kB / 327.4 MB, free: 1.031 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2945, allocations: 28.25 kB / 327.5 MB, free: 1.016 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2945, allocations: 3.938 kB / 327.5 MB, free: 1.012 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2945, allocations: 0 / 327.5 MB, free: 1.012 MB / 254.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2946, allocations: 0 / 327.5 MB, free: 1.012 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.0003164/0.2949, allocations: 354.4 kB / 327.8 MB, free: 0.6172 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2949, allocations: 10.62 kB / 327.8 MB, free: 0.6172 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.295, allocations: 5.875 kB / 327.8 MB, free: 0.6133 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.2951, allocations: 174.8 kB / 328 MB, free: 416 kB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2951, allocations: 1.719 kB / 328 MB, free: 416 kB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2952, allocations: 1.688 kB / 328 MB, free: 416 kB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2953, allocations: 62.88 kB / 328.1 MB, free: 372 kB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2954, allocations: 1.312 kB / 328.1 MB, free: 372 kB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2954, allocations: 3.938 kB / 328.1 MB, free: 368 kB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2954, allocations: 1.156 kB / 328.1 MB, free: 368 kB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.257e-05/0.2955, allocations: 30.52 kB / 328.1 MB, free: 360 kB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.2956, allocations: 159 kB / 328.3 MB, free: 156 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.2957, allocations: 46.34 kB / 328.3 MB, free: 124 kB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.2958, allocations: 36.48 kB / 328.3 MB, free: 108 kB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.2958, allocations: 0 / 328.3 MB, free: 108 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.2959, allocations: 58.73 kB / 328.4 MB, free: 36 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.2959, allocations: 0 / 328.4 MB, free: 36 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004959/0.2964, allocations: 190.2 kB / 328.6 MB, free: 15.94 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.2965, allocations: 81.14 kB / 328.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2967, allocations: 116 kB / 328.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2967, allocations: 25.7 kB / 328.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.2968, allocations: 84.14 kB / 328.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.2969, allocations: 15.39 kB / 328.9 MB, free: 15.61 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.2969, allocations: 13.31 kB / 328.9 MB, free: 15.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2971, allocations: 314.8 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.2972, allocations: 24.45 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.2972, allocations: 26.14 kB / 329.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2974, allocations: 124.5 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2974, allocations: 1.031 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003017/0.2978, allocations: 155.6 kB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.2978, allocations: 32.36 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2979, allocations: 3.938 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2979, allocations: 5.266 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.2979, allocations: 0 / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2979, allocations: 0 / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.298, allocations: 2.094 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.298, allocations: 2 kB / 329.6 MB, free: 15.05 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 0.0001653/0.2982, allocations: 155.9 kB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.2982, allocations: 3.031 kB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.2983, allocations: 12.91 kB / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2983, allocations: 1.125 kB / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2983, allocations: 0 / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2983, allocations: 1.344 kB / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2985, allocations: 159.4 kB / 329.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2985, allocations: 1.188 kB / 329.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-06/0.2985, allocations: 3.984 kB / 329.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2986, allocations: 4 kB / 329.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2986, allocations: 6.625 kB / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2986, allocations: 0 / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2986, allocations: 1.375 kB / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.299, allocations: 199 kB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.2991, allocations: 78.27 kB / 330.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2991, allocations: 6.25 kB / 330.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.646e-05/0.2992, allocations: 1.406 kB / 330.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.2992, allocations: 5.625 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2992, allocations: 2.438 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.2993, allocations: 91.8 kB / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.665e-06/0.2994, allocations: 0 / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.2997, allocations: 12.81 kB / 330.3 MB, free: 14.35 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.0004105/0.3001, allocations: 122 kB / 330.4 MB, free: 14.24 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.3004, allocations: 139.1 kB / 330.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.3005, allocations: 0 / 330.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3006, allocations: 94.2 kB / 330.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3008, allocations: 8.094 kB / 330.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.3012, allocations: 149.9 kB / 330.8 MB, free: 13.94 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3016, allocations: 0.6807 MB / 331.5 MB, free: 13.24 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.044e-06/0.3017, allocations: 4.125 kB / 331.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.3017, allocations: 8.906 kB / 331.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3017, allocations: 0 / 331.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of Templates: time 0.004779/0.3065, allocations: 0.6391 MB / 332.2 MB, free: 12.91 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)