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.002065/0.002064, allocations: 109.5 kB / 16.51 MB, free: 6.715 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.001983/0.001983, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.489/1.489, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001124/0.001124, allocations: 43.94 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1198, allocations: 46.62 MB / 325.9 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001839/0.1217, allocations: 0.5463 MB / 326.5 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.122, allocations: 57.2 kB / 326.5 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1221, allocations: 0 / 326.5 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.1221, allocations: 0 / 326.5 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.1222, allocations: 15.97 kB / 326.6 MB, free: 4.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1224, allocations: 23.92 kB / 326.6 MB, free: 4.266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.1224, allocations: 23.98 kB / 326.6 MB, free: 4.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.1225, allocations: 0 / 326.6 MB, free: 4.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.1225, allocations: 15.97 kB / 326.6 MB, free: 4.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.1226, allocations: 19.92 kB / 326.6 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1226, allocations: 4 kB / 326.6 MB, free: 4.203 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.1227, allocations: 8 kB / 326.7 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1227, allocations: 7.984 kB / 326.7 MB, free: 4.188 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1228, allocations: 7.938 kB / 326.7 MB, free: 4.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.287e-05/0.1229, allocations: 23.91 kB / 326.7 MB, free: 4.156 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1229, allocations: 0 / 326.7 MB, free: 4.156 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1229, allocations: 11.94 kB / 326.7 MB, free: 4.145 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1229, allocations: 0 / 326.7 MB, free: 4.145 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.0004089/0.1233, allocations: 357.5 kB / 327.1 MB, free: 3.738 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1233, allocations: 8.031 kB / 327.1 MB, free: 3.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.1234, allocations: 12.84 kB / 327.1 MB, free: 3.719 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1235, allocations: 168.3 kB / 327.2 MB, free: 3.516 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1235, allocations: 384 / 327.2 MB, free: 3.516 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1236, allocations: 4.375 kB / 327.2 MB, free: 3.512 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1237, allocations: 66.17 kB / 327.3 MB, free: 3.441 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1237, allocations: 192 / 327.3 MB, free: 3.441 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1237, allocations: 3.938 kB / 327.3 MB, free: 3.438 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1237, allocations: 0 / 327.3 MB, free: 3.438 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.1238, allocations: 31.98 kB / 327.3 MB, free: 3.406 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1239, allocations: 153.7 kB / 327.5 MB, free: 3.207 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.124, allocations: 50.55 kB / 327.5 MB, free: 3.148 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.1241, allocations: 36.92 kB / 327.6 MB, free: 3.109 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1241, allocations: 4 kB / 327.6 MB, free: 3.105 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.1241, allocations: 64.2 kB / 327.6 MB, free: 3.027 MB / 270.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1241, allocations: 0 / 327.6 MB, free: 3.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003122/0.1245, allocations: 187.2 kB / 327.8 MB, free: 2.832 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.1245, allocations: 85.09 kB / 327.9 MB, free: 2.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.1246, allocations: 109.8 kB / 328 MB, free: 2.613 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1247, allocations: 25.7 kB / 328 MB, free: 2.582 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.1247, allocations: 92.12 kB / 328.1 MB, free: 2.488 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1247, allocations: 11.94 kB / 328.1 MB, free: 2.477 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.1248, allocations: 13.72 kB / 328.2 MB, free: 2.457 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1249, allocations: 322.8 kB / 328.5 MB, free: 2.133 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.125, allocations: 23.98 kB / 328.5 MB, free: 2.109 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.125, allocations: 31.92 kB / 328.5 MB, free: 2.078 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.1251, allocations: 116.2 kB / 328.6 MB, free: 1.949 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1251, allocations: 0 / 328.6 MB, free: 1.949 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001561/0.1253, allocations: 151.3 kB / 328.8 MB, free: 1.789 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.1253, allocations: 33.7 kB / 328.8 MB, free: 1.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1253, allocations: 8 kB / 328.8 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1253, allocations: 0 / 328.8 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1254, allocations: 0 / 328.8 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1254, allocations: 0 / 328.8 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.1254, allocations: 0 / 328.8 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1254, allocations: 8 kB / 328.8 MB, free: 1.734 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.0001073/0.1255, allocations: 143.5 kB / 329 MB, free: 1.578 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.1255, allocations: 7.906 kB / 329 MB, free: 1.57 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.1256, allocations: 7.844 kB / 329 MB, free: 1.559 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1256, allocations: 15.86 kB / 329 MB, free: 1.543 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1256, allocations: 0 / 329 MB, free: 1.543 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1256, allocations: 4 kB / 329 MB, free: 1.539 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1257, allocations: 157.6 kB / 329.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1257, allocations: 0 / 329.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.1257, allocations: 0 / 329.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1257, allocations: 4 kB / 329.2 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1258, allocations: 3.938 kB / 329.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1258, allocations: 4.188 kB / 329.2 MB, free: 1.324 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1258, allocations: 4 kB / 329.2 MB, free: 1.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.126, allocations: 203 kB / 329.4 MB, free: 1.098 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.126, allocations: 81.02 kB / 329.5 MB, free: 1 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1261, allocations: 3.938 kB / 329.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.1261, allocations: 4 kB / 329.5 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1261, allocations: 3.984 kB / 329.5 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1261, allocations: 8 kB / 329.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.1262, allocations: 83.28 kB / 329.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 329.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.1264, allocations: 12.03 kB / 329.6 MB, free: 0.8867 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.0002798/0.1267, allocations: 122.5 kB / 329.7 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1268, allocations: 127.4 kB / 329.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1269, allocations: 0 / 329.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.1269, allocations: 99.38 kB / 329.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.1271, allocations: 12.06 kB / 329.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1274, allocations: 146.7 kB / 330.1 MB, free: 344 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1276, allocations: 0.6809 MB / 330.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.785e-06/0.1277, allocations: 0 / 330.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-06/0.1277, allocations: 11.38 kB / 330.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1277, allocations: 0 / 330.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Templates: time 0.003205/0.1309, allocations: 0.6541 MB / 331.4 MB, free: 14.96 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)