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.005482/0.005482, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.0013/0.0013, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001436/0.001436, allocations: 46.69 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 46.63 MB / 373.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.00158/0.1101, allocations: 483.2 kB / 373.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.1104, allocations: 55.8 kB / 373.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.1105, allocations: 4 kB / 373.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.1105, allocations: 0 / 373.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.1106, allocations: 15.97 kB / 373.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1108, allocations: 23.86 kB / 373.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.1109, allocations: 19.98 kB / 373.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1109, allocations: 3.984 kB / 373.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.111, allocations: 8 kB / 373.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.1111, allocations: 35.89 kB / 373.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1111, allocations: 0 / 373.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.1111, allocations: 8 kB / 373.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.1112, allocations: 8 kB / 373.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1112, allocations: 7.938 kB / 373.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1113, allocations: 27.91 kB / 373.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1114, allocations: 0 / 373.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1114, allocations: 0 / 373.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1114, allocations: 0 / 373.8 MB, free: 0.6523 MB / 302.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.0003846/0.1118, allocations: 369.1 kB / 374.2 MB, free: 240 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1118, allocations: 11.97 kB / 374.2 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1119, allocations: 4.938 kB / 374.2 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.112, allocations: 168.2 kB / 374.4 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.112, allocations: 8.375 kB / 374.4 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.112, allocations: 384 / 374.4 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1122, allocations: 58.3 kB / 374.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1122, allocations: 192 / 374.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1122, allocations: 7.938 kB / 374.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1122, allocations: 3.984 kB / 374.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.1123, allocations: 27.92 kB / 374.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.1124, allocations: 161.7 kB / 374.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.1125, allocations: 50.5 kB / 374.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.1125, allocations: 28.89 kB / 374.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.1126, allocations: 8.031 kB / 374.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.1126, allocations: 56.27 kB / 374.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1126, allocations: 0 / 374.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002849/0.1129, allocations: 187.2 kB / 375 MB, free: 15.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.113, allocations: 81.11 kB / 375 MB, free: 15.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.1131, allocations: 113.9 kB / 375.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1131, allocations: 25.7 kB / 375.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.1131, allocations: 88.14 kB / 375.3 MB, free: 15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1132, allocations: 11.83 kB / 375.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1132, allocations: 22.05 kB / 375.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1133, allocations: 314.8 kB / 375.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.1133, allocations: 23.98 kB / 375.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.1134, allocations: 31.98 kB / 375.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.553e-05/0.1135, allocations: 120.3 kB / 375.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1135, allocations: 0 / 375.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001435/0.1136, allocations: 159.1 kB / 375.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.1137, allocations: 37.7 kB / 376 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1137, allocations: 3.938 kB / 376 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1137, allocations: 0 / 376 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1137, allocations: 0 / 376 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1137, allocations: 3.984 kB / 376 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.1137, allocations: 4 kB / 376 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1138, allocations: 0 / 376 MB, free: 14.23 MB / 318.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.158e-05/0.1139, allocations: 143.6 kB / 376.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.1139, allocations: 7.984 kB / 376.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.1139, allocations: 15.78 kB / 376.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1139, allocations: 0 / 376.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1139, allocations: 0 / 376.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1139, allocations: 0 / 376.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.114, allocations: 157.7 kB / 376.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.114, allocations: 0 / 376.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.114, allocations: 0 / 376.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.114, allocations: 0 / 376.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.114, allocations: 7.922 kB / 376.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1141, allocations: 8.25 kB / 376.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1141, allocations: 0 / 376.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.1143, allocations: 194.6 kB / 376.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.1143, allocations: 85.28 kB / 376.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1143, allocations: 11.94 kB / 376.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.1144, allocations: 0 / 376.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.1144, allocations: 3.984 kB / 376.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1144, allocations: 8.031 kB / 376.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.1144, allocations: 87.27 kB / 376.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1144, allocations: 0 / 376.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.1146, allocations: 8 kB / 376.7 MB, free: 13.39 MB / 318.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.0002514/0.1149, allocations: 131 kB / 376.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1151, allocations: 131.4 kB / 377 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1151, allocations: 0 / 377 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.1152, allocations: 95.39 kB / 377 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1153, allocations: 7.938 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.1156, allocations: 148.8 kB / 377.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1159, allocations: 0.6807 MB / 377.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.82e-06/0.1159, allocations: 0 / 377.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.135e-05/0.1159, allocations: 7.438 kB / 377.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1159, allocations: 0 / 377.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Templates: time 0.002933/0.1188, allocations: 0.6809 MB / 378.6 MB, free: 11.43 MB / 318.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)