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.001611/0.001612, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 195.5 kB / 16.53 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.573/1.573, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001257/0.001257, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.002002/0.2562, allocations: 495.6 kB / 325.8 MB, free: 1.48 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.2565, allocations: 58.14 kB / 325.8 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.2565, allocations: 0 / 325.8 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.2566, allocations: 0 / 325.8 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.2567, allocations: 19.94 kB / 325.9 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2569, allocations: 20.05 kB / 325.9 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.257, allocations: 24.42 kB / 325.9 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.743e-05/0.2571, allocations: 5.453 kB / 325.9 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.2571, allocations: 12.19 kB / 325.9 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.2572, allocations: 35.42 kB / 325.9 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2573, allocations: 0 / 325.9 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.2573, allocations: 6.156 kB / 326 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.2574, allocations: 6.656 kB / 326 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.2574, allocations: 5.594 kB / 326 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2576, allocations: 27.09 kB / 326 MB, free: 1.355 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2576, allocations: 1.281 kB / 326 MB, free: 1.355 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2576, allocations: 0 / 326 MB, free: 1.355 MB / 254.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2576, allocations: 0 / 326 MB, free: 1.355 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.000317/0.2579, allocations: 367.4 kB / 326.4 MB, free: 0.9531 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.258, allocations: 12.86 kB / 326.4 MB, free: 0.9492 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.258, allocations: 7.031 kB / 326.4 MB, free: 0.9453 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.183e-05/0.2581, allocations: 166.4 kB / 326.5 MB, free: 0.7461 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2581, allocations: 1.625 kB / 326.5 MB, free: 0.7461 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.2581, allocations: 5.594 kB / 326.5 MB, free: 0.7422 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.2583, allocations: 63.83 kB / 326.6 MB, free: 0.6992 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2583, allocations: 192 / 326.6 MB, free: 0.6992 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2583, allocations: 9.156 kB / 326.6 MB, free: 0.6914 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2583, allocations: 4 kB / 326.6 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.2583, allocations: 31.16 kB / 326.6 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.2585, allocations: 153.8 kB / 326.8 MB, free: 496 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.2585, allocations: 46.58 kB / 326.8 MB, free: 464 kB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.2586, allocations: 28.64 kB / 326.9 MB, free: 456 kB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.2586, allocations: 1.531 kB / 326.9 MB, free: 456 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2586, allocations: 65.59 kB / 326.9 MB, free: 376 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2586, allocations: 4 kB / 326.9 MB, free: 372 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.000283/0.2589, allocations: 188.7 kB / 327.1 MB, free: 276 kB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.259, allocations: 78.36 kB / 327.2 MB, free: 180 kB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.259, allocations: 114.2 kB / 327.3 MB, free: 68 kB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.2591, allocations: 27.14 kB / 327.3 MB, free: 36 kB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.2591, allocations: 81.8 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.2592, allocations: 9 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.2592, allocations: 23.2 kB / 327.5 MB, free: 15.92 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2593, allocations: 317.7 kB / 327.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.2594, allocations: 29.98 kB / 327.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.2594, allocations: 24.77 kB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2595, allocations: 121.1 kB / 327.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2595, allocations: 0 / 327.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001768/0.2597, allocations: 151.7 kB / 328.1 MB, free: 15.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.2598, allocations: 32.7 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2598, allocations: 3.938 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2598, allocations: 1.156 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.2598, allocations: 4.062 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2598, allocations: 3.984 kB / 328.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.2598, allocations: 2.312 kB / 328.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2598, allocations: 2.344 kB / 328.1 MB, free: 15.38 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 9.856e-05/0.26, allocations: 144.1 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.26, allocations: 14.23 kB / 328.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.26, allocations: 14.16 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.26, allocations: 0 / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.26, allocations: 1.031 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.26, allocations: 4 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2601, allocations: 152.4 kB / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2601, allocations: 0 / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2602, allocations: 1.219 kB / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2602, allocations: 0 / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2602, allocations: 18.14 kB / 328.5 MB, free: 15 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2602, allocations: 5.062 kB / 328.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2602, allocations: 0 / 328.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2604, allocations: 191.8 kB / 328.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.2605, allocations: 86.25 kB / 328.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2605, allocations: 6.125 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.2605, allocations: 1.156 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.2605, allocations: 1 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2606, allocations: 6.078 kB / 328.8 MB, free: 14.76 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.2606, allocations: 91.92 kB / 328.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.274e-06/0.2606, allocations: 0 / 328.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.2608, allocations: 13.69 kB / 328.9 MB, free: 14.68 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.0003083/0.2611, allocations: 127.5 kB / 329 MB, free: 14.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.2613, allocations: 130.5 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2614, allocations: 0 / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.2614, allocations: 94.48 kB / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.2616, allocations: 3.562 kB / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.2619, allocations: 148.2 kB / 329.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2621, allocations: 0.6794 MB / 330 MB, free: 13.58 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.61e-06/0.2621, allocations: 1.125 kB / 330 MB, free: 13.58 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.2621, allocations: 7.438 kB / 330 MB, free: 13.57 MB / 270.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2621, allocations: 0 / 330 MB, free: 13.57 MB / 270.1 MB Notification: Performance of Templates: time 0.002897/0.265, allocations: 0.6791 MB / 330.7 MB, free: 13.23 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)