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.001139/0.001139, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001411/0.001412, allocations: 184.4 kB / 17.21 MB, free: 6.324 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.592/1.592, allocations: 205.4 MB / 223.4 MB, free: 5.801 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.0004526/0.0004526, allocations: 8 kB / 280.1 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2403, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0005143/0.2409, allocations: 215.4 kB / 327.9 MB, free: 1.262 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.2411, allocations: 54 kB / 328 MB, free: 1.227 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2412, allocations: 0 / 328 MB, free: 1.227 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.2412, allocations: 1 kB / 328 MB, free: 1.227 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.2413, allocations: 15.97 kB / 328 MB, free: 1.219 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.2415, allocations: 19.52 kB / 328 MB, free: 1.207 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.2415, allocations: 11.55 kB / 328 MB, free: 1.203 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.2416, allocations: 13.12 kB / 328 MB, free: 1.191 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.2416, allocations: 10.67 kB / 328.1 MB, free: 1.188 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2417, allocations: 23.53 kB / 328.1 MB, free: 1.176 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.2417, allocations: 1 kB / 328.1 MB, free: 1.176 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.2418, allocations: 9.156 kB / 328.1 MB, free: 1.172 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.2418, allocations: 7.328 kB / 328.1 MB, free: 1.168 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.2419, allocations: 27.7 kB / 328.1 MB, free: 1.137 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 7.703e-05/0.2419, allocations: 16.89 kB / 328.1 MB, free: 1.129 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.242, allocations: 0 / 328.1 MB, free: 1.129 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.242, allocations: 0 / 328.1 MB, free: 1.129 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.242, allocations: 5.25 kB / 328.1 MB, free: 1.125 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.0002669/0.2422, allocations: 361.9 kB / 328.5 MB, free: 0.7266 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2423, allocations: 8.75 kB / 328.5 MB, free: 0.7266 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.2423, allocations: 2.219 kB / 328.5 MB, free: 0.7266 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.519e-05/0.2424, allocations: 177.3 kB / 328.7 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2424, allocations: 1.062 kB / 328.7 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2425, allocations: 1.219 kB / 328.7 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2426, allocations: 62.53 kB / 328.7 MB, free: 484 kB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2426, allocations: 1.062 kB / 328.7 MB, free: 484 kB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2426, allocations: 5.188 kB / 328.7 MB, free: 480 kB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2426, allocations: 3.984 kB / 328.8 MB, free: 476 kB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.2427, allocations: 26.23 kB / 328.8 MB, free: 472 kB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.2428, allocations: 154.2 kB / 328.9 MB, free: 272 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.2429, allocations: 50.94 kB / 329 MB, free: 236 kB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.2429, allocations: 36.55 kB / 329 MB, free: 220 kB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.2429, allocations: 0 / 329 MB, free: 220 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.243, allocations: 66.69 kB / 329.1 MB, free: 140 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.243, allocations: 0 / 329.1 MB, free: 140 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002501/0.2432, allocations: 184.6 kB / 329.3 MB, free: 48 kB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.2433, allocations: 80.92 kB / 329.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.2434, allocations: 113.6 kB / 329.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2434, allocations: 25.7 kB / 329.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.2434, allocations: 88.12 kB / 329.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2435, allocations: 7.75 kB / 329.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.2435, allocations: 0 / 329.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.2436, allocations: 315.5 kB / 329.9 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.2436, allocations: 29.58 kB / 329.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.2437, allocations: 26.3 kB / 329.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.2437, allocations: 54.06 kB / 330 MB, free: 15.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2437, allocations: 0 / 330 MB, free: 15.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001525/0.2439, allocations: 155.9 kB / 330.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.2439, allocations: 32.52 kB / 330.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2439, allocations: 7.891 kB / 330.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2439, allocations: 0 / 330.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.244, allocations: 9.281 kB / 330.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.244, allocations: 3.984 kB / 330.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.244, allocations: 5.125 kB / 330.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.244, allocations: 2.562 kB / 330.2 MB, free: 15.21 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 (success1,success2,success3,success4) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/0.2441, allocations: 147.5 kB / 330.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.2441, allocations: 3.5 kB / 330.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.2441, allocations: 5.25 kB / 330.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2441, allocations: 5.266 kB / 330.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2442, allocations: 0 / 330.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2442, allocations: 4 kB / 330.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.709e-05/0.2443, allocations: 156.4 kB / 330.5 MB, free: 14.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2443, allocations: 1.062 kB / 330.5 MB, free: 14.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.2443, allocations: 0 / 330.5 MB, free: 14.85 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2443, allocations: 5.297 kB / 330.5 MB, free: 14.85 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2443, allocations: 1.219 kB / 330.5 MB, free: 14.85 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2443, allocations: 1.406 kB / 330.5 MB, free: 14.85 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2443, allocations: 3.953 kB / 330.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.2445, allocations: 195.2 kB / 330.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.2446, allocations: 86.25 kB / 330.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2446, allocations: 2 kB / 330.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.2446, allocations: 1.406 kB / 330.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.2446, allocations: 5.641 kB / 330.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2446, allocations: 1.344 kB / 330.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.2447, allocations: 96.8 kB / 330.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2447, allocations: 0 / 330.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.2449, allocations: 9.406 kB / 330.9 MB, free: 14.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002873/0.2452, allocations: 138.2 kB / 331 MB, free: 14.41 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.2453, allocations: 130.1 kB / 331.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2454, allocations: 0 / 331.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.2454, allocations: 93.64 kB / 331.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2456, allocations: 3.812 kB / 331.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.2458, allocations: 146.9 kB / 331.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2461, allocations: 0.6846 MB / 332.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.523e-06/0.2461, allocations: 3.984 kB / 332.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-06/0.2461, allocations: 7.438 kB / 332.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2461, allocations: 0 / 332.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of Templates: time 0.002563/0.2487, allocations: 0.6178 MB / 332.7 MB, free: 13.09 MB / 270.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)