Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00142/0.00142, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001556/0.001556, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.619/1.619, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.00123/0.00123, allocations: 51.92 kB / 280 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 46.64 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001698/0.1099, allocations: 486.6 kB / 327.1 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002/0.1101, allocations: 59.73 kB / 327.1 MB, free: 3.934 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.1101, allocations: 0 / 327.1 MB, free: 3.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.1101, allocations: 0 / 327.1 MB, free: 3.934 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.1102, allocations: 19.91 kB / 327.2 MB, free: 3.914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.1103, allocations: 15.98 kB / 327.2 MB, free: 3.898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.1104, allocations: 27.91 kB / 327.2 MB, free: 3.871 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.1105, allocations: 11.98 kB / 327.2 MB, free: 3.859 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.175e-05/0.1105, allocations: 12 kB / 327.2 MB, free: 3.848 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.1105, allocations: 23.95 kB / 327.3 MB, free: 3.824 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1106, allocations: 4 kB / 327.3 MB, free: 3.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.1106, allocations: 7.938 kB / 327.3 MB, free: 3.812 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.1107, allocations: 7.938 kB / 327.3 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.1107, allocations: 7.938 kB / 327.3 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.621e-05/0.1108, allocations: 23.91 kB / 327.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1108, allocations: 0 / 327.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1108, allocations: 4 kB / 327.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1108, allocations: 0 / 327.3 MB, free: 3.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003225/0.1111, allocations: 369.5 kB / 327.7 MB, free: 3.352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1112, allocations: 8.031 kB / 327.7 MB, free: 3.344 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.1112, allocations: 12.83 kB / 327.7 MB, free: 3.332 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.1113, allocations: 164.3 kB / 327.8 MB, free: 3.133 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1113, allocations: 4.375 kB / 327.9 MB, free: 3.129 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1113, allocations: 4.375 kB / 327.9 MB, free: 3.125 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1115, allocations: 62.23 kB / 327.9 MB, free: 3.059 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1115, allocations: 192 / 327.9 MB, free: 3.059 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1115, allocations: 3.938 kB / 327.9 MB, free: 3.055 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1115, allocations: 4 kB / 327.9 MB, free: 3.051 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.1115, allocations: 31.92 kB / 328 MB, free: 3.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.1117, allocations: 153.7 kB / 328.1 MB, free: 2.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.1117, allocations: 42.58 kB / 328.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.1118, allocations: 36.92 kB / 328.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-06/0.1118, allocations: 0 / 328.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1118, allocations: 64.25 kB / 328.2 MB, free: 2.652 MB / 270.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1118, allocations: 4 kB / 328.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002523/0.1121, allocations: 191.1 kB / 328.4 MB, free: 2.449 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1121, allocations: 81.11 kB / 328.5 MB, free: 2.352 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.1122, allocations: 109.8 kB / 328.6 MB, free: 2.234 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1123, allocations: 25.7 kB / 328.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.1123, allocations: 80.14 kB / 328.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1123, allocations: 15.84 kB / 328.7 MB, free: 2.105 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1124, allocations: 17.7 kB / 328.8 MB, free: 2.082 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1125, allocations: 326.8 kB / 329.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.1125, allocations: 23.98 kB / 329.1 MB, free: 1.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.1126, allocations: 27.98 kB / 329.1 MB, free: 1.703 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.1126, allocations: 116.2 kB / 329.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1127, allocations: 0 / 329.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.1128, allocations: 155.3 kB / 329.4 MB, free: 1.41 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.1128, allocations: 33.7 kB / 329.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1129, allocations: 3.938 kB / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1129, allocations: 0 / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-07/0.1129, allocations: 4.062 kB / 329.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1129, allocations: 0 / 329.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.1129, allocations: 3.984 kB / 329.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1129, allocations: 4 kB / 329.4 MB, free: 1.355 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.0001063/0.113, allocations: 143.5 kB / 329.6 MB, free: 1.199 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1131, allocations: 8.094 kB / 329.6 MB, free: 1.191 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.1131, allocations: 15.81 kB / 329.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1131, allocations: 0 / 329.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1131, allocations: 0 / 329.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1131, allocations: 8 kB / 329.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.216e-05/0.1132, allocations: 157.6 kB / 329.8 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1132, allocations: 0 / 329.8 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1132, allocations: 256 / 329.8 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1132, allocations: 4 kB / 329.8 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1132, allocations: 11.92 kB / 329.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1132, allocations: 0 / 329.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1132, allocations: 0 / 329.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1134, allocations: 194.7 kB / 330 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.1135, allocations: 89.03 kB / 330.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1135, allocations: 3.938 kB / 330.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.1135, allocations: 4 kB / 330.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-06/0.1136, allocations: 0 / 330.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1136, allocations: 4 kB / 330.1 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.1136, allocations: 91.27 kB / 330.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.1136, allocations: 0 / 330.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.1138, allocations: 11.94 kB / 330.2 MB, free: 0.5117 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.0002335/0.114, allocations: 130.2 kB / 330.3 MB, free: 392 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1142, allocations: 135.3 kB / 330.4 MB, free: 244 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1142, allocations: 0 / 330.4 MB, free: 244 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.1143, allocations: 95.39 kB / 330.5 MB, free: 136 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1144, allocations: 4 kB / 330.5 MB, free: 132 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.1147, allocations: 141.2 kB / 330.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.115, allocations: 0.6807 MB / 331.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.199e-06/0.115, allocations: 0 / 331.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.17e-05/0.115, allocations: 7.438 kB / 331.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.115, allocations: 0 / 331.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of Templates: time 0.002432/0.1174, allocations: 0.6813 MB / 332 MB, free: 14.57 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)